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>
48 lines
14 KiB
HTML
48 lines
14 KiB
HTML
<a name="dataartsstudio_01_0532"></a><a name="dataartsstudio_01_0532"></a>
|
|
|
|
<h1 class="topictitle1">Managing Job Tags</h1>
|
|
<div id="body1582807478719"><p id="dataartsstudio_01_0532__p1455925719221">Job tags are used to label jobs of the same or similar purposes to facilitate job management and query. This section describes how to manage job tags, including adding, deleting, importing, and exporting tags.</p>
|
|
<div class="section" id="dataartsstudio_01_0532__section6103134284814"><h4 class="sectiontitle">Adding a Job Tag</h4><ol id="dataartsstudio_01_0532__en-us_topic_0175328117_ol82410082819"><li id="dataartsstudio_01_0532__li2848154165110"><span>Log in to the <span id="dataartsstudio_01_0532__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>.</span></li><li id="dataartsstudio_01_0532__li10888120591"><span>On the <span id="dataartsstudio_01_0532__en-us_topic_0181092879_text185611381448">DataArts Studio</span> console, locate a workspace and click <strong id="dataartsstudio_01_0532__en-us_topic_0181092879_b65382814249">DataArts Factory</strong>.</span></li><li id="dataartsstudio_01_0532__en-us_topic_0175328117_li52490192815"><span>In the navigation pane, choose <span class="menucascade" id="dataartsstudio_01_0532__menucascade20182133723617"><b><span class="uicontrol" id="dataartsstudio_01_0532__uicontrol118113371367">Configuration</span></b> > <b><span class="uicontrol" id="dataartsstudio_01_0532__uicontrol4182937103616">Configure</span></b></span>.</span></li><li id="dataartsstudio_01_0532__li6903133352613"><span>Choose <span class="wintitle" id="dataartsstudio_01_0532__wintitle2090417333265"><b>Job Tag</b></span>.</span></li><li id="dataartsstudio_01_0532__en-us_topic_0175328117_li1224180202820"><span>Click <strong id="dataartsstudio_01_0532__b115391222418">Add</strong>. In the displayed dialog box, enter a tag name and click <strong id="dataartsstudio_01_0532__b984094144118">OK</strong>.</span><p><div class="note" id="dataartsstudio_01_0532__note627897125110"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dataartsstudio_01_0532__p927916720512">You can add a maximum of 100 job tags.</p>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_01_0532__section172651052161810"><h4 class="sectiontitle">Deleting a Job Tag</h4><ol id="dataartsstudio_01_0532__ol1767142412439"><li id="dataartsstudio_01_0532__li367292424313"><span>In the navigation pane, choose <span class="menucascade" id="dataartsstudio_01_0532__menucascade83397614312"><b><span class="uicontrol" id="dataartsstudio_01_0532__uicontrol1633916618432">Configuration</span></b> > <b><span class="uicontrol" id="dataartsstudio_01_0532__uicontrol433918624313">Configure</span></b></span>.</span></li><li id="dataartsstudio_01_0532__li36721824144319"><span>Choose <span class="wintitle" id="dataartsstudio_01_0532__wintitle1532112944310"><b>Job Tag</b></span>.</span></li><li id="dataartsstudio_01_0532__li6300121951111"><span>Locate the tag you want to delete and click <strong id="dataartsstudio_01_0532__b28191640164319">Delete</strong> in the <strong id="dataartsstudio_01_0532__b1720817514431">Operation</strong> column. In the displayed dialog box, click <strong id="dataartsstudio_01_0532__b1891173910449">OK</strong>.</span><p><div class="note" id="dataartsstudio_01_0532__note969611363216"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dataartsstudio_01_0532__p669712333212">A locked tag cannot be deleted. For details about how to unlock a tag, see <a href="#dataartsstudio_01_0532__section7773446447">Locking and Unlocking a Job Tag</a>.</p>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_01_0532__section548918597203"><h4 class="sectiontitle">Monitoring Jobs with a Specified Tag</h4><ol id="dataartsstudio_01_0532__ol814813713211"><li id="dataartsstudio_01_0532__li111481278212"><span>In the navigation pane, choose <span class="menucascade" id="dataartsstudio_01_0532__menucascade21021817104610"><b><span class="uicontrol" id="dataartsstudio_01_0532__uicontrol1101517144614">Configuration</span></b> > <b><span class="uicontrol" id="dataartsstudio_01_0532__uicontrol810117179466">Configure</span></b></span>.</span></li><li id="dataartsstudio_01_0532__li181483716213"><span>Choose <span class="wintitle" id="dataartsstudio_01_0532__wintitle12754161374110"><b>Job Tag</b></span>.</span></li><li id="dataartsstudio_01_0532__li15149274218"><span>Locate a tag and click <strong id="dataartsstudio_01_0532__b635384815469">Monitor</strong> in the <strong id="dataartsstudio_01_0532__b122776013476">Operation</strong> column. The <strong id="dataartsstudio_01_0532__b11709114254712">Monitor Job</strong> page is displayed, on which all the jobs with the tag are displayed.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_01_0532__section7773446447"><a name="dataartsstudio_01_0532__section7773446447"></a><a name="section7773446447"></a><h4 class="sectiontitle">Locking and Unlocking a Job Tag</h4><p id="dataartsstudio_01_0532__p18251114542911">To perform these operations, you must have the <strong id="dataartsstudio_01_0532__b19186194318164"><span id="dataartsstudio_01_0532__text418610436161">DARTS</span></strong> <strong id="dataartsstudio_01_0532__b918794381617">Administrator</strong>, <strong id="dataartsstudio_01_0532__b12187443171612">Tenant Administrator</strong>, or workspace administrator permission.</p>
|
|
<ol id="dataartsstudio_01_0532__ol7946132910462"><li id="dataartsstudio_01_0532__li139461629174617"><span>In the navigation pane, choose <span class="menucascade" id="dataartsstudio_01_0532__menucascade9291356144017"><b><span class="uicontrol" id="dataartsstudio_01_0532__uicontrol1429135614409">Configuration</span></b> > <b><span class="uicontrol" id="dataartsstudio_01_0532__uicontrol19291562402">Configure</span></b></span>.</span></li><li id="dataartsstudio_01_0532__li1494612292462"><span>Choose <span class="wintitle" id="dataartsstudio_01_0532__wintitle57376589503"><b>Job Tag</b></span>.</span></li><li id="dataartsstudio_01_0532__li14519193213463"><span>Locate a tag and click <strong id="dataartsstudio_01_0532__b1395143145212">Lock</strong> or <strong id="dataartsstudio_01_0532__b1271762805214">Unlock</strong> in the <strong id="dataartsstudio_01_0532__b13637844195210">Operation</strong> column.</span><p><div class="note" id="dataartsstudio_01_0532__note13971215193015"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dataartsstudio_01_0532__ul11759328173113"><li id="dataartsstudio_01_0532__li2926741453">A locked job tag cannot be deleted.</li><li id="dataartsstudio_01_0532__li196321649131019">Importing a locked tag will fail.</li><li id="dataartsstudio_01_0532__li16759162814314">A locked tag cannot be added to or removed from a job.</li><li id="dataartsstudio_01_0532__li1418312333356">Importing a job with a locked tag will fail.</li><li id="dataartsstudio_01_0532__li270121820392">When a job fails to be imported and a tag needs to be automatically generated, if the tag already exists and is locked, it will not be added to the job.</li></ul>
|
|
</div></div>
|
|
</p></li></ol>
|
|
<p id="dataartsstudio_01_0532__p42251083462"></p>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_01_0532__section32173333615"><h4 class="sectiontitle">Importing Job Tags</h4><p id="dataartsstudio_01_0532__p128976222037">To perform these operations, you must have the <strong id="dataartsstudio_01_0532__b195103917614"></strong> <strong id="dataartsstudio_01_0532__b051439662">Administrator</strong>, <strong id="dataartsstudio_01_0532__b115203911613">Tenant Administrator</strong>, or workspace administrator permission.</p>
|
|
<ol id="dataartsstudio_01_0532__ol18266103616611"><li id="dataartsstudio_01_0532__li1626643611617"><span>In the navigation pane, choose <span class="menucascade" id="dataartsstudio_01_0532__menucascade2959923415"><b><span class="uicontrol" id="dataartsstudio_01_0532__uicontrol1295932311116">Configuration</span></b> > <b><span class="uicontrol" id="dataartsstudio_01_0532__uicontrol8959192319118">Configure</span></b></span>.</span></li><li id="dataartsstudio_01_0532__li207791836171118"><span>Choose <span class="wintitle" id="dataartsstudio_01_0532__wintitle3708526911"><b>Job Tag</b></span>.</span></li><li id="dataartsstudio_01_0532__li152671436868"><span>Click <span class="uicontrol" id="dataartsstudio_01_0532__uicontrol18267193616615"><b>Import Job Tag</b></span>.</span></li><li id="dataartsstudio_01_0532__li7240447193612"><span>In the displayed dialog box, set the following parameters:</span><p><ul id="dataartsstudio_01_0532__ul154851964015"><li id="dataartsstudio_01_0532__li45481619184015"><strong id="dataartsstudio_01_0532__b1723163255416">File Location</strong>: Select <strong id="dataartsstudio_01_0532__b19231732175411">Local</strong> or <strong id="dataartsstudio_01_0532__b123133220544">OBS</strong>.</li><li id="dataartsstudio_01_0532__li037214815414"><strong id="dataartsstudio_01_0532__b646534525418">Select File from Local/OBS</strong>: Select a local path or an OBS bucket path.<div class="note" id="dataartsstudio_01_0532__note5758153141614"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dataartsstudio_01_0532__ul37105427193"><li id="dataartsstudio_01_0532__li6267164801913">You are advised to obtain a file to import by exporting tags. The first row of the file is the tag name, and the first column is the job name. If a job has a specified tag, the value in the corresponding cell is 1. Otherwise, the value is 0. If a cell is empty, the system uses value 0 for the cell.</li><li id="dataartsstudio_01_0532__li175476334516">The maximum size of the file to be imported is 10 MB.</li><li id="dataartsstudio_01_0532__li1287912502518">If the file to be imported contains two tags with the same name, and the ID of one tag is 0 and that of the other tag is 1, the system uses 1 as the tag ID.</li><li id="dataartsstudio_01_0532__li11711124291915">If the file to be imported contains two jobs with the same name, the system identifies the job in the latter row and uses the tag ID in this row.</li></ul>
|
|
</div></div>
|
|
</li><li id="dataartsstudio_01_0532__li20263730164217"><strong id="dataartsstudio_01_0532__b176751341102317">Mode</strong>: Select <strong id="dataartsstudio_01_0532__b1293310852413">Append</strong> or <strong id="dataartsstudio_01_0532__b208801312172418">Overwrite</strong>.<ul id="dataartsstudio_01_0532__ul35811331114517"><li id="dataartsstudio_01_0532__li17973102814452"><strong id="dataartsstudio_01_0532__b122317212244">Append</strong>: The new tag will not overwrite the existing one.</li><li id="dataartsstudio_01_0532__li1478933644513"><strong id="dataartsstudio_01_0532__b1294184052413">Overwrite</strong>: The new tag will overwrite the existing one.</li></ul>
|
|
</li></ul>
|
|
</p></li><li id="dataartsstudio_01_0532__li17960154464710"><span>Click <strong id="dataartsstudio_01_0532__b1429195322411">OK</strong>.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_01_0532__section1792974918458"><h4 class="sectiontitle">Exporting Job Tags</h4><ol id="dataartsstudio_01_0532__ol1169910532459"><li id="dataartsstudio_01_0532__li197001553114511"><span>In the navigation pane, choose <span class="menucascade" id="dataartsstudio_01_0532__menucascade17980957258"><b><span class="uicontrol" id="dataartsstudio_01_0532__uicontrol1598010520254">Configuration</span></b> > <b><span class="uicontrol" id="dataartsstudio_01_0532__uicontrol99803513254">Configure</span></b></span>.</span></li><li id="dataartsstudio_01_0532__li937574518500"><span>Choose <span class="wintitle" id="dataartsstudio_01_0532__wintitle13928842520"><b>Job Tag</b></span>.</span></li><li id="dataartsstudio_01_0532__li187457292316"><span>Export tags.</span><p><ul id="dataartsstudio_01_0532__ul8759123365118"><li id="dataartsstudio_01_0532__li87591533185113">To export all tags, click <span class="uicontrol" id="dataartsstudio_01_0532__uicontrol1966245814514"><b>Export All Tags</b></span> above the tag list.</li><li id="dataartsstudio_01_0532__li1175963312512">To export some tags, select them and click <strong id="dataartsstudio_01_0532__b1314163913363">Export Selected Tags</strong> above the tag list.</li></ul>
|
|
<p id="dataartsstudio_01_0532__p585817212918">The following figure shows the exported job tags.</p>
|
|
<div class="fignone" id="dataartsstudio_01_0532__fig1963994712913"><span class="figcap"><b>Figure 1 </b>Exporting job tags</span><br><span><img id="dataartsstudio_01_0532__image13724959104111" src="en-us_image_0000002269118469.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
<div class="note" id="dataartsstudio_01_0532__note207343610349"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dataartsstudio_01_0532__ul1533692213218"><li id="dataartsstudio_01_0532__li143361922162115">In the exported file, the first row is the tag name, and the first column is the job name. If a job has a specified tag, the value in the corresponding cell is 1. Otherwise, the value is 0.</li><li id="dataartsstudio_01_0532__li9336152232114">The first column displays names of all the jobs in the workspace, including real-time job nodes, For Each subjobs, and Subjob subjobs.</li></ul>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_01_0510.html">Configuring Resources</a></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script language="JavaScript">
|
|
<!--
|
|
initImageViewer('.imgResize');
|
|
var msg_imageMax = "view original image";
|
|
var msg_imageClose = "close";
|
|
//--></script> |