Files
doc-exports/docs/dataartsstudio/umn/dataartsstudio_01_0085.html
chenxiaoxiong f9e2808b7c DataArts UMN 20250810 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
2025-09-02 10:44:13 +00:00

35 lines
10 KiB
HTML

<a name="dataartsstudio_01_0085"></a><a name="dataartsstudio_01_0085"></a>
<h1 class="topictitle1">Managing CDM Jobs</h1>
<div id="body8662426"><div class="section" id="dataartsstudio_01_0085__en-us_topic_0108275436_s8a5e976c7db244cf9d43646190a8835e"><h4 class="sectiontitle">Scenario</h4><div class="p" id="dataartsstudio_01_0085__en-us_topic_0108275436_a7f2f04eed10048d59b5412cf9b2324fa">This section describes how to manage CDM table/file migration jobs in batches. The following operations are supported:<ul id="dataartsstudio_01_0085__en-us_topic_0108275436_ul32023598151340"><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li181131929651">Managing jobs by group</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li43774661151340">Running jobs in batches</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li748510303213">Deleting jobs in batches</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li15740805163128">Exporting jobs in batches</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li33213953163321">Importing jobs in batches</li></ul>
</div>
</div>
<div class="p" id="dataartsstudio_01_0085__en-us_topic_0108275436_p38908859144727">You can export and import jobs in batches in the following scenarios:<ul id="dataartsstudio_01_0085__en-us_topic_0108275436_ul5923496914485"><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li601982514485">Job migration between CDM clusters: You can migrate jobs from a cluster of an earlier version to a new version.</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li11745109144825">Job backup: You can stop or delete CDM clusters to reduce costs. In this case, you can export the job scripts in batches and save them, and create a cluster and import the job scripts if necessary.</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li48863046144831">Batch job creation: You can manually create a job and export the job configuration file in JSON format. Copy the content in the JSON file to the same file or new files, and then import the file/files to CDM to create jobs in batches.</li></ul>
</div>
<div class="section" id="dataartsstudio_01_0085__en-us_topic_0108275436_s52a7f1d85984447994754553e7226366"><h4 class="sectiontitle">Procedure</h4><ol id="dataartsstudio_01_0085__en-us_topic_0108275436_oa6fca52d46b041d38a1ef2b03aaed0af"><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li4336350316596"><span>Log in to the management console and choose <strong id="dataartsstudio_01_0085__en-us_topic_0108275436_en-us_topic_0108275443_b14912104751610">Service List</strong> &gt; <strong id="dataartsstudio_01_0085__en-us_topic_0108275436_en-us_topic_0108275443_b191210473160">Cloud Data Migration</strong>. In the left navigation pane, choose <span class="uicontrol" id="dataartsstudio_01_0085__en-us_topic_0108275436_en-us_topic_0108275443_uicontrol1912144717169"><b>Cluster Management</b></span>. Locate the target cluster and click <span class="uicontrol" id="dataartsstudio_01_0085__en-us_topic_0108275436_en-us_topic_0108275443_uicontrol7913547181615"><b>Job Management</b></span>.</span></li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li900549161046"><span>Click <span class="uicontrol" id="dataartsstudio_01_0085__en-us_topic_0108275436_uicontrol1028733505111834"><b>Table/File Migration</b></span>. The job list is displayed. You can perform the following batch operations:</span><p><ul id="dataartsstudio_01_0085__en-us_topic_0108275436_ul6651871616342"><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li833120533378"><strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b951411489125">Manage jobs by group.</strong><p id="dataartsstudio_01_0085__en-us_topic_0108275436_p20774124210386">CDM allows users to add, modify, search for, and delete job groups. When a group is deleted, all jobs in the group are deleted.</p>
<p id="dataartsstudio_01_0085__en-us_topic_0108275436_p167222108387">When creating a job, if jobs have been assigned to different groups, you can display, start, or export jobs by group.</p>
<div class="note" id="dataartsstudio_01_0085__en-us_topic_0108275436_note11543204734516"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dataartsstudio_01_0085__en-us_topic_0108275436_en-us_topic_0108275372_en-us_topic_0000001548476513_p1043181122213">Starting jobs by group will run all jobs in the group. If user isolation is enabled, starting jobs by group will still run all jobs in the group even if otherIAM users in the <span id="dataartsstudio_01_0085__en-us_topic_0108275436_en-us_topic_0108275372_text7133519142420">a cloud platform account</span> cannot view the jobs in the group. Therefore, you are not advised to start jobs by group in user isolation scenarios.</p>
</div></div>
</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li13157077141721"><strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b842352706111911">Run jobs in batches.</strong><p id="dataartsstudio_01_0085__en-us_topic_0108275436_p10945414141730">After selecting one or more jobs, click <span class="uicontrol" id="dataartsstudio_01_0085__en-us_topic_0108275436_uicontrol14152105518586"><b>Run</b></span> to start these jobs in batches.</p>
</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li44414239141749"><strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b842352706113115">Delete jobs in batches.</strong><p id="dataartsstudio_01_0085__en-us_topic_0108275436_p53144284141754">After selecting one or more jobs, click <span class="uicontrol" id="dataartsstudio_01_0085__en-us_topic_0108275436_uicontrol183843231112952_3"><b>Delete</b></span> to delete these jobs in batches.</p>
</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li130110214183"><strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b842352706113137">Export jobs in batches.</strong><p id="dataartsstudio_01_0085__en-us_topic_0108275436_p27533910127">Click <strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b168184711241">Export</strong>.</p>
<div class="fignone" id="dataartsstudio_01_0085__en-us_topic_0108275436_fig637116146149"><span class="figcap"><b>Figure 1 </b>Export</span><br><span><img id="dataartsstudio_01_0085__en-us_topic_0108275436_image435104316481" src="en-us_image_0000002234242960.png"></span></div>
<ul id="dataartsstudio_01_0085__en-us_topic_0108275436_ul1997916318137"><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li19979133117137"><strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b7757192017284">All jobs and links</strong>: Export all jobs and links at a time.</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li797915317136"><strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b195627522289">All jobs</strong>: Export all jobs at a time.</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li14979143118134"><strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b14731313291">All links</strong>: Export all links at a time.</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li397919312135"><strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b12663512915">Jobs by name</strong>: Select the jobs to export and click <strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b982212391304">OK</strong>.</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li7980143112138"><strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b1661112513303">All jobs by groups</strong>: Select the group to export and click <strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b126111515309">OK</strong>.</li></ul>
<p id="dataartsstudio_01_0085__en-us_topic_0108275436_p40745003141827">Exported jobs are stored in JSON files, which can be used as backups or imported to other clusters.</p>
<div class="note" id="dataartsstudio_01_0085__en-us_topic_0108275436_note1230320112402"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dataartsstudio_01_0085__en-us_topic_0108275436_p1474493154010">For security purposes, no link password is exported when jobs are exported. All passwords are replaced by <em id="dataartsstudio_01_0085__en-us_topic_0108275436_i1520519384322">Add password here</em>.</p>
</div></div>
</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li17598605142014"><strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b842352706114012">Import jobs in batches.</strong><div class="p" id="dataartsstudio_01_0085__en-us_topic_0108275436_p15356174513913">Click <span class="uicontrol" id="dataartsstudio_01_0085__en-us_topic_0108275436_uicontrol2260134716490"><b>Import</b></span> and select the import format (text file or JSON).<ul id="dataartsstudio_01_0085__en-us_topic_0108275436_ul19309113716920"><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li183099379920"><strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b152561275414">By JSON string</strong>: Job files to be imported must be in JSON format and the file size cannot exceed 1 MB. If the job files to be imported are exported from CDM, edit the JSON files before importing them to CDM. Replace <em id="dataartsstudio_01_0085__en-us_topic_0108275436_i5460222115510">Add password here</em> with the correct link passwords.</li><li id="dataartsstudio_01_0085__en-us_topic_0108275436_li53341291138"><strong id="dataartsstudio_01_0085__en-us_topic_0108275436_b11852105085412">By text file</strong>: This mode can be used when the local JSON files cannot be uploaded properly. Paste the JSON strings for the jobs into the text box.</li></ul>
</div>
<div class="note" id="dataartsstudio_01_0085__en-us_topic_0108275436_note5508454111915"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dataartsstudio_01_0085__en-us_topic_0108275436_p851111549199">Existing jobs cannot be overwritten during the import.</p>
</div></div>
</li></ul>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_01_0081.html">Creating a Job in a CDM Cluster</a></div>
</div>
</div>