Configure Pig

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 /opt/mapr/pig/pig-<version>/conf/ file:

The io.file.buffer.size property defines how much data is buffered during read and write operations. This value defaults to -1, which causes Pig to fail if the local file system is used.