0 votes
in Hive by

How is Apache Pig different from MapReduce?

1 Answer

0 votes
by

Pig

MapReduce

It has fewer lines of code compared to MapReduce.

A high-level language that can easily perform join operation.

On execution, every Pig operator is converted internally into a MapReduce job

Works with all versions of Hadoop

Has more lines of code.

A low-level language that cannot perform join operation easily.

MapReduce jobs take more time to compile.

A MapReduce program written in one Hadoop version may not work with other versions

Related questions

0 votes
0 votes
asked Aug 25, 2022 in Apache Spark by sharadyadav1986
+1 vote
asked Jun 20, 2020 in Hive by Robindeniel
...