Pig Architecture

Pig Architecture#

The language used to analyze data in Hadoop using Pig is known as Pig Latin.

apache_pig_architecture-min

Pig Components#

  • Parser

  • Optimizer

  • Compiler

  • Execution engine

Pig Latin Data Model#

data_model-min

  • Atom

  • Tuple

  • Bag

  • Map

  • Relation

References#