From a9a3162cf8d50233d1e809da1783aaa72f8785d7 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Tue, 22 Jul 2025 11:22:54 +0200 Subject: [PATCH 1/5] fix: link picture to GH notebook --- .../jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc b/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc index 45036590..59c76e3b 100644 --- a/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc +++ b/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc @@ -115,7 +115,7 @@ image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_login.png[ Log in with token `adminadmin`. You should arrive at your workspace: -image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.png[] +image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.png[link:{url-repo}/blob/{page-origin-refname}/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb,linktarget=_blank,alt="JupyterLab Notebook"] Now you can double-click on the `notebook` folder on the left, open and run the contained file. Click on the double arrow (⏩️) to execute the Python scripts (click on the image above to go to the notebook file). From 8ec78e3622f225d236942cd28a7b6125c18918a4 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Tue, 22 Jul 2025 11:33:51 +0200 Subject: [PATCH 2/5] fix attributes --- .../jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc b/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc index 59c76e3b..5b5032f3 100644 --- a/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc +++ b/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc @@ -115,7 +115,7 @@ image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_login.png[ Log in with token `adminadmin`. You should arrive at your workspace: -image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.png[link:{url-repo}/blob/{page-origin-refname}/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb,linktarget=_blank,alt="JupyterLab Notebook"] +image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.png[link:{web_url}/blob/{refname}/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb,linktarget=_blank,alt="JupyterLab Notebook"] Now you can double-click on the `notebook` folder on the left, open and run the contained file. Click on the double arrow (⏩️) to execute the Python scripts (click on the image above to go to the notebook file). From eba81358a96cbe3a653891db493397d97fee9122 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Tue, 22 Jul 2025 11:41:04 +0200 Subject: [PATCH 3/5] another try --- .../jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc b/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc index 5b5032f3..d0f0fddd 100644 --- a/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc +++ b/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc @@ -115,7 +115,7 @@ image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_login.png[ Log in with token `adminadmin`. You should arrive at your workspace: -image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.png[link:{web_url}/blob/{refname}/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb,linktarget=_blank,alt="JupyterLab Notebook"] +image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.png[link:{page-origin-url}/blob/{page-origin-refname}/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb,linktarget=_blank,alt="JupyterLab Notebook"] Now you can double-click on the `notebook` folder on the left, open and run the contained file. Click on the double arrow (⏩️) to execute the Python scripts (click on the image above to go to the notebook file). From 877b458ce0910773d8482ceba209e1f19a4ef9b0 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Tue, 22 Jul 2025 11:57:27 +0200 Subject: [PATCH 4/5] fix typo --- .../jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc b/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc index d0f0fddd..1090ee75 100644 --- a/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc +++ b/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc @@ -115,7 +115,7 @@ image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_login.png[ Log in with token `adminadmin`. You should arrive at your workspace: -image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.png[link:{page-origin-url}/blob/{page-origin-refname}/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb,linktarget=_blank,alt="JupyterLab Notebook"] +image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.png[link={page-origin-url}/blob/{page-origin-refname}/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb,linktarget=_blank,alt="JupyterLab Notebook"] Now you can double-click on the `notebook` folder on the left, open and run the contained file. Click on the double arrow (⏩️) to execute the Python scripts (click on the image above to go to the notebook file). From ffa5ca380c3dd2b29f71308df33e6fc9e574a7b9 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Tue, 22 Jul 2025 12:03:42 +0200 Subject: [PATCH 5/5] replace built in attr with custom one (without .git suffix) --- .../jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc b/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc index 1090ee75..535dde2d 100644 --- a/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc +++ b/docs/modules/demos/pages/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.adoc @@ -12,6 +12,7 @@ :jupyter: https://jupyter.org :spark-connect: https://spark.apache.org/docs/latest/spark-connect-overview.html :spark-connect-client: https://github.com/stackabletech/docker-images/blob/main/spark-connect-client/Dockerfile +:repo-url: https://github.com/stackabletech/demos This demo showcases the integration between {jupyterlab}[JupyterLab], {spark-connect}[Spark Connect] and {hadoop}[Apache Hadoop] deployed on the Stackable Data Platform (SDP) Kubernetes cluster. The SDP makes this integration easy by publishing a discovery ConfigMap for the HDFS cluster and a Spark Connect service. @@ -115,7 +116,7 @@ image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_login.png[ Log in with token `adminadmin`. You should arrive at your workspace: -image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.png[link={page-origin-url}/blob/{page-origin-refname}/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb,linktarget=_blank,alt="JupyterLab Notebook"] +image::jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/jupyterlab_workspace.png[link={repo-url}/blob/{page-origin-refname}/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb,linktarget=_blank,alt="JupyterLab Notebook"] Now you can double-click on the `notebook` folder on the left, open and run the contained file. Click on the double arrow (⏩️) to execute the Python scripts (click on the image above to go to the notebook file).