trainingtrains Logo

91-9990449935

 0120-4256464

Pig Run Modes

Pig executes in two modes: Local Mode and MapReduce Mode.

Local Mode

It executes in a single JVM and is used for development experimenting and prototyping.Local mode works on local file system.

Command for local mode grunt shell:

MapReduce Mode

The MapReduce mode is also known as Hadoop Mode. In this Pig renders Pig Latin into MapReduce jobs and executes them on the cluster. It can be executed against semi-distributed or fully distributed hadoop installation.

Command for Map reduce mode:

Or,

Next TopicPig Latin Concepts