Getting Started: "This example shows how to run Pig in local and mapreduce mode using the java command.
/* local mode */
$ java -cp pig.jar org.apache.pig.Main -x local ...
/* mapreduce mode */
$ java -cp pig.jar org.apache.pig.Main ...
or
$ java -cp pig.jar org.apache.pig.Main -x mapreduce ..."
'via Blog this'