forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com> Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
302 lines
47 KiB
HTML
302 lines
47 KiB
HTML
<a name="dataartsstudio_01_0435"></a><a name="dataartsstudio_01_0435"></a>
|
|
|
|
<h1 class="topictitle1">Developing a Pipeline Job</h1>
|
|
<div id="body8662426"><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p16460513273">This section describes how to develop and configure a <span id="dataartsstudio_01_0435__text6918744172017">job</span>.</p>
|
|
<p id="dataartsstudio_01_0435__p1720101155116">For details about how to develop a batch processing job or real-time processing job in pipeline mode, see <a href="#dataartsstudio_01_0435__en-us_topic_0099797007_section89781119235">Compiling Job Nodes</a>, <a href="#dataartsstudio_01_0435__en-us_topic_0099797007_section188881389717">Configuring Basic Job Information</a>, <a href="#dataartsstudio_01_0435__en-us_topic_0099797007_section754991272419">Configuring Job Parameters</a>, and <a href="#dataartsstudio_01_0435__en-us_topic_0099797007_section1267113200395">Testing and Saving the Job</a>.</p>
|
|
<div class="section" id="dataartsstudio_01_0435__en-us_topic_0099797007_section536330414847"><h4 class="sectiontitle">Prerequisites</h4><ul id="dataartsstudio_01_0435__ul1836451315143"><li id="dataartsstudio_01_0435__li733054512146">A job has been created. For details, see <a href="dataartsstudio_01_0434.html">Creating a Job</a>.</li><li id="dataartsstudio_01_0435__li1933013935818">You have locked the job. Otherwise, you must click <strong id="dataartsstudio_01_0435__b14769125724211">Lock</strong> so that you can develop the job. A job you create or import is locked by you by default. For details, see the <a href="dataartsstudio_01_0913.html">lock function</a>.</li></ul>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_01_0435__en-us_topic_0099797007_section89781119235"><a name="dataartsstudio_01_0435__en-us_topic_0099797007_section89781119235"></a><a name="en-us_topic_0099797007_section89781119235"></a><h4 class="sectiontitle">Compiling Job Nodes</h4><p id="dataartsstudio_01_0435__p15911516122511">This part applies to batch processing jobs and real-time processing jobs in pipeline mode.</p>
|
|
<ol id="dataartsstudio_01_0435__ol528111918325"><li id="dataartsstudio_01_0435__li2848154165110">Log in to the <span id="dataartsstudio_01_0435__en-us_topic_0000001987511677_en-us_topic_0000001127311125_text5574448155719">DataArts Studio</span> console by following the instructions in <a href="dataartsstudio_01_0001.html">Accessing the DataArts Studio Instance Console</a>.</li><li id="dataartsstudio_01_0435__li10888120591">On the <span id="dataartsstudio_01_0435__en-us_topic_0181092879_text185611381448">DataArts Studio</span> console, locate a workspace and click <strong id="dataartsstudio_01_0435__en-us_topic_0181092879_b65382814249">DataArts Factory</strong>.</li><li id="dataartsstudio_01_0435__li82414287313">In the left navigation pane of DataArts Factory, choose <span class="menucascade" id="dataartsstudio_01_0435__en-us_topic_0181491853_en-us_topic_0099797006_menucascade12634646125010"><b><span class="uicontrol" id="dataartsstudio_01_0435__en-us_topic_0181491853_en-us_topic_0099797006_uicontrol1063494615015">Development</span></b> > <b><span class="uicontrol" id="dataartsstudio_01_0435__en-us_topic_0181491853_en-us_topic_0099797006_uicontrol14634104655019"><span id="dataartsstudio_01_0435__en-us_topic_0181491853_en-us_topic_0099797006_text126341046105013">Develop Job</span></span></b></span>.</li><li id="dataartsstudio_01_0435__li18298193327">In the job directory, double-click the name of a batch processing job or real-time processing job in pipeline mode to access the job development page.</li><li id="dataartsstudio_01_0435__li3291119143214">Drag a desired node to the canvas, move the mouse over the <span id="dataartsstudio_01_0435__en-us_topic_0099797007_text156231151434">node</span>, and select the <span><img id="dataartsstudio_01_0435__en-us_topic_0099797007_image1188884973117" src="en-us_image_0000002269117557.png"></span> icon and drag it to connect to another <span id="dataartsstudio_01_0435__en-us_topic_0099797007_text96260511831">node</span>.<div class="note" id="dataartsstudio_01_0435__en-us_topic_0099797007_note1662811511330"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p863055117320">It is recommended that each <span id="dataartsstudio_01_0435__en-us_topic_0099797007_text363320510319">job</span> contain a maximum of 200 <span id="dataartsstudio_01_0435__en-us_topic_0099797007_text1363417511232">node</span>s.</p>
|
|
</div></div>
|
|
<div class="fignone" id="dataartsstudio_01_0435__fig184288501820"><span class="figcap"><b>Figure 1 </b>Compiling a job</span><br><span><img id="dataartsstudio_01_0435__image169617274564" src="en-us_image_0000002234238200.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
</li><li id="dataartsstudio_01_0435__li1639214923411">Configure node functions. Right-click a node icon on the canvas and select a function as needed. <a href="#dataartsstudio_01_0435__en-us_topic_0099797007_table13918279378">Table 1</a> lists the available functions.
|
|
<div class="tablenoborder"><a name="dataartsstudio_01_0435__en-us_topic_0099797007_table13918279378"></a><a name="en-us_topic_0099797007_table13918279378"></a><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_01_0435__en-us_topic_0099797007_table13918279378" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Node functions</caption><thead align="left"><tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row94121276371"><th align="left" class="cellrowborder" valign="top" width="17.11%" id="mcps1.3.4.3.6.2.2.3.1.1"><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p174201272379">Function</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="82.89%" id="mcps1.3.4.3.6.2.2.3.1.2"><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p2426172753710">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row164333273374"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.4.3.6.2.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p1644016279371">Configure</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="82.89%" headers="mcps1.3.4.3.6.2.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p16448122720373">Goes to the <span class="wintitle" id="dataartsstudio_01_0435__en-us_topic_0099797007_wintitle1357422712468"><b>Node Property</b></span> page of the node.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row144581727133713"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.4.3.6.2.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p5465727193711">Delete</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="82.89%" headers="mcps1.3.4.3.6.2.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p89414775019">Deletes one or more nodes at the same time.</p>
|
|
<ul id="dataartsstudio_01_0435__en-us_topic_0099797007_ul426395635211"><li id="dataartsstudio_01_0435__en-us_topic_0099797007_li1226375611523">Deleting one node: Right-click the node icon in the canvas and choose <strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b92071213164614">Delete</strong> or press the <strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b1927771724610">Delete</strong> shortcut key.</li><li id="dataartsstudio_01_0435__en-us_topic_0099797007_li66270341531">Deleting multiple nodes: Click the icons of the nodes to be deleted in the canvas while holding on <strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b260714814489">Ctrl</strong>, right-click the blank area of the current job canvas, and choose <strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b4189103613537">Delete</strong> or press the <strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b1547718535118">Delete</strong> shortcut key.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row24771227163713"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.4.3.6.2.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p1548372717379">Copy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="82.89%" headers="mcps1.3.4.3.6.2.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p114216123615">Copies one or more nodes to any job.</p>
|
|
<ul id="dataartsstudio_01_0435__en-us_topic_0099797007_ul1063871653916"><li id="dataartsstudio_01_0435__en-us_topic_0099797007_li5638101619397">Single-node copy: You can either right-click the node icon in the canvas, choose <strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b1318720372318">Copy</strong>, and paste the node to a target location, or click the node icon in the canvas and press <strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b187510461839">Ctrl+C</strong> and <strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b20706765613">Ctrl+V</strong> to paste the node to a target location. The copied node carries the configuration information of the original node.</li><li id="dataartsstudio_01_0435__en-us_topic_0099797007_li1518174013416">Multi-node copy: Click the icons of the nodes to be copied in the canvas while holding on <strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b1074683195">Ctrl</strong>. Then you can either right-click the blank area of the canvas, choose <strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b11500175816228">Copy</strong>, and paste the nodes to a target location, or press <strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b10691125433219">Ctrl+C</strong> and <strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b5612817133616">Ctrl+V</strong> to paste the nodes to a target location. The copied node carries the configuration information of the original node, but does not contain the connection relationship between nodes.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row12496327163718"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.4.3.6.2.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p750320277372">Test Run</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="82.89%" headers="mcps1.3.4.3.6.2.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p8510327163720">Runs the node for a test.</p>
|
|
<div class="note" id="dataartsstudio_01_0435__note203921943175918"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0435__p1439217439591">You can view the test run logs of the job node by clicking <span class="parmname" id="dataartsstudio_01_0435__parmname1417545514818"><b>View Log</b></span>.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row1740895915200"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.4.3.6.2.2.3.1.1 "><p id="dataartsstudio_01_0435__p13408125920204">Test from Current Node</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="82.89%" headers="mcps1.3.4.3.6.2.2.3.1.2 "><p id="dataartsstudio_01_0435__p3408195932018">This option is available only for batch processing jobs. It tests the current and subsequent nodes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row962734162815"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.4.3.6.2.2.3.1.1 "><p id="dataartsstudio_01_0435__p186279472816">Add/Delete Connection</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="82.89%" headers="mcps1.3.4.3.6.2.2.3.1.2 "><p id="dataartsstudio_01_0435__p106271547281">Adds or deletes a connection between two nodes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row186271027173713"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.4.3.6.2.2.3.1.1 "><p id="dataartsstudio_01_0435__p78011420192912">Edit CDM Job</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="82.89%" headers="mcps1.3.4.3.6.2.2.3.1.2 "><p id="dataartsstudio_01_0435__p48013205299">This option is available only for CDM jobs. After selecting a CDM cluster and a job, you can go to the CDM job editing page to modify the job.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row9974915612"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.4.3.6.2.2.3.1.1 "><p id="dataartsstudio_01_0435__p141019498617">View Job Log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="82.89%" headers="mcps1.3.4.3.6.2.2.3.1.2 "><p id="dataartsstudio_01_0435__p41018491864">This option is available only for CDM jobs. When a CDM job is running, you can right-click the CDM job <span id="dataartsstudio_01_0435__text4914101615121">node</span> and select <strong id="dataartsstudio_01_0435__b11246111964919">View Job Log</strong> from the shortcut menu to go to the job monitoring page and view logs to help developers demarcate and locate job running exceptions.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row965792743711"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.4.3.6.2.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p96649278373">Edit Script</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="82.89%" headers="mcps1.3.4.3.6.2.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p1067192713714">This option is available only for the node associated with a script. Goes to the script editing page and edits the associated script. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row15842482920"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.4.3.6.2.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p8637132711372">Add Note</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="82.89%" headers="mcps1.3.4.3.6.2.2.3.1.2 "><p id="dataartsstudio_01_0435__p1224211591188">Adds a note to the <span id="dataartsstudio_01_0435__text192421159383">node</span>. Each <span id="dataartsstudio_01_0435__text192426598817">node</span> can have multiple notes.</p>
|
|
<p id="dataartsstudio_01_0435__en-us_topic_0099797007_p1164782753710">Creating, displaying, or hiding a note on a job node takes effect only for this node. Creating, displaying, or hiding a note on the top of the canvas takes effect for the entire job.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="dataartsstudio_01_0435__li1993975124720">(Optional) Configure line functions. Right-click the line connecting two nodes on the canvas. <strong id="dataartsstudio_01_0435__b77311401117">Delete</strong> and <strong id="dataartsstudio_01_0435__b127244451318">Set Condition</strong> are displayed. You can select them as needed.<ul id="dataartsstudio_01_0435__ul714140114817"><li id="dataartsstudio_01_0435__li7141190104814"><strong id="dataartsstudio_01_0435__b623805217311">Delete</strong>: Deletes the line connecting the nodes.</li><li id="dataartsstudio_01_0435__li1785317411216"><strong id="dataartsstudio_01_0435__b1086111352041">Set Condition</strong>: In the displayed dialog box, you can enter a ternary expression using the EL expression syntax. If the result of the ternary expression is <strong id="dataartsstudio_01_0435__b20708172761914">true</strong>, subsequent nodes will be connected. Otherwise, subsequent nodes will be skipped.<p id="dataartsstudio_01_0435__p32083250527">The following figure shows a typical ternary expression. If the execution result of the DQM node is <strong id="dataartsstudio_01_0435__b8123120172814">true</strong>, subsequent nodes will be connected. If the execution result is <strong id="dataartsstudio_01_0435__b253585202813">false</strong> and the <strong id="dataartsstudio_01_0435__b199325411292">Failure Policy</strong> is <strong id="dataartsstudio_01_0435__b195361521162912">Skip all subsequent nodes</strong>, the next node A and all nodes following node A will be skipped.</p>
|
|
<pre class="screen" id="dataartsstudio_01_0435__screen689235015593">#{(Job.getNodeStatus("DQM")) == "success" ? "true" : "false"}</pre>
|
|
<div class="fignone" id="dataartsstudio_01_0435__fig14675845152414"><span class="figcap"><b>Figure 2 </b>Set Condition</span><br><span><img id="dataartsstudio_01_0435__image1718502885312" src="en-us_image_0000002269117569.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
<p id="dataartsstudio_01_0435__p92511941817"></p>
|
|
<p id="dataartsstudio_01_0435__p74215225811">For details about the EL expression syntax, see <a href="dataartsstudio_01_0494.html">Expression Overview</a>. </p>
|
|
</li></ul>
|
|
</li><li id="dataartsstudio_01_0435__li1476173172915">Configure node properties Click a node in the canvas. On the displayed <span class="wintitle" id="dataartsstudio_01_0435__wintitle9655754184116"><b>Node Properties</b></span> page, configure node properties. For details, see <a href="dataartsstudio_01_0442.html">Node Overview</a>.</li></ol>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_01_0435__en-us_topic_0099797007_section188881389717"><a name="dataartsstudio_01_0435__en-us_topic_0099797007_section188881389717"></a><a name="en-us_topic_0099797007_section188881389717"></a><h4 class="sectiontitle">Configuring Basic Job Information</h4><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p1496183614392">After you configure the owner and priority for a job, you can search for the job by the owner and priority. The procedure is as follows:</p>
|
|
<p id="dataartsstudio_01_0435__en-us_topic_0099797007_p117569241286">Click the <strong id="dataartsstudio_01_0435__b72021298216">Basic Info</strong> tab on the right of the canvas to expand the configuration page and configure job parameters, as listed in <a href="#dataartsstudio_01_0435__en-us_topic_0099797007_table723651785">Table 2</a>.</p>
|
|
|
|
<div class="tablenoborder"><a name="dataartsstudio_01_0435__en-us_topic_0099797007_table723651785"></a><a name="en-us_topic_0099797007_table723651785"></a><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_01_0435__en-us_topic_0099797007_table723651785" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Basic job information</caption><thead align="left"><tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row53625586"><th align="left" class="cellrowborder" valign="top" width="16.3%" id="mcps1.3.5.4.2.3.1.1"><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p144111518820">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="83.7%" id="mcps1.3.5.4.2.3.1.2"><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p114495284">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row124865681"><td class="cellrowborder" valign="top" width="16.3%" headers="mcps1.3.5.4.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p251957816">Owner</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.7%" headers="mcps1.3.5.4.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p19551159812">An owner configured during job creation is automatically matched. This parameter value can be modified.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row53761191048"><td class="cellrowborder" valign="top" width="16.3%" headers="mcps1.3.5.4.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p83762019643">Executor</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.7%" headers="mcps1.3.5.4.2.3.1.2 "><p id="dataartsstudio_01_0435__p1687715635117">This parameter is available when <strong id="dataartsstudio_01_0435__b1597517458487">Scheduling Identities</strong> is set to <strong id="dataartsstudio_01_0435__b15106115794816">Yes</strong>. </p>
|
|
<p id="dataartsstudio_01_0435__en-us_topic_0099797007_p737741920412">User that executes the job. When you enter an executor, the job is executed by the executor. If the executor is left unspecified, the job is executed by the user who submitted the job for startup.</p>
|
|
<div class="note" id="dataartsstudio_01_0435__note165672261718"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0435__p162860248590">You can configure execution users only after you <span id="dataartsstudio_01_0435__text199891646175014">apply for the whitelist membership</span>. To enable it, contact <span id="dataartsstudio_01_0435__text16120155010504">customer service or technical support</span>.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row1241410054511"><td class="cellrowborder" valign="top" width="16.3%" headers="mcps1.3.5.4.2.3.1.1 "><p id="dataartsstudio_01_0435__p11415100184515">Job Agency</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.7%" headers="mcps1.3.5.4.2.3.1.2 "><p id="dataartsstudio_01_0435__p69698248561">This parameter is available when <strong id="dataartsstudio_01_0435__b96086313490">Scheduling Identities</strong> is set to <strong id="dataartsstudio_01_0435__b126097334914">Yes</strong>. </p>
|
|
<p id="dataartsstudio_01_0435__p1641520184510">After an agency is configured, the job interacts with other services as an agency during job execution.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row1657451284"><td class="cellrowborder" valign="top" width="16.3%" headers="mcps1.3.5.4.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p1961175381">Priority</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.7%" headers="mcps1.3.5.4.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p865251818">Priority configured during job creation is automatically matched. This parameter value can be modified.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row3112384478"><td class="cellrowborder" valign="top" width="16.3%" headers="mcps1.3.5.4.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p4121938174720">Execution Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.7%" headers="mcps1.3.5.4.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p512163844715">Timeout of the job instance. If this parameter is set to 0 or is not set, this parameter does not take effect. If the notification function is enabled for the job and the execution time of the job instance exceeds the preset value, the system sends a specified notification, and the job keeps running.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row106615555311"><td class="cellrowborder" valign="top" width="16.3%" headers="mcps1.3.5.4.2.3.1.1 "><p id="dataartsstudio_01_0435__p3662195512316">Exclude Waiting Time from Instance Timeout Duration</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.7%" headers="mcps1.3.5.4.2.3.1.2 "><p id="dataartsstudio_01_0435__p13324175911811">Whether to exclude the wait time from the instance execution timeout duration</p>
|
|
<p id="dataartsstudio_01_0435__p46621055834">If you select this option, the time to wait before an instance starts running is excluded from the timeout duration. You can modify this setting in <a href="dataartsstudio_01_04501.html#dataartsstudio_01_04501__section14959925164217">Default Configuration > Exclude Waiting Time from Instance Timeout Duration</a>.</p>
|
|
<p id="dataartsstudio_01_0435__p11770154612810">If you do not select this option, the time to wait before an instance starts running is included in the timeout duration.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row2671951686"><td class="cellrowborder" valign="top" width="16.3%" headers="mcps1.3.5.4.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p107116520814">Custom Parameter</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.7%" headers="mcps1.3.5.4.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p17761952813">Set the name and value of the parameter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row187556312426"><td class="cellrowborder" valign="top" width="16.3%" headers="mcps1.3.5.4.2.3.1.1 "><p id="dataartsstudio_01_0435__p4756143154216">Job Tag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.7%" headers="mcps1.3.5.4.2.3.1.2 "><p id="dataartsstudio_01_0435__p475617310426">Configure job tags to manage jobs by category.</p>
|
|
<p id="dataartsstudio_01_0435__p2488449194213">Click <span class="uicontrol" id="dataartsstudio_01_0435__uicontrol45900149432"><b>Add</b></span> to add a tag to the job. You can also select a tag configured in <a href="dataartsstudio_01_0532.html">Managing Job Tags</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row76106341013"><td class="cellrowborder" valign="top" width="16.3%" headers="mcps1.3.5.4.2.3.1.1 "><p id="dataartsstudio_01_0435__p46101833102">Job Description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.7%" headers="mcps1.3.5.4.2.3.1.2 "><p id="dataartsstudio_01_0435__p18610836104">Description of the job</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_01_0435__en-us_topic_0099797007_section754991272419"><a name="dataartsstudio_01_0435__en-us_topic_0099797007_section754991272419"></a><a name="en-us_topic_0099797007_section754991272419"></a><h4 class="sectiontitle">Configuring Job Parameters</h4><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p752169123915">Job parameters can be globally used in any node in jobs. The procedure is as follows:</p>
|
|
<p id="dataartsstudio_01_0435__en-us_topic_0099797007_p13608826132419">For batch and real-time processing jobs in pipeline mode: Click the blank area in the canvas and then the <strong id="dataartsstudio_01_0435__b868924320215">Parameter Setup</strong> tab on the right, and configure the parameters listed in <a href="#dataartsstudio_01_0435__en-us_topic_0099797007_table20701161192718">Table 3</a>.</p>
|
|
|
|
<div class="tablenoborder"><a name="dataartsstudio_01_0435__en-us_topic_0099797007_table20701161192718"></a><a name="en-us_topic_0099797007_table20701161192718"></a><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_01_0435__en-us_topic_0099797007_table20701161192718" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Job parameter setup</caption><thead align="left"><tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row4717717274"><th align="left" class="cellrowborder" valign="top" width="16.76%" id="mcps1.3.6.4.2.3.1.1"><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p147221618278">Function</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="83.24000000000001%" id="mcps1.3.6.4.2.3.1.2"><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p10726141162720">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row1296517379302"><td class="cellrowborder" colspan="2" valign="top" headers="mcps1.3.6.4.2.3.1.1 mcps1.3.6.4.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p1397534033012"><strong id="dataartsstudio_01_0435__b1572115304203">Variables</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row17309182714"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.4.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p473391192713">Add</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.4.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p273671112719">Click <span class="uicontrol" id="dataartsstudio_01_0435__en-us_topic_0099797007_uicontrol673811162720"><b>Add</b></span> and enter the variable parameter name and parameter value in the text boxes.</p>
|
|
<ul id="dataartsstudio_01_0435__en-us_topic_0099797007_ul187409117279"><li id="dataartsstudio_01_0435__en-us_topic_0099797007_li2743151172718">Parameter Name<p id="dataartsstudio_01_0435__en-us_topic_0099797007_p1674851162719"><a name="dataartsstudio_01_0435__en-us_topic_0099797007_li2743151172718"></a><a name="en-us_topic_0099797007_li2743151172718"></a>Only letters, numbers, periods (.), hyphens (-), and underscores (_) are allowed.</p>
|
|
</li><li id="dataartsstudio_01_0435__en-us_topic_0099797007_li12762111142715">Parameter Value<ul id="dataartsstudio_01_0435__en-us_topic_0099797007_ul157660122715"><li id="dataartsstudio_01_0435__en-us_topic_0099797007_li377818182715">The string type of parameter value is a character string, for example, <strong id="dataartsstudio_01_0435__b591423904911">str1</strong>.</li><li id="dataartsstudio_01_0435__en-us_topic_0099797007_li678810112717">The numeric type of parameter value is a number or operation expression.</li></ul>
|
|
</li></ul>
|
|
<p id="dataartsstudio_01_0435__en-us_topic_0099797007_p17940172714">After the parameter is configured, it is referenced in the format of <strong id="dataartsstudio_01_0435__b1199145384912">$</strong>{<em id="dataartsstudio_01_0435__i1399115536495">Parameter name</em>} in the <span id="dataartsstudio_01_0435__text49926539499">job</span>.</p>
|
|
<div class="note" id="dataartsstudio_01_0435__note437693154519"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dataartsstudio_01_0435__ul197091284103"><li id="dataartsstudio_01_0435__li13709172851011">If a job has two nodes, the first Rest Client node returns a body, and the second node uses the returned data. If the data contains more than 1,000,000 characters, it will be truncated. When configuring job parameters, ensure that the value of a job parameter contains no more than 1,000,000 characters.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row1555413219271"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.4.2.3.1.1 "><p id="dataartsstudio_01_0435__p344181110812">Edit Parameter Expression</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.4.2.3.1.2 "><p id="dataartsstudio_01_0435__p15901729135419">Click <span><img id="dataartsstudio_01_0435__image47411049125410" src="en-us_image_0000002269117573.png"></span> next to the parameter value text box. In the displayed dialog box, edit the parameter expression. For more expressions, see <a href="dataartsstudio_01_0494.html">Expression Overview</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row158016117275"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.4.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p1480620116278">Modify</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.4.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p68115114273">Change the parameter name or value in the corresponding text boxes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row1221191403315"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.4.2.3.1.1 "><p id="dataartsstudio_01_0435__p3211514153312">Mask</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.4.2.3.1.2 "><p id="dataartsstudio_01_0435__p92111914193315">If the parameter value is a key, click <span><img id="dataartsstudio_01_0435__image168804391333" src="en-us_image_0000002269117553.png"></span> to mask the value for security purposes.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row5824415277"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.4.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p12828171202719">Delete</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.4.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p28314112712">Click <span><img id="dataartsstudio_01_0435__image1742175211346" src="en-us_image_0000002269117565.png"></span> next to the parameter name and value text boxes to delete the job parameter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row12548195220309"><td class="cellrowborder" colspan="2" valign="top" headers="mcps1.3.6.4.2.3.1.1 mcps1.3.6.4.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p1159195517308"><strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b16779131819516">Constant Parameter</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row16650721143114"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.4.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p1458714273120">Add</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.4.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p2587142113113">Click <span class="uicontrol" id="dataartsstudio_01_0435__uicontrol177463933"><b>Add</b></span> and enter the constant parameter name and parameter value in the text boxes.</p>
|
|
<ul id="dataartsstudio_01_0435__en-us_topic_0099797007_ul16587642103115"><li id="dataartsstudio_01_0435__en-us_topic_0099797007_en-us_topic_0099797007_li2743151172718">Parameter name<p id="dataartsstudio_01_0435__en-us_topic_0099797007_en-us_topic_0099797007_p1674851162719"><a name="dataartsstudio_01_0435__en-us_topic_0099797007_en-us_topic_0099797007_li2743151172718"></a><a name="en-us_topic_0099797007_en-us_topic_0099797007_li2743151172718"></a>Only letters, numbers, periods (.), hyphens (-), and underscores (_) are allowed.</p>
|
|
</li><li id="dataartsstudio_01_0435__en-us_topic_0099797007_en-us_topic_0099797007_li12762111142715">Parameter value<ul id="dataartsstudio_01_0435__en-us_topic_0099797007_en-us_topic_0099797007_ul157660122715"><li id="dataartsstudio_01_0435__en-us_topic_0099797007_en-us_topic_0099797007_li377818182715">The string type of parameter value is a character string, for example, <strong id="dataartsstudio_01_0435__b12674105924914">str1</strong>.</li><li id="dataartsstudio_01_0435__en-us_topic_0099797007_en-us_topic_0099797007_li678810112717">The numeric type of parameter value is a number or operation expression.</li></ul>
|
|
</li></ul>
|
|
<p id="dataartsstudio_01_0435__en-us_topic_0099797007_p258818427319">After the parameter is configured, it is referenced in the format of <strong id="dataartsstudio_01_0435__b1739236505">$</strong>{<em id="dataartsstudio_01_0435__i203973115017">Parameter name</em>} in the <span id="dataartsstudio_01_0435__text739143115015">job</span>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row352925014211"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.4.2.3.1.1 "><p id="dataartsstudio_01_0435__p1955432162717">Edit Parameter Expression</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.4.2.3.1.2 "><p id="dataartsstudio_01_0435__p1028171911810">Click <span><img id="dataartsstudio_01_0435__image82811915819" src="en-us_image_0000002234078360.png"></span> next to the parameter value text box. In the displayed dialog box, edit the parameter expression. For more expressions, see <a href="dataartsstudio_01_0494.html">Expression Overview</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row11706164053115"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.4.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p658864203114">Modify</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.4.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p2588144211314">Modify the parameter name and parameter value in text boxes and save the modifications.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__en-us_topic_0099797007_row14421933193118"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.4.2.3.1.1 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p18589164217318">Delete</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.4.2.3.1.2 "><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p75897428311">Click <span><img id="dataartsstudio_01_0435__image6758230103520" src="en-us_image_0000002269117565.png"></span> next to the parameter name and value text boxes to delete the job parameter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row1815314328109"><td class="cellrowborder" colspan="2" valign="top" headers="mcps1.3.6.4.2.3.1.1 mcps1.3.6.4.2.3.1.2 "><p id="dataartsstudio_01_0435__p111481853131015"><strong id="dataartsstudio_01_0435__b46951148102020">Workspace Environment Variables</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row1111916226114"><td class="cellrowborder" colspan="2" valign="top" headers="mcps1.3.6.4.2.3.1.1 mcps1.3.6.4.2.3.1.2 "><p id="dataartsstudio_01_0435__p1510627151118">View the variables and constants that have been configured in the workspace.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="dataartsstudio_01_0435__p1323193822219">Click the <strong id="dataartsstudio_01_0435__b15412058105712">Parameter Preview</strong> tab and configure the parameters listed in <a href="#dataartsstudio_01_0435__table1036167182419">Table 4</a>.</p>
|
|
<div class="note" id="dataartsstudio_01_0435__note77963519481"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dataartsstudio_01_0435__p1555939204812">The script parameters of the following types of operators can be previewed: MRS Flink Job, DLI Flink Job, DLI SQL, DWS SQL, MRS HetuEngine, MRS ClickHouse SQL, MRS Hive SQL, MRS Impala SQL, MRS Presto SQL, RDS SQL, DORIS SQL, and MRS Spark SQL.</p>
|
|
</div></div>
|
|
|
|
<div class="tablenoborder"><a name="dataartsstudio_01_0435__table1036167182419"></a><a name="table1036167182419"></a><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_01_0435__table1036167182419" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Job parameter preview</caption><thead align="left"><tr id="dataartsstudio_01_0435__row1361575245"><th align="left" class="cellrowborder" valign="top" width="16.76%" id="mcps1.3.6.7.2.3.1.1"><p id="dataartsstudio_01_0435__p536116710241">Function</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="83.24000000000001%" id="mcps1.3.6.7.2.3.1.2"><p id="dataartsstudio_01_0435__p43615712411">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dataartsstudio_01_0435__row1361579243"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.7.2.3.1.1 "><p id="dataartsstudio_01_0435__p1036112714242">Current Time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.7.2.3.1.2 "><p id="dataartsstudio_01_0435__p1327182018250">This parameter is displayed only when <strong id="dataartsstudio_01_0435__b346214252134">Scheduling Type</strong> is set to <strong id="dataartsstudio_01_0435__b539242151314">Run once</strong>. The default value is the current time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row1519314183119"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.7.2.3.1.1 "><p id="dataartsstudio_01_0435__p121931610313">Event Triggering Time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.7.2.3.1.2 "><p id="dataartsstudio_01_0435__p19494849103117">This parameter is displayed only when <strong id="dataartsstudio_01_0435__b8286171811143">Scheduling Type</strong> is set to <strong id="dataartsstudio_01_0435__b528671815142">Event-based</strong>. The default value is the time when an event is triggered.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row12659815153211"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.7.2.3.1.1 "><p id="dataartsstudio_01_0435__p146621315163213">Scheduling Period</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.7.2.3.1.2 "><p id="dataartsstudio_01_0435__p34114314322">This parameter is displayed only when <strong id="dataartsstudio_01_0435__b14526153617157">Scheduling Type</strong> is set to <strong id="dataartsstudio_01_0435__b15526163617158">Run periodically</strong>. The default value is the scheduling period.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row14871217115"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.7.2.3.1.1 "><p id="dataartsstudio_01_0435__p154874171013">Start Time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.7.2.3.1.2 "><p id="dataartsstudio_01_0435__p2487141712110">This parameter is displayed only when <strong id="dataartsstudio_01_0435__b87547233167">Scheduling Type</strong> is set to <strong id="dataartsstudio_01_0435__b1275522361614">Run periodically</strong>. The value is the configured job execution time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row66080231613"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.7.2.3.1.1 "><p id="dataartsstudio_01_0435__p2608142318120">Start Time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.7.2.3.1.2 "><p id="dataartsstudio_01_0435__p1660832310117">This parameter is displayed only when <strong id="dataartsstudio_01_0435__b133127154184">Scheduling Type</strong> is set to <strong id="dataartsstudio_01_0435__b33121915181811">Run periodically</strong>. The value is the time when the periodic job scheduling starts.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0435__row736211772414"><td class="cellrowborder" valign="top" width="16.76%" headers="mcps1.3.6.7.2.3.1.1 "><p id="dataartsstudio_01_0435__p133627752411">Subsequent Instances</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="83.24000000000001%" headers="mcps1.3.6.7.2.3.1.2 "><p id="dataartsstudio_01_0435__p614492216295">Number of job instances scheduled.</p>
|
|
<ul id="dataartsstudio_01_0435__ul16464763019"><li id="dataartsstudio_01_0435__li1424718304">The default value is <strong id="dataartsstudio_01_0435__b15686145132419">1</strong> when <strong id="dataartsstudio_01_0435__b10646181014244">Scheduling Type</strong> is set to <strong id="dataartsstudio_01_0435__b464641022418">Run once</strong>.</li><li id="dataartsstudio_01_0435__li1443315333013">The default value is <strong id="dataartsstudio_01_0435__b1859812156247">1</strong> when <strong id="dataartsstudio_01_0435__b459821552416">Scheduling Type</strong> is set to <strong id="dataartsstudio_01_0435__b8598141513245">Event-based</strong>.</li><li id="dataartsstudio_01_0435__li132701419133312">When <strong id="dataartsstudio_01_0435__b14828144092415">Scheduling Type</strong> is set to <strong id="dataartsstudio_01_0435__b11828194082412">Run periodically</strong>:<p id="dataartsstudio_01_0435__p1820013301358">If the number of instances exceeds 10, a maximum of 10 instances can be displayed, and the system displays message "A maximum of 10 instances are supported."</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note" id="dataartsstudio_01_0435__note7110121213913"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dataartsstudio_01_0435__p081333017438">In <strong id="dataartsstudio_01_0435__b17181838113014">Parameter Preview</strong>, if a job parameter has a syntax error, the system displays a message.</p>
|
|
<p id="dataartsstudio_01_0435__p111019128395">If a parameter depends on the data generated during job execution, such data cannot be simulated and displayed in <strong id="dataartsstudio_01_0435__b14157336163717">Parameter Preview</strong>.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_01_0435__en-us_topic_0099797007_section1267113200395"><a name="dataartsstudio_01_0435__en-us_topic_0099797007_section1267113200395"></a><a name="en-us_topic_0099797007_section1267113200395"></a><h4 class="sectiontitle">Testing and Saving the Job</h4><p id="dataartsstudio_01_0435__en-us_topic_0099797007_p14530129204215">After a job is configured, complete the following operations:</p>
|
|
<p id="dataartsstudio_01_0435__en-us_topic_0099797007_p620974884517"><strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b4643338112220">Batch processing job</strong></p>
|
|
<ol id="dataartsstudio_01_0435__en-us_topic_0099797007_ol154526212465"><li id="dataartsstudio_01_0435__en-us_topic_0099797007_li118622411466"><span>Click <strong id="dataartsstudio_01_0435__b16979515339">Test</strong> above the canvas. In the displayed dialog box, the job variables are displayed. Click <strong id="dataartsstudio_01_0435__b330174173212">OK</strong> to test the job. If the test fails, view the logs of the job node and locate and rectify the fault.</span><p><div class="note" id="dataartsstudio_01_0435__note1444661314712"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dataartsstudio_01_0435__ul1127919846"><li id="dataartsstudio_01_0435__li5277191142">You can view the test run logs of the job by clicking <span class="parmname" id="dataartsstudio_01_0435__parmname1228514552015"><b>View Log</b></span>.</li><li id="dataartsstudio_01_0435__li62715198415">If you test the job before submitting a version, the version of the generated job instance is 0 on the <strong id="dataartsstudio_01_0435__b3323181263319">Job Monitoring</strong> page.</li><li id="dataartsstudio_01_0435__li1172831612469">You can control access to the test run logs. For example, after user A performs a test, user A can view the test run logs on the <strong id="dataartsstudio_01_0435__b146837339344">Monitor Instance</strong> page, but user B cannot.</li></ul>
|
|
</div></div>
|
|
<p id="dataartsstudio_01_0435__p15614942286"></p>
|
|
</p></li><li id="dataartsstudio_01_0435__en-us_topic_0099797007_li189612332212"><span>When the test is successful, click <strong id="dataartsstudio_01_0435__b10949165818345">Save</strong> to save the job configuration.</span><p><p id="dataartsstudio_01_0435__p1846155151511">After the job is saved, a version is automatically generated and displayed in <strong id="dataartsstudio_01_0435__b1186121412414">Versions</strong>. The version can be rolled back. If you save a job multiple times within a minute, only one version is recorded. If the intermediate data is important, you can click <strong id="dataartsstudio_01_0435__b1476819388105712">Save new version</strong> to save and add a version.</p>
|
|
</p></li></ol>
|
|
<p id="dataartsstudio_01_0435__en-us_topic_0099797007_p51897719488"><strong id="dataartsstudio_01_0435__en-us_topic_0099797007_b1493401118247">Processing jobs in real time</strong></p>
|
|
<ol id="dataartsstudio_01_0435__en-us_topic_0099797007_ol152781423144816"><li id="dataartsstudio_01_0435__en-us_topic_0099797007_li1727817238485"><span>Click <strong id="dataartsstudio_01_0435__b1231918127354">Save</strong> to save the job configuration.</span><p><p id="dataartsstudio_01_0435__p76458226213">After the job is saved, a version is automatically generated and displayed in <strong id="dataartsstudio_01_0435__en-us_topic_0181491854_b1186121412414">Versions</strong>. The version can be rolled back. If you save a job multiple times within a minute, only one version is recorded. If the intermediate data is important, you can click <strong id="dataartsstudio_01_0435__en-us_topic_0181491854_b1476819388105712">Save new version</strong> to save and add a version.</p>
|
|
</p></li><li id="dataartsstudio_01_0435__li394767125710"><span>After <a href="dataartsstudio_01_0902.html">submitting</a> the job version, click <strong id="dataartsstudio_01_0435__b3736247133512">Start</strong> above the canvas to run the job. After the job is executed, go to the <strong id="dataartsstudio_01_0435__b1492352873713">Job Monitoring</strong> page to view the job execution result.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_01_0431.html">Job Development</a></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script language="JavaScript">
|
|
<!--
|
|
initImageViewer('.imgResize');
|
|
var msg_imageMax = "view original image";
|
|
var msg_imageClose = "close";
|
|
//--></script> |