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..1daa4745 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 Trino endpoint 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.