Skip to content

Commit c96c967

Browse files
Revert "Pull in patch change"
This reverts commit 8524a31.
1 parent 6738f2d commit c96c967

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

build_artifacts/v2/v2.10/v2.10.1/Dockerfile-cpu.patch

Lines changed: 0 additions & 3 deletions
This file was deleted.

build_artifacts/v2/v2.10/v2.10.1/Dockerfile-gpu.patch

Lines changed: 0 additions & 3 deletions
This file was deleted.

build_artifacts/v2/v2.10/v2.10.1/dirs/etc/patches/smus/0002-sparkmagic-override-info-table.patch

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- /opt/conda/lib/python3.11/site-packages/sparkmagic/utils/utils.py
22
+++ /opt/conda/lib/python3.11/site-packages/sparkmagic/utils/utils.py
3-
@@ -94,15 +94,7 @@
3+
@@ -94,15 +94,12 @@
44

55

66
def get_sessions_info_html(info_sessions, current_session_id):
@@ -13,5 +13,12 @@
1313
- + "</table>"
1414
- )
1515
-
16-
+ html = ""
16+
+ current_session = next((session for session in info_sessions if session.id == current_session_id), None)
17+
+ spark_ui_url = current_session.get_spark_ui_url()
18+
+ driver_log_url = current_session.get_driver_log_url()
19+
+
20+
+ from sagemaker_studio_dataengineering_sessions.sagemaker_base_session_manager.common.debugging_utils import get_sessions_info_html
21+
+ html = get_sessions_info_html(current_session.get_app_id(), spark_ui_url, driver_log_url)
1722
return html
23+
24+

0 commit comments

Comments
 (0)