Creating a Notebook Job
You can create a notebook job in a runtime environment, develop and debug the job, and submit it to a project directory. You can also create a notebook job directly in a project directory.
The notebook jobs you create in a runtime environment are invisible to other users, and they cannot configure the jobs. After you submit a file to a project directory, other users can view, submit, execute, and configure scheduling of the jobs. For temporary data processing or exploratory analysis, you can choose not to submit the file to a project directory. If you want to use a notebook job you have developed and debugged in your runtime environment for a project, you need to submit the file to a project directory. For details about how to submit a file from a runtime environment directory to a project directory, see Submitting a Notebook from an Environment Directory to a Project Directory.
- Currently, the notebook function is restricted. To use it, contact customer service or technical support.
- Currently, this function is available only in the Jakarta region. It is subject to the ECS resources in the region.
- Currently, the notebook function is in the OBT phase of the first version. It is recommended that you use it for personal development and testing only.
- When notebook jobs are interconnected with MRS Spark, individual-based fine-grained data permission control is not supported.
Notes and Constraints
- A maximum of 5,000 jobs of all types can be configured in a project directory.
- The project directory (job tree) can store notebook jobs of up to 1 MB (including execution results).
Creating a Notebook Job in a Project Directory
- Log in to the DataArts Studio console.
For details, see Accessing the DataArts Studio Instance Console.
- On the DataArts Studio console, locate a workspace and click DataArts Factory.
- In the left navigation pane of the DataArts Factory console, choose .
- Create a notebook job using either of the following methods:
Method 1: Right-click the job directory tree and select New Notebook Job.
Method 2: On the DataArts Factory homepage, click Create Now or New Notebook Job shown in Figure 1.
- Enter a job name, select the directory of the job, and enter a job description.
The job name is case-insensitive.
The job name can contain only letters, digits, hyphens (-), underscores (_), and periods (.).
- Click OK. Access the notebook job development page and perform subsequent operations.
Creating a Notebook Job in a Runtime Environment
- Log in to the DataArts Studio console.
For details, see Accessing the DataArts Studio Instance Console.
- On the DataArts Studio console, locate a workspace and click DataArts Factory.
- In the left navigation pane of the DataArts Factory console, choose .
- On the data development page, click the notebook instance name or Individual Development Environment in the lower right corner. The names of all notebook instances are displayed. Click the name of a notebook instance. The notebook environment directory tree is displayed under the job directory tree in the middle of the DataArts Factory page.
Notebook environment directories are visible only to yourself.
- Right-click My Files and select New Notebook. In the displayed dialog box, enter the file name and select the path for storing the notebook.
- The file name can contain only letters, digits, hyphens (-), underscores (_), and periods (.). It can contain a maximum of 64 characters.
- The default Path is /My Files.
- Click
or right-click My Files to create a folder. Then, right-click the blank area in the folder and select New Notebook. - The folder name can contain only letters, digits, hyphens (-), and underscores (_). The folder name can contain a maximum of 64 characters.
- The file path and file name can contain a maximum of 768 characters in total.
Figure 2 Creating a notebook
- Click OK. The notebook development page is displayed.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot
