Submitting a Coordinator Periodic Scheduling Job

Scenario

This section describes how to submit a job of the periodic scheduling type on the Hue web UI.

Prerequisites

Required workflow jobs have been configured before the coordinator task is submitted.

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 Schedule to open the Coordinator editor.
  3. On the job editing page, click My Schedule to change the job name.
  4. Click Choose a Workflow... to select the workflow to be orchestrated.

  5. Select a workflow, set the job execution frequency as prompted, and click in the upper right corner to save the workflow job.

    Because the time zone is changed, the difference between the time and the local time may be several hours. For example, in China, the time is 8 hours later than the local time.

    To set the time to Beijing time, perform the following steps:

    1. On Manager, choose Clusters > Services > Oozie > Configurations > All Configurations. Change the value of the Oozie service configuration parameter oozie.processing.timezone to GMT+0800. (The modification takes effect after the service is restarted.)
    2. On the Oozie editor page, when submitting a scheduled coordinator job, click the Options button below the frequency. Select Asia/Beijing from the Timezone drop-down list box.

  6. Click in the upper right corner of the editor, set the start value and end value of the time range for executing the scheduled job, and click Submit to submit the job.

    Because the time zone is changed, the difference between the time and the local time may be several hours.