Local and MapReduce mode
Tuesday, February 22, 2011
3:23 PM
Pig runs in two modes: 
In local mode, filenames refer to local files. 
In MapReduce mode, flenames refer to distributed (HDFS) files. 
We'll run in local mode for now, but
We'll imagine running in MapReduce mode, and
Our programs will be identical in either case. 