From 22aa6e02ab7cde7f3db9c13c2823bbbcb0f4ab9e Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Wed, 29 Oct 2025 16:27:59 +0100 Subject: [PATCH 1/2] fix: update getting started script and docs --- .../getting_started/code/getting_started.sh | 2 +- .../code/getting_started.sh.j2 | 2 +- .../pages/getting_started/first_steps.adoc | 21 +++++++++++++++++-- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/docs/modules/trino/examples/getting_started/code/getting_started.sh b/docs/modules/trino/examples/getting_started/code/getting_started.sh index 35d2bbbb..da1756d8 100755 --- a/docs/modules/trino/examples/getting_started/code/getting_started.sh +++ b/docs/modules/trino/examples/getting_started/code/getting_started.sh @@ -77,7 +77,7 @@ sleep 5 echo "Start testing Trino" echo "Downloading Trino CLI tool as trino.jar" # tag::download-trino-cli[] -curl --output trino.jar https://repo.stackable.tech/repository/packages/trino-cli/trino-cli-476-executable.jar +curl --fail --output trino.jar https://repo.stackable.tech/repository/packages/trino-cli/trino-cli-477 # end::download-trino-cli[] echo "Run chmod +x for trino.jar" diff --git a/docs/modules/trino/examples/getting_started/code/getting_started.sh.j2 b/docs/modules/trino/examples/getting_started/code/getting_started.sh.j2 index 336f3dea..e13524a8 100755 --- a/docs/modules/trino/examples/getting_started/code/getting_started.sh.j2 +++ b/docs/modules/trino/examples/getting_started/code/getting_started.sh.j2 @@ -77,7 +77,7 @@ sleep 5 echo "Start testing Trino" echo "Downloading Trino CLI tool as trino.jar" # tag::download-trino-cli[] -curl --output trino.jar https://repo.stackable.tech/repository/packages/trino-cli/trino-cli-476-executable.jar +curl --fail --output trino.jar https://repo.stackable.tech/repository/packages/trino-cli/trino-cli-477 # end::download-trino-cli[] echo "Run chmod +x for trino.jar" diff --git a/docs/modules/trino/pages/getting_started/first_steps.adoc b/docs/modules/trino/pages/getting_started/first_steps.adoc index 759550f2..be203aa2 100644 --- a/docs/modules/trino/pages/getting_started/first_steps.adoc +++ b/docs/modules/trino/pages/getting_started/first_steps.adoc @@ -105,10 +105,27 @@ Congratulations, you set up your first Stackable Trino cluster successfully. === Access the Trino web interface -With the port-forward still active, you can connect to the Trino web interface. -Enter `https://localhost:8443/ui` in your browser and login with the username `admin`. +To open the Trino UI in your browser you either have to start a port forwarding process or use `stackablectl` to obtain the node URL. +Either way, log in with the `admin` user name. Since no authentication is enabled you do not need to enter a password. +With the port-forward still active, you can connect to the Trino web interfaceby pointing your browser to `https://localhost:8443/ui`. + +Using `stackablectl` you can obtain the direct node URL like this: + +[source,bash] +---- +❯ stackablectl stacklet list + +┌─────────┬──────────────┬───────────┬───────────────────────────────────────────────┬─────────────────────────────────┐ +│ PRODUCT ┆ NAME ┆ NAMESPACE ┆ ENDPOINTS ┆ CONDITIONS │ +╞═════════╪══════════════╪═══════════╪═══════════════════════════════════════════════╪═════════════════════════════════╡ +│ trino ┆ simple-trino ┆ default ┆ coordinator-https https://192.168.49.2:32129 ┆ Available, Reconciling, Running │ +└─────────┴──────────────┴───────────┴───────────────────────────────────────────────┴─────────────────────────────────┘---- +---- + +In this case, point your browser to `https://192.168.49.2:32129`. + WARNING: Your browser will probably show a security risk warning because it does not trust the self generated TLS certificates. Just ignore that and continue. From 6b80c2557fb5ffa9bdde4e7226330860b08108d1 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Thu, 30 Oct 2025 08:57:45 +0100 Subject: [PATCH 2/2] Update docs/modules/trino/pages/getting_started/first_steps.adoc Co-authored-by: Sebastian Bernauer --- docs/modules/trino/pages/getting_started/first_steps.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/trino/pages/getting_started/first_steps.adoc b/docs/modules/trino/pages/getting_started/first_steps.adoc index be203aa2..1daa4745 100644 --- a/docs/modules/trino/pages/getting_started/first_steps.adoc +++ b/docs/modules/trino/pages/getting_started/first_steps.adoc @@ -111,7 +111,7 @@ Since no authentication is enabled you do not need to enter a password. With the port-forward still active, you can connect to the Trino web interfaceby pointing your browser to `https://localhost:8443/ui`. -Using `stackablectl` you can obtain the direct node URL like this: +Using `stackablectl` you can obtain the direct Trino endpoint like this: [source,bash] ----