December 2015
Beginner to intermediate
164 pages
3h 7m
English
The Pig command for running command-line options is shown in the following screenshot:

Oozie Pig command line
To run the same Pig Oozie script that we used in Chapter 3, Oozie Fundamentals, use the following command:
oozie pig -file <BOOK_CODE_HOME>/learn_oozie/ch03/pig/replace_delimiters.pig -oozie http://localhost:11000/oozie -P inputPath=/user/hue/learn_oozie/ch03/input/ -P outputPath=/user/hue/learn_oozie/ch05/pig_commandline/output -config job.properties
The path for -file is a local path from where the command is being submitted, not HDFS. The job we submit runs as soon as it is submitted.
All the JAR files and other files ...
Read now
Unlock full access