This topic describes how to develop a notebook.
Prerequisites
A workspace and a notebook session are created. For more information, see Create a workspace and Manage notebook sessions.
Create a notebook
Go to the Data Development page
Log on to the E-MapReduce (EMR) console.
In the left-side navigation pane, choose
.On the Spark page, find the desired workspace and click the name of the workspace.
In the left-side navigation pane of the EMR Serverless Spark page, click Data Development.
Create a notebook.
On the Development tab, click Create.
In the Create dialog box, configure the Name parameter, choose
from the Type drop-down list, and then click OK.
Edit and run the notebook
In the upper-right corner of the configuration tab of the notebook, select a notebook session that you created and started from the Notebook Sessions drop-down list.
You can also click Create Notebook Session from the Notebook Sessions drop-down list to create a notebook session.
NoteA notebook session can be used only by a single notebook at a time. If no notebook session is available, you can detach a notebook from a notebook session in the notebook session drop-down list to make the notebook session available. You can also create a notebook session.
Enter Python statements in the cell.
Click Run All Cells or the icon in front of the cell to run the notebook.
Publish the notebook
Confirm that the job runs as expected. Then, in the upper-right corner of the configuration tab of the job, click Publish.
In the Publish dialog box, configure the Remarks parameter and click OK.