I am getting the following error when I try to run these lines in JupyterHub. Any help would be appreciated. sc = pyspark.SparkContext() spark = pyspark.sql.SparkSession(sc) RuntimeError: Java gateway process exited before sending its port number Former User of DNAx Community_11 29 November 2023 00:00 2 comments Comments 2 comments Sort by Date Votes Ondrej Klempir DNAnexus Team 30 November 2023 13:01 Are you using Spark based JupyterLab? 0 Former User of DNAx Community_11 30 November 2023 13:15 I could not figure out why I was getting this error, but I used this tutorial here which does not use SparkContext and that solved my problem. Thanks anyway. OpenBio/dx-toolkit/dx_extract_dataset_python.ipynb at master · dnanexus/OpenBio · GitHub 0 Please sign in to leave a comment.
Comments
2 comments
Are you using Spark based JupyterLab?
I could not figure out why I was getting this error, but I used this tutorial here which does not use SparkContext and that solved my problem. Thanks anyway. OpenBio/dx-toolkit/dx_extract_dataset_python.ipynb at master · dnanexus/OpenBio · GitHub
Please sign in to leave a comment.