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>
21 lines
5.4 KiB
HTML
21 lines
5.4 KiB
HTML
<a name="mrs_01_1818"></a><a name="mrs_01_1818"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Workflow</h1>
|
|
<div id="body1591347169545"><div class="section" id="mrs_01_1818__s6847b0b9fbda45b3b4a7e127ddd5f8a7"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_1818__af4f1bc29bbdb47779f11de92cd27e29c">You can submit an Oozie job on the Hue management page, but a workflow must be created before the job is submitted.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1818__s43caec7de52e4db7b81c67f5c40a1152"><h4 class="sectiontitle">Prerequisites</h4><p id="mrs_01_1818__aa959d9b89e1f489f867417d6c9794eee">Before using Hue to submit an Oozie job, configure the Oozie client and upload the sample configuration file and JAR file to the specified HDFS directory. For details, see <a href="mrs_01_1810.html">Using the Oozie Client</a>.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1818__sf9189da9f4414210ade70e2e35791871"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_1818__o7b695b7ddfee45eea77d98bba7053304"><li id="mrs_01_1818__li1028081585415"><a name="mrs_01_1818__li1028081585415"></a><a name="li1028081585415"></a><span>Prepare a user who has operation permissions on the corresponding components.</span><p><p id="mrs_01_1818__p7376181610540">For example, log in to FusionInsight Manager as user <strong id="mrs_01_1818__b7126844173320">admin</strong> and choose <strong id="mrs_01_1818__b1882212374340">System</strong> in the top menu bar. On the <strong id="mrs_01_1818__b11282113511351">System</strong> page that is displayed, choose <strong id="mrs_01_1818__b17980193803515">User</strong> under <strong id="mrs_01_1818__b14414141263615">Permission</strong> in the navigation pane on the left. On the displayed <strong id="mrs_01_1818__b3410031153820">User</strong> page, click <strong id="mrs_01_1818__b5232151616384">Create</strong>. On the <strong id="mrs_01_1818__b1193581712393">Create</strong> page, set <strong id="mrs_01_1818__b13457123363913">Username</strong> to <strong id="mrs_01_1818__b8650154617396">hueuser</strong> and <strong id="mrs_01_1818__b1281918164016">User Type</strong> to <strong id="mrs_01_1818__b8185913164017">Human-Machine</strong>, set the password and confirm it, set <strong id="mrs_01_1818__b17483163711418">User Group</strong> to <strong id="mrs_01_1818__b1995364820412">hive</strong>, <strong id="mrs_01_1818__b10667017428">hadoop</strong>, and <strong id="mrs_01_1818__b8533511114219">supergroup</strong>, set <strong id="mrs_01_1818__b344714213422">Primary Group</strong> to <strong id="mrs_01_1818__b1443681433">hive</strong>, set <strong id="mrs_01_1818__b371118174313">Role</strong> to <strong id="mrs_01_1818__b1560838174317">System_administrator</strong>, and click <strong id="mrs_01_1818__b19187104911433">OK</strong>.</p>
|
|
</p></li><li id="mrs_01_1818__li158711504297"><span>Log in to FusionInsight Manager as the user created in <a href="#mrs_01_1818__li1028081585415">1</a> (change the password upon your first login), choose <strong id="mrs_01_1818__b73781638453">Cluster</strong> > <strong id="mrs_01_1818__b105481722134518">Services</strong> > <strong id="mrs_01_1818__b8218325194515">Hue</strong>, and click the link next to <strong id="mrs_01_1818__b8139417204611">Hue WebUI</strong> to go to the Hue WebUI page.</span></li><li id="mrs_01_1818__l34fef8f01e044536be27564d03e49028"><span>In the navigation tree on the left, click <span><img id="mrs_01_1818__image2607133802416" src="en-us_image_0000001295930388.png"></span> and choose <strong id="mrs_01_1818__b14250104519164">Workflow</strong> to open the Workflow editor.</span></li><li id="mrs_01_1818__l6cf418a4bca84ba18077ef47878406b9"><span>Select <strong id="mrs_01_1818__b597814314335">Actions</strong> from the <strong id="mrs_01_1818__b1152815261427">DOCUMENTS</strong> drop-down list, select the job type to be created and drag it to the operation area.</span><p><p id="mrs_01_1818__p39321037185219"><span><img id="mrs_01_1818__image893223765216" src="en-us_image_0000001295770428.png"></span></p>
|
|
<p id="mrs_01_1818__a739828bfc3c5473196333fc4b539c7f1">For submitting different job types, follow instructions in the following sections:</p>
|
|
<ul id="mrs_01_1818__uc99e86de71c642e6a706c2b0746ca979"><li id="mrs_01_1818__ld1ee174476a6431e89e7a63ebdb6a7d4"><a href="mrs_01_1820.html">Submitting a Hive2 Job</a></li><li id="mrs_01_1818__lb227d06039da46779a27729452b8de36"><a href="mrs_01_1821.html">Submitting a Spark2x Job</a></li><li id="mrs_01_1818__l002fba3f31244b37a39d95e4da628007"><a href="mrs_01_1822.html">Submitting a Java Job</a></li><li id="mrs_01_1818__lecada43ec0424d3387889a9c95592ddd"><a href="mrs_01_1823.html">Submitting a Loader Job</a></li><li id="mrs_01_1818__lb412647035d4465a999d2924c68a70e6"><a href="mrs_01_1824.html">Submitting a MapReduce Job</a></li><li id="mrs_01_1818__la9c1f1fbdaec4d1f805b2810eb1b53b6"><a href="mrs_01_1825.html">Submitting a Sub-workflow Job</a></li><li id="mrs_01_1818__l489f41f77b8e4569ba04b78f81363962"><a href="mrs_01_1826.html">Submitting a Shell Job</a></li><li id="mrs_01_1818__le13cb12c990049a0a75eb8f86b40fdb8"><a href="mrs_01_1827.html">Submitting an HDFS Job</a></li><li id="mrs_01_1818__l27f9e247b3f44ebebf91a1c7d005770d"><a href="mrs_01_1828.html">Submitting a Streaming Job</a></li><li id="mrs_01_1818__l574ca4abcb6c4f45a1c3df3a5456c838"><a href="mrs_01_1829.html">Submitting a DistCp Job</a></li></ul>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1817.html">Using Hue to Submit an Oozie Job</a></div>
|
|
</div>
|
|
</div>
|
|
|