Skip to content

Commit 1876bad

Browse files
committed
update jupyterhub and logging demo documentation
1 parent 67a2939 commit 1876bad

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed
113 KB
Loading

docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ There should be one parquet file containing taxi trip data from September 2020.
8787

8888
== JupyterHub
8989

90-
Have a look at the available Pods before logging in (operator pods are left out for clarity, you will see more Pods):
90+
Have a look at the available Pods before logging in:
9191

9292
[source,console]
9393
----
@@ -118,8 +118,7 @@ You should see the JupyterHub login page.
118118

119119
image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyter_hub_login.png[]
120120

121-
Log in with username `admin` and password `adminadmin`. There should appear a new pod called `jupyter-admin` (operator
122-
pods are left out for clarity, you will see more Pods):
121+
Log in with username `admin` and password `adminadmin`. There should appear a new pod called `jupyter-admin`:
123122

124123
[source,console]
125124
----
@@ -140,14 +139,14 @@ You should arrive at your workspace:
140139

141140
image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyter_hub_workspace.png[]
142141

143-
Now you can click on the `notebooks` folder on the left, open and run the contained file. Click on the double arrow (⏩️) to
142+
Now you can double-click on the `notebook` folder on the left, open and run the contained file. Click on the double arrow (⏩️) to
144143
execute the Python scripts.
145144

145+
image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyter_hub_run_notebook.png[]
146+
146147
You can also inspect the `hdfs` folder where the `core-site.xml` and `hdfs-site.xml` from
147148
the discovery `ConfigMap` of the HDFS cluster are located.
148149

149-
image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyter_hub_run_notebook.png[]
150-
151150
[NOTE]
152151
====
153152
The image defined for the spark job must contain all dependencies needed for that job to run. For pyspark jobs, this

docs/modules/demos/pages/logging.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ Log in with the username `admin` and password `adminadmin`.
8686

8787
NOTE: On first login, you will be presented with some options. Feel free to bypass them to get to the logs.
8888

89-
Click _Discovery_ in the menu to view the recent logs. If you do not see anything, increase the search window to greater than _Last 15 minutes_.
89+
Select the `Global` tenant to have access to the pre-configured `vector-*` index pattern.
90+
91+
image::logging/tenant.png[]
92+
93+
Click _Discover_ in the menu on the left to view the recent logs. If you do not see anything, increase the search window to greater than _Last 15 minutes_.
9094

9195
image::logging/logs.png[]
9296

0 commit comments

Comments
 (0)