forked from docs/doc-exports
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>
17 lines
2.8 KiB
HTML
17 lines
2.8 KiB
HTML
<a name="mrs_01_1822"></a><a name="mrs_01_1822"></a>
|
|
|
|
<h1 class="topictitle1">Submitting a Java Job</h1>
|
|
<div id="body1591347172318"><div class="section" id="mrs_01_1822__sb5088e23c8ed4b339e554e98d46694ac"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_1822__ad8cc266ba6564811b789235463134c77">This section describes how to submit an Oozie job of the Java type on the Hue web UI.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1822__sbf2a3c82cced4c24b5fb131a1546f555"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_1822__o14d921b096324f63b4b5c1e1777b69a0"><li id="mrs_01_1822__lf9b7e9b6350a4e3b882ab34492f861ab"><span>Create a workflow. For details, see <a href="mrs_01_1818.html">Creating a Workflow</a>.</span></li><li id="mrs_01_1822__l095c4c53737243a7b901fb66479a4b15"><span>On the workflow editing page, select <span><img id="mrs_01_1822__id7508ed740714af0bf3cda0bc178f37e" src="en-us_image_0000001349289953.jpg"></span> next to<strong id="mrs_01_1822__b11942342181416"> Java program</strong> and drag it to the operation area.</span></li><li id="mrs_01_1822__l360aeafc5efc4645a52ef033c8ae9b22"><span>In the <span class="parmname" id="mrs_01_1822__parmname14932131011810"><b>Jar program</b></span> window that is displayed, set the value of <strong id="mrs_01_1822__b83498543148">Jar name</strong>, for example, <strong id="mrs_01_1822__b932663871015">/user/admin/examples/apps/java-main/lib/oozie-examples-5.1.0.jar</strong>. Set the value of <span class="parmname" id="mrs_01_1822__parmname8280824111810"><b>Main class</b></span>, for example, <strong id="mrs_01_1822__b1991405591010">org.apache.oozie.example.DemoJavaMain</strong>. Click <strong id="mrs_01_1822__b1847542215156">Add</strong>.</span></li><li id="mrs_01_1822__ld8c15c060cd64266b9e237b4450398e0"><span>Click <span><img id="mrs_01_1822__image1236335111194" src="en-us_image_0000001295770848.png"></span> in the upper right corner of the Oozie editor.</span><p><p id="mrs_01_1822__a7a095f841aa54566951815da4fa1fa68">If you need to modify the job name before saving the job (default value: <strong id="mrs_01_1822__b12466172541513">My Workflow</strong>), click the name directly for modification, for example, <strong id="mrs_01_1822__b9471142521513">Java-Workflow</strong>.</p>
|
|
</p></li><li id="mrs_01_1822__l5b55bdd8a6ce4afeba581ff77acadd70"><span>After the configuration is saved, click <span><img id="mrs_01_1822__ib073085b9e7a4f4faa63fa70fd59e7e0" src="en-us_image_0000001349090473.jpg"></span>, and submit the job.</span><p><p id="mrs_01_1822__ac501bad977314913a78afbb85fc6aa0d">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>
|
|
|