Yang, Tong 6182f91ba8 MRS component operation guide_normal 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>
2022-12-09 14:55:21 +00:00

19 lines
4.3 KiB
HTML

<a name="mrs_01_1831"></a><a name="mrs_01_1831"></a>
<h1 class="topictitle1">Submitting an SSH Job</h1>
<div id="body1591347175923"><div class="section" id="mrs_01_1831__sece971ac6b8e42a8bd639bc47a9715e8"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_1831__a20e8f318a3004a948f33b97dd24390e5">This section guides you to submit an Oozie job of the SSH type on the Hue web UI.</p>
<p id="mrs_01_1831__p18703438528">Due to security risks, SSH jobs cannot be submitted by default. To use the SSH function, you need to manually enable it.</p>
</div>
<div class="section" id="mrs_01_1831__s707ee9572a6c4d7e8a699afc8c8cfcac"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_1831__o6f72e354cc904a208752f15623eeaebc"><li id="mrs_01_1831__li014315568474"><span>Enable the SSH function.</span><p><ol type="a" id="mrs_01_1831__ol13260171613482"><li id="mrs_01_1831__li143717536458">On FusionInsight Manager, choose <strong id="mrs_01_1831__b959918581649">Cluster</strong> &gt; <strong id="mrs_01_1831__b437319511">Services</strong> &gt; <strong id="mrs_01_1831__b15862091258">Oozie</strong> and click the <strong id="mrs_01_1831__b2708391454">Configurations</strong> tab and then <strong id="mrs_01_1831__b174207514517">All Configurations</strong>. In the navigation pane on the left, choose <strong id="mrs_01_1831__b181428265616">oozie(Role)</strong> &gt; <strong id="mrs_01_1831__b313214329615">Security</strong>, change the value of <strong id="mrs_01_1831__b1375810541669">oozie.job.ssh.enable</strong> to <strong id="mrs_01_1831__b135591731271">true</strong>, and click <strong id="mrs_01_1831__b1593751820717">Save</strong>. In the displayed dialog box, click <strong id="mrs_01_1831__b165685466715">OK</strong> to save the configuration.</li><li id="mrs_01_1831__li474271110505">On the <strong id="mrs_01_1831__b082239537">Dashboard</strong> page of Oozie, choose <strong id="mrs_01_1831__b188296912318">More</strong> &gt; <strong id="mrs_01_1831__b6830209438">Restart Service</strong> in the upper-right corner to restart Oozie.</li></ol>
</p></li><li id="mrs_01_1831__l9c41aa2dac9a48198a3bcb2c170e86e2"><span>Create a workflow. For details, see <a href="mrs_01_1818.html">Creating a Workflow</a>.</span></li><li id="mrs_01_1831__le55d509ceb004262807d4bb7533bdda1"><span>For details about how to add the trust relationship, see <a href="mrs_01_1830.html">Example of Mutual Trust Operations</a>.</span></li><li id="mrs_01_1831__l22b5ec105e39433188223f788bc5fe2d"><span>On the workflow editing page, select the <strong id="mrs_01_1831__b33221943195310">Ssh</strong> button <span><img id="mrs_01_1831__i72cd518cc9694f61b875b3dd1599071d" src="en-us_image_0000001296090276.jpg"></span> and drag it to the operation area.</span></li><li id="mrs_01_1831__lf1fdc1b28b574502a3988b3bbd281232"><span>In the <strong id="mrs_01_1831__b1144155259">Ssh</strong> window that is displayed, set <span class="parmname" id="mrs_01_1831__parmname524135043416"><b>User and Host</b></span> and <span class="parmname" id="mrs_01_1831__parmname1619511575342"><b>Ssh command</b></span> commands and click <strong id="mrs_01_1831__b0576182822510">Add</strong>.</span></li><li id="mrs_01_1831__l227e9bd11d4f4711be2721dd1a192973"><span>Click <span><img id="mrs_01_1831__image1236335111194" src="en-us_image_0000001349289609.png"></span> in the upper right corner of the Oozie editor.</span><p><p id="mrs_01_1831__a269166b5b5854ef1a9c1faf815d41bda">If you need to modify the job name before saving the job (default value: <span class="parmname" id="mrs_01_1831__parmname118778815545"><b>My Workflow</b></span>), click the name directly for modification, for example, <strong id="mrs_01_1831__b48821181546">Ssh-Workflow</strong>.</p>
</p></li><li id="mrs_01_1831__lfd13b90c41184d54bf38baa77da8d239"><span>After the configuration is saved, click <span><img id="mrs_01_1831__iff9543b1b0844c67b0158de04ac7a770" src="en-us_image_0000001296249932.jpg"></span>, and submit the job.</span><p><p id="mrs_01_1831__a5b8939a5e7934158bce4725266f78abe">After the job is submitted, you can view the related contents of the job, such as the detailed information, logs, and processes, on Hue.</p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1819.html">Submitting a Workflow Job</a></div>
</div>
</div>