Skip to content

Commit 6539b83

Browse files
committed
Refactor create_spark_dev function in startup.py
1 parent 33d85ec commit 6539b83

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docker/notebook/startup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,10 @@ def _repr_html_(self):
102102
"""
103103

104104
def create_spark_dev():
105-
response = requests.get("http://localhost:5002/directory/work/user_0@gmail.com/")
106-
print(response.json())
107-
logging.info("Got response from server: %s", response.json())
105+
# response = requests.get("http://localhost:5002/directory/work/user_0@gmail.com/")
106+
# print(response.json())
107+
# logging.info("Got response from server: %s", response.json())
108+
logging.info("Creating Spark session")
108109

109110
spark = PawMarkSparkSession(SparkSession.builder \
110111
.appName("PySpark Example") \

0 commit comments

Comments
 (0)