So, let’s compare Pig vs Hive vs Hadoop MapReduce
Language
Hive
Basically, it has SQL like Query language.
MapReduce
Also, has compiled language.
Pig
However, it has the scripting language.
Abstraction
Hive
Basically, it has a Low level of Abstraction.
MapReduce
Also, has the High level of Abstraction.
Pig
Similarly, it also has the High level of Abstraction.
Line of codes
Hive
Comparatively less no. of the line of codes from both MapReduce and Pig.
MapReduce
However, it has More line of codes.
Pig
Comparatively less no. of the line of codes from MapReduce.