Updated on 2022-09-15 GMT+08:00

Submitting a Hive Script

Scenario

This section describes how to submit a Hive job on the Hue web UI.

Procedure

  1. Access the Hue web UI. For details, see Accessing the Hue Web UI.
  2. In the navigation tree on the left, click and choose Workflow to open the Workflow editor.
  3. Click Documents, click to select a Hive script from the operation list, and drag it to the operation page.
  4. In the HiveServer2 Script dialog box that is displayed, select the saved Hive script. For details about how to save the Hive script, see Using HiveQL Editor on the Hue Web UI. Select a script and click Add.

  5. Configure the Job XML, for example, to the HDFS path /user/admin/examples/apps/hive2/hive-site.xml. For details, see Submitting a Hive2 Job.
  6. Click in the upper right corner of the Oozie editor.
  7. After the configuration is saved, click , and submit the job.

    After the job is submitted, you can view the related contents of the job, such as the detailed information, logs, and processes, on Hue.