Skip to content

Commit 16d8d72

Browse files
committed
Refactor create_spark_dev function and update API request in startup.py
1 parent 960b527 commit 16d8d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/notebook/startup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def __init__(self, spark_session):
8585
self.history_server_base_url = "http://localhost:18080"
8686

8787
try:
88-
self.response = requests.get("http://localhost:5002/spark_app/config")
88+
self.response = requests.get("server:5002/spark_app/config")
8989
except requests.exceptions.RequestException as e:
9090
self.response = f"Error: {e}"
9191

0 commit comments

Comments
 (0)