Pig CLI mode

0 votes
Hi. I am new to Hadoop. I am learning pig now. I want to execute a pig script which requires me to enter into pig shell. The problem is that I dont know how to enter into pig shell. Please help
Jan 4 in Big Data Hadoop by slayer
• 29,240 points
27 views

1 answer to this question.

0 votes
Pig can be used in two modes:

1) Map Reduce Mode: You can enter into this mode by typing the command pig in your console. In this way, you will come into the pig grunt shell and execute the commands as per your requirements.

2) Local Mode: You can enter into this mode by typing the command pig -x local. In this way, you will enter the grunt shell.
answered Jan 4 by Omkar
• 68,160 points

Related Questions In Big Data Hadoop

0 votes
1 answer

how to execute pig script in MapReduce mode?

Hey, To execute pig script we can use ...READ MORE

answered May 7 in Big Data Hadoop by Gitika
• 25,420 points
98 views
+1 vote
2 answers

Execute Pig Script from Grunt Shell

From your current directory run  pig -x local Then ...READ MORE

answered Oct 25, 2018 in Big Data Hadoop by Kunal
1,033 views
0 votes
2 answers

How to exit NameNode safe mode?

hadoop dfsadmin -safemode leave READ MORE

answered Apr 11 in Big Data Hadoop by anonymous
1,035 views
0 votes
1 answer

Are some Pig real time use cases available?

You can refer to this website https://acadgild.com/blog/pig-us ...READ MORE

answered Apr 20, 2018 in Big Data Hadoop by kurt_cobain
• 9,280 points
34 views
0 votes
1 answer

What do we exactly mean by “Hadoop” – the definition of Hadoop?

The official definition of Apache Hadoop given ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by Shubham
248 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,760 points
3,551 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,760 points
441 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
18,202 views
0 votes
1 answer

Pig mapreduce mode vs local mode?

Both MapReduce mode and local mode seem ...READ MORE

answered Jan 4 in Big Data Hadoop by Omkar
• 68,160 points
161 views
0 votes
1 answer

PIG - Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected

Yes, it is a compatibility issue. in Hadoop ...READ MORE

answered Oct 10, 2018 in Big Data Hadoop by Omkar
• 68,160 points
114 views