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, 2019 in Big Data Hadoop by slayer
• 29,260 points
30 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, 2019 by Omkar
• 68,860 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, 2019 in Big Data Hadoop by Gitika
• 25,460 points
122 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,125 views
0 votes
2 answers

How to exit NameNode safe mode?

hadoop dfsadmin -safemode leave READ MORE

answered Apr 11, 2019 in Big Data Hadoop by anonymous
1,120 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,290 points
45 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
307 views
+1 vote
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,840 points
3,899 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,840 points
535 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
20,718 views
0 votes
1 answer

Pig mapreduce mode vs local mode?

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

answered Jan 4, 2019 in Big Data Hadoop by Omkar
• 68,860 points
198 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,860 points
133 views