What are the 2 modes used to run pig scripts?



What are the 2 modes used to run pig scripts?..

Answer / Aneek Yadav

Apache Pig supports two modes to run scripts: Local Mode and MapReduce Mode. In Local Mode, Pig runs on a single machine using its built-in execution engine. In MapReduce Mode, it uses Apache Hadoop's MapReduce for distributed processing.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Pig Interview Questions

Why should we use ‘orderby’ keyword in pig scripts?

1 Answers  


How can you debug a pig script?

1 Answers  


What are the differences between PIG and MapReduce?

1 Answers  


What are the relational operators available related to Grouping and joining in Pig language?

1 Answers  


What is the difference between Pig and MapReduce?

1 Answers  


What are the differences between PIG and HIVE?

1 Answers  


How do users interact with HDFS in Apache Pig ?

1 Answers  


State the limitations of Apache Pig?

1 Answers  


Explain plucktuple?

1 Answers  


You have a file personal_data.txt in the HDFS directory with 100 records. You want to see only the first 5 records from the employee.txt file. How will you do this?

1 Answers  


Write a Pig UDF Example ?

1 Answers  


When to use hadoop, hbase, hive and pig?

1 Answers  


Categories