Pig runs in MapReduce mode by default. If you want to run Pig in local mode (
pig -x local), add the following properties to the
io.file.buffer.size property defines how much data is buffered during read and write operations; this value defaults to
-1, causing Pig to fail when the local file system is used.