Note: Apache Pig is an abstract layer or high-level language on top of HDFS as every statement of the pig is internally getting converted into MR.
[ Related Page:- Introduction to HDFS (Distributed File System) - Hadoop ]
1. In MapReduce, for processing data we have to write the driver code, Mapper code, and Reduces code (if required) irrespective of business logic that we are applying Whereas, in Apache pig, we can archive some functionality by making use of scripting language with less number of lines of coding.
2. MapReduce is expecting Java programming language skills whereas in apache pig even a nonjava programming member can write the code using simple scripting.
3. 200 lines of MR code are equal to 10 lines of a pig code.
4. In Map-reduce, we have to follow scripting process something like a compilation of MR code, Executing code, packaging code, and deploy in the cluster whereas, in apache pig, it is very easy to run the code without involving many steps
Interested To Learn Map Reduce Certification Training? Enroll now for FREE Demo On Map Reduce Training!
|Big Data On AWS||Informatica Big Data Integration|
|Bigdata Greenplum DBA||Informatica Big Data Edition|
|Hadoop Testing||Apache Mahout|
Stay updated with our newsletter, packed with Tutorials, Interview Questions, How-to's, Tips & Tricks, Latest Trends & Updates, and more ➤ Straight to your inbox!
|Hadoop Training||Jan 22 to Feb 06|
|Hadoop Training||Jan 24 to Feb 08|
|Hadoop Training||Jan 29 to Feb 13|
|Hadoop Training||Jan 31 to Feb 15|
Ravindra Savaram is a Content Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.
Copyright © 2013 - 2022 MindMajix Technologies