Updated on 2024-10-09 GMT+08:00

Creating a Workflow Using Hue

Scenario

You can submit an Oozie job on the Hue management page, but a workflow must be created before the job is submitted.

Prerequisites

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 Oozie Client Configurations.

Procedure

  1. Prepare a user who has operation permissions on the corresponding components.

    For example, log in to FusionInsight Manager as user admin and choose System in the top menu bar. On the System page that is displayed, choose User under Permission in the navigation pane on the left. On the displayed User page, click Create. On the Create page, set Username to hueuser and User Type to Human-Machine, set the password and confirm it, set User Group to hive, hadoop, and supergroup, set Primary Group to hive, set Role to System_administrator, and click OK.

  2. Log in to FusionInsight Manager as the user created in 1 (change the password upon your first login), choose Cluster > Services > Hue, and click the link next to Hue WebUI to go to the Hue WebUI page.
  3. In the navigation tree on the left, click and choose Workflow to open the Workflow editor.
  4. Select Actions from the DOCUMENTS drop-down list, select the job type to be created and drag it to the operation area.

    For submitting different job types, follow instructions in the following sections: