Run Examples in Oozie
50 words
One minute
- Extract Examples Tarball file
1
2
| cd $OOZIE_HOME
tar -xzvf oozie-examples.tar.gz
|
1
2
3
4
5
6
7
| cd examples/apps/map-reduce
vim job.properties
nameNode=hdfs://YARN001:8020
jobTracker=YARN001:8032
queueName=default
examplesRoot=examples
|
1
2
3
| hadoop fs -put examples examples
cd $OOZIE_HOME
oozie job -oozie http://localhost:11000/oozie -config $OOZIE_HOME/examples/apps/map-reduce/job.properties -run
|