What is Pig in Hadoop ?

Answer:User can perform all the data manipulation operations in Hadoop using Apache Pig

Pig in Hadoop

  • User can perform all the data manipulation operations in Hadoop using Apache Pig.
  • Apache Pig is an abstraction over MapReduce.
pigcompilation

Need Apache Pig:

  • Using Pig Latin, programmers can perform MapReduce tasks codes in Java.
  • Apache Pig uses multi-query approach, it reducing the length of codes.
  • For example, an operation that would require you to type 200 lines of code in Java can be easily done by typing just ten lines of codes in Apache Pig.
  • Ultimately Apache Pig reduces the development time by almost sixteen times.
pig-latin
Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like

What is a skewed join in Pig ?

Answer:Joining skewed data using apache Pig skewed join.In a distributed processing environment Data skew is a serious problem,and occurs when the data is not evenly divided among the key tuples from the map phase.
View Answer