Capture 15 Maven is used to build the APPLICATION bundle and it is assumed that maven is installed on your path.
To build the application, simply run:
Cmd # mvn package
The maven assembles plug-in is used to generate a .tax. gz file which contains all of the workflow and configuration files in the required layout:
Oozie .examples-[VERSION]-bundle-far.gz
/workflow.xml
/con fig-de fault.xml
/conf/(job con fig)
/lib/(*.job; *.so)
rm- rf examples-oozie
far-xvzf oozie-examples-0.0.1-SNAPSHOT –bundle.tar.gz
Hadoop fs.rmr/work flows/oozie- examples.
Export oozie -URL=https://host name:11000/oozie
Oozie job –config oozie- examples/job. properties –run
Oozie job –con fig oozie - examples/job. properties
-D jump. to=parallel- run
To deploy the coordinator job, run the following command:
oozie job – config oozie – examples/coordinator/word. Properties
-D start=$(date-4 = “%FT%H:%MZ”)
D end=$(date-4 -d “+ 1hour”+%CT%H:%MZ”)-D mode = single –run
To stop the coordinator job run:
Oozie job – kill[word job id]
Related Page: Hadoop – How To Build A Work Flow Using Oozie
Oozie executes a workflow based on.
1. Time Dependency(Frequency)
2. Data Dependency
To show the client version of Oozie
#
oozie
version
For job operations
#
oozie
job
For job status
#
oozie
job
For admin operations
#
oozie
admin
To validate a workflow XML file
#
oozie
validate
To submit a pig job everything after ‘-X’ is passed through parameters to pig.
#
oozie
pig -x
Hadoop Administration | MapReduce |
Big Data On AWS | Informatica Big Data Integration |
Bigdata Greenplum DBA | Informatica Big Data Edition |
Hadoop Hive | Impala |
Hadoop Testing | Apache Mahout |
Name | Dates | |
---|---|---|
Hadoop Training | Sep 17 to Oct 02 | View Details |
Hadoop Training | Sep 21 to Oct 06 | View Details |
Hadoop Training | Sep 24 to Oct 09 | View Details |
Hadoop Training | Sep 28 to Oct 13 | View Details |
Ravindra Savaram is a Technical Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.