Yang, Tong 3f5759eed2 MRS comp-lts 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2023-01-19 17:08:45 +00:00

44 lines
17 KiB
HTML

<a name="mrs_01_1152"></a><a name="mrs_01_1152"></a>
<h1 class="topictitle1">Associating, Editing, Importing, or Exporting the Field Configuration of an Operator</h1>
<div id="body8662426"><div class="section" id="mrs_01_1152__en-us_topic_0000001219029125_s4c59f1f6512e4a0490145e2a3ac88530"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_1152__en-us_topic_0000001219029125_aec425744f33f4d449daf6928aaba34a5">This section describes how to associate, import, or export the field configuration information of an operator when creating or editing a Loader job.</p>
<ul id="mrs_01_1152__en-us_topic_0000001219029125_u1388d5f4f2e14719b347d4de677593dd"><li id="mrs_01_1152__en-us_topic_0000001219029125_l25fe147ad2234da59392cdd0976e5942">Associating the field configuration of an operator<p id="mrs_01_1152__en-us_topic_0000001219029125_a1a6e33f6cd854580942fed86fb9e532f"><a name="mrs_01_1152__en-us_topic_0000001219029125_l25fe147ad2234da59392cdd0976e5942"></a><a name="en-us_topic_0000001219029125_l25fe147ad2234da59392cdd0976e5942"></a>Associate the field configuration information of an input operator with an output operator.</p>
</li><li id="mrs_01_1152__en-us_topic_0000001219029125_lc6a03e6607224090b84932bd21d1c18a">Editing the field configuration of an operator<p id="mrs_01_1152__en-us_topic_0000001219029125_a1f7791e1740946f5b81a7f79c478866d"><a name="mrs_01_1152__en-us_topic_0000001219029125_lc6a03e6607224090b84932bd21d1c18a"></a><a name="en-us_topic_0000001219029125_lc6a03e6607224090b84932bd21d1c18a"></a>Edit the field configuration information of an operator.</p>
</li><li id="mrs_01_1152__en-us_topic_0000001219029125_lc135c886b4ef4dd39ed26db84fa85467">Importing the field configuration of an operator<p id="mrs_01_1152__en-us_topic_0000001219029125_ac23af01e6bd6461f8ad0bd51f9d6bc9c"><a name="mrs_01_1152__en-us_topic_0000001219029125_lc135c886b4ef4dd39ed26db84fa85467"></a><a name="en-us_topic_0000001219029125_lc135c886b4ef4dd39ed26db84fa85467"></a>Import the field configuration information to an operator by using an operator export file or operator template file.</p>
</li><li id="mrs_01_1152__en-us_topic_0000001219029125_lbb57177f5a5443fd912c7b06499617bb">Exporting the field configuration of an operator<p id="mrs_01_1152__en-us_topic_0000001219029125_a5b357380be6144e0a6dc30e90172d885"><a name="mrs_01_1152__en-us_topic_0000001219029125_lbb57177f5a5443fd912c7b06499617bb"></a><a name="en-us_topic_0000001219029125_lbb57177f5a5443fd912c7b06499617bb"></a>Export the field configuration information of an operator to a JSON file and save the file to a local directory.</p>
</li></ul>
</div>
<div class="section" id="mrs_01_1152__en-us_topic_0000001219029125_se29994ff41a148a5b4444144b72ea6ea"><h4 class="sectiontitle">Prerequisites</h4><p id="mrs_01_1152__en-us_topic_0000001219029125_a8c4a3f37d6a943a9bda4fb4f246abe3a">You have obtained the username and password for logging in to the Loader web UI.</p>
</div>
<div class="section" id="mrs_01_1152__en-us_topic_0000001219029125_s76454751970847ec921900d49ceb9767"><h4 class="sectiontitle">Procedure</h4><ul id="mrs_01_1152__en-us_topic_0000001219029125_u44fa9fd6ca174460bf6856e33316c22e"><li id="mrs_01_1152__en-us_topic_0000001219029125_l0ca391eeca6f46efb7251cd9f9ddb4e5"><strong id="mrs_01_1152__en-us_topic_0000001219029125_b15369726151210">Associating Field Configuration of an Operator</strong></li></ul>
<ol id="mrs_01_1152__en-us_topic_0000001219029125_o5b33f2a776794cb8b056f784c4725dd4"><li id="mrs_01_1152__en-us_topic_0000001219029125_l53b499a3d04a4bf7b22d60d4d101a86f"><span>Access the Loader web UI.</span><p><ol type="a" id="mrs_01_1152__en-us_topic_0000001219230551_obbc8c37dc53040efb21dc541b1dfc22c"><li id="mrs_01_1152__en-us_topic_0000001219230551_l6f0ffda40ca543d5a5660461b5e311dd">Log in to FusionInsight Manager. For details, see <a href="mrs_01_2124.html">Accessing FusionInsight Manager</a>.</li><li id="mrs_01_1152__en-us_topic_0000001219230551_la11b479a24ad4659a55365c2ede06015">Choose <strong id="mrs_01_1152__en-us_topic_0000001219230551_b39357591297">Cluster</strong> &gt; <em id="mrs_01_1152__en-us_topic_0000001219230551_i18941259112918">Name of the desired cluster</em> &gt; <strong id="mrs_01_1152__en-us_topic_0000001219230551_b19941115916297">Services</strong> &gt; <strong id="mrs_01_1152__en-us_topic_0000001219230551_b1894175916294">Loader</strong>.</li><li id="mrs_01_1152__en-us_topic_0000001219230551_l6601e8a2fd1b4780bf69238d6f5cc7f2">Click <strong id="mrs_01_1152__en-us_topic_0000001219230551_b13499742135213">LoaderServer(</strong><em id="mrs_01_1152__en-us_topic_0000001219230551_i187499244301">Node name</em><strong id="mrs_01_1152__en-us_topic_0000001219230551_b18777163515522">, Active)</strong>. The Loader web UI is displayed.<div class="fignone" id="mrs_01_1152__fig10607922203218"><span class="figcap"><b>Figure 1 </b>Loader web UI</span><br><span><img id="mrs_01_1152__mrs_01_1089_image155554364292" src="en-us_image_0000001438241209.png"></span></div>
</li></ol>
</p></li><li id="mrs_01_1152__en-us_topic_0000001219029125_l0758704d7531401e91566db2835863b5"><span>Edit an existing job or create a new job. The <span class="parmname" id="mrs_01_1152__en-us_topic_0000001219029125_pfcb7573eb3bc40bb80101e5deb10fd14"><b>Transform</b></span> page is displayed.</span></li><li id="mrs_01_1152__en-us_topic_0000001219029125_lbf2bdb0a722b4098b944d59e796c0d73"><span>Double-click a specified input operator (such as <strong id="mrs_01_1152__en-us_topic_0000001219029125_b15426919171515">CSV File Input</strong>) to go to the edit page. Add the configuration information to the parameter table of the input field.</span></li><li id="mrs_01_1152__en-us_topic_0000001219029125_lb819bc4770ac4856aa63e160e5a5d91b"><span>Double-click a specified output operator (such as <strong id="mrs_01_1152__en-us_topic_0000001219029125_b1231717422144">File Output</strong>) to go to the edit page, click <span class="uicontrol" id="mrs_01_1152__en-us_topic_0000001219029125_uicontrol8323742191417"><b>associate</b></span>, and select the required field information in the displayed <span class="parmname" id="mrs_01_1152__en-us_topic_0000001219029125_parmname203239422147"><b>associate</b></span> dialog box.</span><p><div class="note" id="mrs_01_1152__en-us_topic_0000001219029125_n014fc103c25749eb861d25588296a29f"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="mrs_01_1152__en-us_topic_0000001219029125_u9aa8e716209340b59bb379016acb09dc"><li id="mrs_01_1152__en-us_topic_0000001219029125_l8062c931ae5e4edab879f515f11d257a">The field name already exists in the field table of the output operator and is not displayed in the <strong id="mrs_01_1152__en-us_topic_0000001219029125_b13251624115311">associate</strong> window.</li><li id="mrs_01_1152__en-us_topic_0000001219029125_l1e454e74694149ce9b265b2136248140">You can also select the required field from the <span class="parmname" id="mrs_01_1152__en-us_topic_0000001219029125_parmname118129517156"><b>field name</b></span> list. The corresponding configuration information is displayed in the parameter table of the output field.</li></ul>
</div></div>
</p></li><li id="mrs_01_1152__en-us_topic_0000001219029125_l58af5f99a4ec49588d484b6a4ad6e529"><span>Click <span class="uicontrol" id="mrs_01_1152__en-us_topic_0000001219029125_uicontrol8955161101619"><b>OK</b></span>. The selected field is displayed in the parameter table of the output field.</span></li></ol>
<ul id="mrs_01_1152__en-us_topic_0000001219029125_u9ead5736ff7d4e2591dee75214a851bd"><li id="mrs_01_1152__en-us_topic_0000001219029125_l069a7b0a974840cda184d48a4f4d908f"><strong id="mrs_01_1152__en-us_topic_0000001219029125_b146861316201619">Editing the Field Configuration of an Operator</strong></li></ul>
<ol id="mrs_01_1152__en-us_topic_0000001219029125_o0cd2e4ba6176440db3b328bbee585b1d"><li id="mrs_01_1152__en-us_topic_0000001219029125_li831154135315"><span>Access the Loader web UI.</span><p><ol type="a" id="mrs_01_1152__ol159551810151815"><li id="mrs_01_1152__li1595541016184">Log in to FusionInsight Manager. For details, see <a href="mrs_01_2124.html">Accessing FusionInsight Manager</a>.</li><li id="mrs_01_1152__li1095511010189">Choose <strong id="mrs_01_1152__b695519105182">Cluster</strong> &gt; <em id="mrs_01_1152__i139551510191813">Name of the desired cluster</em> &gt; <strong id="mrs_01_1152__b16955010161820">Services</strong> &gt; <strong id="mrs_01_1152__b89551710121814">Loader</strong>.</li><li id="mrs_01_1152__li295513108184">Click <strong id="mrs_01_1152__b79551910161814">LoaderServer(</strong><em id="mrs_01_1152__i995531014188">Node name</em><strong id="mrs_01_1152__b195551016181">, Active)</strong>. The Loader web UI is displayed.</li></ol>
</p></li><li id="mrs_01_1152__en-us_topic_0000001219029125_lf0896e969ada4f53944ce6f42c8e17be"><span>Edit an existing job or create a new job. The <span class="parmname" id="mrs_01_1152__en-us_topic_0000001219029125_parmname540103719541"><b>Transform</b></span> page is displayed.</span></li><li id="mrs_01_1152__en-us_topic_0000001219029125_ld9f126d4d3684db1a2e9c1bd1767ecfd"><span>Double-click a specified operator (such as <strong id="mrs_01_1152__en-us_topic_0000001219029125_b6414114614548">CSV File Input</strong>) to go to the edit page. On the <span class="uicontrol" id="mrs_01_1152__en-us_topic_0000001219029125_uicontrol185406382540"><b>Table Edit</b></span> tab page of the input field, click <span class="menucascade" id="mrs_01_1152__en-us_topic_0000001219029125_menucascade854113389546"><b><span class="uicontrol" id="mrs_01_1152__en-us_topic_0000001219029125_uicontrol8540538125414">Add</span></b></span> and enter the field information based on the parameter requirements of the operator.</span></li><li id="mrs_01_1152__en-us_topic_0000001219029125_lb6484f9cbb0346ba99ae4e2006ae282a"><span>You can move (up or down), insert a row under, and delete a field by clicking buttons corresponding to the field.</span><p><p id="mrs_01_1152__en-us_topic_0000001219029125_a5e6c40626b6d4c0483f61804898cdf47">Click <span class="uicontrol" id="mrs_01_1152__en-us_topic_0000001219029125_uicontrol134917148568"><b>Text Area Edit</b></span> to edit the field list in text format. Use commas (,) to separate field attributes.</p>
<p id="mrs_01_1152__en-us_topic_0000001219029125_a0dc68b31d31d4813b8405315730243e8"><span><img id="mrs_01_1152__en-us_topic_0000001219029125_i5c4aa28c1f424e6a8a579bf475b94489" src="en-us_image_0000001349059569.png"></span></p>
</p></li><li id="mrs_01_1152__en-us_topic_0000001219029125_lfbdb2c01b1cf4f82b55411d16998dd2b"><span>Click <strong id="mrs_01_1152__en-us_topic_0000001219029125_b842352706163330">OK</strong>.</span></li></ol>
<ul id="mrs_01_1152__en-us_topic_0000001219029125_uf03e1fec5d144efdae6107a4dc952a40"><li id="mrs_01_1152__en-us_topic_0000001219029125_l9ded6ef717cd4997a95b72ff368edfd4"><strong id="mrs_01_1152__en-us_topic_0000001219029125_b125771825131811">Importing the Field Configuration of an Operator</strong></li></ul>
<ol id="mrs_01_1152__en-us_topic_0000001219029125_o71a057abe74f4eaeaf23bfbf9773ff26"><li id="mrs_01_1152__en-us_topic_0000001219029125_li14764187145415"><span>Access the Loader web UI.</span><p><ol type="a" id="mrs_01_1152__ol1779101631813"><li id="mrs_01_1152__li979116191814">Log in to FusionInsight Manager. For details, see <a href="mrs_01_2124.html">Accessing FusionInsight Manager</a>.</li><li id="mrs_01_1152__li57951611183">Choose <strong id="mrs_01_1152__b1979016151820">Cluster</strong> &gt; <em id="mrs_01_1152__i1579316111810">Name of the desired cluster</em> &gt; <strong id="mrs_01_1152__b11791169182">Services</strong> &gt; <strong id="mrs_01_1152__b13791516191816">Loader</strong>.</li><li id="mrs_01_1152__li179916171818">Click <strong id="mrs_01_1152__b17795162182">LoaderServer(</strong><em id="mrs_01_1152__i879161615181">Node name</em><strong id="mrs_01_1152__b3791516111815">, Active)</strong>. The Loader web UI is displayed.</li></ol>
</p></li><li id="mrs_01_1152__en-us_topic_0000001219029125_l167599dc1e554d7c96c70b1867e4c7bd"><span>Edit an existing job or create a new job. The <span class="parmname" id="mrs_01_1152__en-us_topic_0000001219029125_parmname879315541569"><b>Transform</b></span> page is displayed.</span></li><li id="mrs_01_1152__en-us_topic_0000001219029125_l59ac9e7bda0144a78af167d49a2bac1d"><span>Double-click a specified operator to go to the editing page and add related configuration information to the parameter table of the input or output field. Click <strong id="mrs_01_1152__en-us_topic_0000001219029125_b182613389188">Import</strong>.</span></li><li id="mrs_01_1152__en-us_topic_0000001219029125_l75c78fcbdb984591b86f12c9f0e220b1"><span>Select an import type.</span><p><ul id="mrs_01_1152__en-us_topic_0000001219029125_u853aac9c107243b88de5b68395f238e6"><li id="mrs_01_1152__en-us_topic_0000001219029125_l2aeeb7bdf37a4712b612e2873d18c25d">Export File<p id="mrs_01_1152__en-us_topic_0000001219029125_a533c43c3378a402287aa25e7c8c42ebf"><a name="mrs_01_1152__en-us_topic_0000001219029125_l2aeeb7bdf37a4712b612e2873d18c25d"></a><a name="en-us_topic_0000001219029125_l2aeeb7bdf37a4712b612e2873d18c25d"></a>Field configuration information is imported by using the JSON file exported by the operator.</p>
</li><li id="mrs_01_1152__en-us_topic_0000001219029125_l87611c8cca044a3284387db2cf1d34b0">Specified Template<p id="mrs_01_1152__en-us_topic_0000001219029125_a9ddf14380f4440209505020e2340e45b"><a name="mrs_01_1152__en-us_topic_0000001219029125_l87611c8cca044a3284387db2cf1d34b0"></a><a name="en-us_topic_0000001219029125_l87611c8cca044a3284387db2cf1d34b0"></a>Field configuration information is imported by using the TXT file compiled based on the operator template.</p>
</li></ul>
</p></li><li id="mrs_01_1152__en-us_topic_0000001219029125_l7a41d03868784303b41c4b79d65cee72"><span>Click <span><img id="mrs_01_1152__en-us_topic_0000001219029125_i1273fad1990b4e988786321bae9fb48e" src="en-us_image_0000001296059724.png"></span> and select the upload file path.</span></li><li id="mrs_01_1152__en-us_topic_0000001219029125_l20f5c774c0c74feaa484d64ed62e1b38"><span>Click <span class="uicontrol" id="mrs_01_1152__en-us_topic_0000001219029125_u52a512f200ed41a9a98e1f2d40d63648"><b>Upload</b></span>. The field configuration information is imported to the operator.</span></li></ol>
<ul id="mrs_01_1152__en-us_topic_0000001219029125_ub93aba595b6d4c6fba9d4600d189d2e3"><li id="mrs_01_1152__en-us_topic_0000001219029125_l0186f6943d584ee3b6dbe81583a4a712"><strong id="mrs_01_1152__en-us_topic_0000001219029125_b9592144917403">Exporting the Field Configuration of an Operator</strong></li></ul>
<ol id="mrs_01_1152__en-us_topic_0000001219029125_o2e74e21e0f46401c97a9d61972e68805"><li id="mrs_01_1152__en-us_topic_0000001219029125_li17843112255419"><span>Access the Loader web UI.</span><p><ol type="a" id="mrs_01_1152__ol1445082014188"><li id="mrs_01_1152__li8449192081815">Log in to FusionInsight Manager. For details, see <a href="mrs_01_2124.html">Accessing FusionInsight Manager</a>.</li><li id="mrs_01_1152__li544962091818">Choose <strong id="mrs_01_1152__b174491320141819">Cluster</strong> &gt; <em id="mrs_01_1152__i1244992011810">Name of the desired cluster</em> &gt; <strong id="mrs_01_1152__b114494202186">Services</strong> &gt; <strong id="mrs_01_1152__b344922071819">Loader</strong>.</li><li id="mrs_01_1152__li945002013185">Click <strong id="mrs_01_1152__b144922018188">LoaderServer(</strong><em id="mrs_01_1152__i8449122016181">Node name</em><strong id="mrs_01_1152__b1144912202182">, Active)</strong>. The Loader web UI is displayed.</li></ol>
</p></li><li id="mrs_01_1152__en-us_topic_0000001219029125_l01413cbfe5014142a4608c31479e259f"><span>Edit an existing job or create a new job. The <span class="parmname" id="mrs_01_1152__en-us_topic_0000001219029125_parmname135401361595"><b>Transform</b></span> page is displayed.</span></li><li id="mrs_01_1152__en-us_topic_0000001219029125_l0f1586f4ae7c4e62b2437f2d8e3ee262"><span>Double-click a specified operator to go to the editing page, add related configuration information to the parameter table of the input or output field, and click <span class="uicontrol" id="mrs_01_1152__en-us_topic_0000001219029125_uicontrol45061137135914"><b>Export</b></span>.</span></li><li id="mrs_01_1152__en-us_topic_0000001219029125_l01f8dcc43f6b4b0ab8ba195cff0fb4bc"><span>Select an export type.</span><p><ul id="mrs_01_1152__en-us_topic_0000001219029125_u30f7c9f87e824da3b20d729180284687"><li id="mrs_01_1152__en-us_topic_0000001219029125_l32ad7d6b805c405bb0d3c46521659818">All<p id="mrs_01_1152__en-us_topic_0000001219029125_aa2a6dfc1702e4b41b88928333ed99ec3"><a name="mrs_01_1152__en-us_topic_0000001219029125_l32ad7d6b805c405bb0d3c46521659818"></a><a name="en-us_topic_0000001219029125_l32ad7d6b805c405bb0d3c46521659818"></a>All field information is exported as a JSON file and saved to a local directory.</p>
</li><li id="mrs_01_1152__en-us_topic_0000001219029125_l3cd4652ce3494b4e96c4aaa430987977">Specified Field Name<p id="mrs_01_1152__en-us_topic_0000001219029125_a4cdbaa2fcecc4f89a8e77de4d3fb5746"><a name="mrs_01_1152__en-us_topic_0000001219029125_l3cd4652ce3494b4e96c4aaa430987977"></a><a name="en-us_topic_0000001219029125_l3cd4652ce3494b4e96c4aaa430987977"></a>Fields selected in the field list are exported as a JSON file and saved to a local directory.</p>
</li></ul>
</p></li><li id="mrs_01_1152__en-us_topic_0000001219029125_l9d4d2aa4552541d2aa4ef438101b14f9"><span>Click <span class="uicontrol" id="mrs_01_1152__en-us_topic_0000001219029125_uicontrol8106205271815"><b>OK</b></span>.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1119.html">Operator Help</a></div>
</div>
</div>