Skip to content

Commit e4320f1

Browse files
razvansbernauer
andauthored
fix: update getting started script and docs (#811)
* fix: update getting started script and docs * Update docs/modules/trino/pages/getting_started/first_steps.adoc Co-authored-by: Sebastian Bernauer <[email protected]> --------- Co-authored-by: Sebastian Bernauer <[email protected]>
1 parent a633d6f commit e4320f1

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

docs/modules/trino/examples/getting_started/code/getting_started.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ sleep 5
7777
echo "Start testing Trino"
7878
echo "Downloading Trino CLI tool as trino.jar"
7979
# tag::download-trino-cli[]
80-
curl --output trino.jar https://repo.stackable.tech/repository/packages/trino-cli/trino-cli-476-executable.jar
80+
curl --fail --output trino.jar https://repo.stackable.tech/repository/packages/trino-cli/trino-cli-477
8181
# end::download-trino-cli[]
8282

8383
echo "Run chmod +x for trino.jar"

docs/modules/trino/examples/getting_started/code/getting_started.sh.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ sleep 5
7777
echo "Start testing Trino"
7878
echo "Downloading Trino CLI tool as trino.jar"
7979
# tag::download-trino-cli[]
80-
curl --output trino.jar https://repo.stackable.tech/repository/packages/trino-cli/trino-cli-476-executable.jar
80+
curl --fail --output trino.jar https://repo.stackable.tech/repository/packages/trino-cli/trino-cli-477
8181
# end::download-trino-cli[]
8282

8383
echo "Run chmod +x for trino.jar"

docs/modules/trino/pages/getting_started/first_steps.adoc

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,27 @@ Congratulations, you set up your first Stackable Trino cluster successfully.
105105

106106
=== Access the Trino web interface
107107

108-
With the port-forward still active, you can connect to the Trino web interface.
109-
Enter `https://localhost:8443/ui` in your browser and login with the username `admin`.
108+
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.
109+
Either way, log in with the `admin` user name.
110110
Since no authentication is enabled you do not need to enter a password.
111111

112+
With the port-forward still active, you can connect to the Trino web interfaceby pointing your browser to `https://localhost:8443/ui`.
113+
114+
Using `stackablectl` you can obtain the direct Trino endpoint like this:
115+
116+
[source,bash]
117+
----
118+
❯ stackablectl stacklet list
119+
120+
┌─────────┬──────────────┬───────────┬───────────────────────────────────────────────┬─────────────────────────────────┐
121+
│ PRODUCT ┆ NAME ┆ NAMESPACE ┆ ENDPOINTS ┆ CONDITIONS │
122+
╞═════════╪══════════════╪═══════════╪═══════════════════════════════════════════════╪═════════════════════════════════╡
123+
│ trino ┆ simple-trino ┆ default ┆ coordinator-https https://192.168.49.2:32129 ┆ Available, Reconciling, Running │
124+
└─────────┴──────────────┴───────────┴───────────────────────────────────────────────┴─────────────────────────────────┘----
125+
----
126+
127+
In this case, point your browser to `https://192.168.49.2:32129`.
128+
112129
WARNING: Your browser will probably show a security risk warning because it does not trust the self generated TLS certificates.
113130
Just ignore that and continue.
114131

0 commit comments

Comments
 (0)