Launching notebooks
Launch a notebook that you added to an instance group for browser-based data analysis.
Before you begin
- You must be a cluster or consumer administrator, consumer user, or have the Spark Applications Submit permission to launch notebooks.
- Your user account must be assigned to the notebook as the owner or as a collaborator. For more information, see Assigning notebooks to owners.
About this task
When you start an instance group that is associated with notebooks, any notebooks assigned to users are started. You can also start notebooks independent of the instance group start operation.
Once a notebook service is started, you can launch a notebook to open the notebook service instance.
If monitoring is enabled for the notebook and if SSL is enabled in your cluster (default), you might see a blank screen if your browser's settings block insecure content. To properly display the notebook, update your browser's settings to enable insecure content. Check your browser documentation for details. Monitoring is not supported for Jupyter notebooks.
Based on your permissions, you can launch notebooks from the My Notebooks (or My Notebooks & Applications) page and the Instance Groups page. For a list of permissions required to launch notebooks from the Instance Groups page, see Permission list.
Procedure
What to do next
pysparkshell. You can rename
the SparkContext by adding the following commands in each created note of a
notebook; the value of appName is the name that you want to set for the
SparkContext:
sc.stop()
sc = SparkContext(appName="Userdefinedsc")