Question: what is the difference between local mode and mapreduce mode?
Answer: Local mode: All scripts are run on a single machine without requiring Hadoop MapReduce and HDFS. ... MapReduce mode (also known as Hadoop mode): Pig is executed on the Hadoop cluster. In this case, the Pig Script gets converted into a series of MapReduce jobs that are then run on the Hadoop cluster.