You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found another way how to work with Spark in Sagemaker
But found the local_pyspark_example.ipynb in Sample Notebooks Sagemaker Processing chapter.
And there they propose to solve the issue as:
If you see an exception in running the cell above similar to this - Exception: Java gateway process exited before sending the driver its port number, restart your JupyterServer app to make sure you're on the latest version of Studio.
If you are running this notebook in a SageMaker Studio notebook, run the above cell as-is. If you are running on a SageMaker notebook instance, replace com.amazonaws.auth.ContainerCredentialsProvider with com.amazonaws.auth.InstanceProfileCredentialsProvider.
System Information
Describe the problem
Sagemaker throws the exception as below while running notebook in a VPC
Java gateway process exited before sending its port number.
The same spark code works fine in the notebook running without VPC using conda python3 kernel.
The text was updated successfully, but these errors were encountered: