This section describes how to submit a Spark2x job using the Oozie client.
You are advised to download the latest client.
If the current client is an earlier version, you need to download and install the client again.
source /opt/client/bigdata_env
For example, the oozieuser user is authenticated using the following command:
kinit oozieuser
cd /opt/client/Oozie/oozie-client-*/examples/apps/spark2x/
Table 1 lists the files that you need to pay attention to in the directory.
vi job.properties
Perform the following modifications:
Change the value of userName to the name of the human-machine user who submits the job, for example, userName=oozieuser.
oozie job -oozie https://Host name of the Oozie role:21003/oozie/ -config job.properties -run
-oozie URL of the Oozie server that executes a job
-config Workflow property file
-run Executing a workflow
Log in to the Oozie web UI at https://IP address of the Oozie role:21003/oozie as user oozieuser.
On the Oozie web UI, you can view the submitted workflow information based on the job ID in the table on the page.