Pig: ParseException: File not found

0 votes

I have my pig script on hdfs I want to run this script
I tried grunt> but it didn't work, please help me:

Pig Stack Trace
---------------
ERROR 1000: Error during parsing. File not found: user/praveen/wordcountscript.pig

org.apache.pig.tools.pigscript.parser.ParseException: File not found: user/praveen/wordcountscript.pig
May 23 in Big Data Hadoop by Praveen
36 views

1 answer to this question.

0 votes

By convention, the pig script that you are using should be placed in the local file system and not in the hdfs path. By default, the system searches for the pig script in the local path.

So, try to execute the script file from the local and not from hdfs.

Also,If you still want to run the script from hdfs, you need to give the absolute path to script in hdfs i.e.,

hdfs:///user/edureka/pigPractice/pigInput/pigAssignment.pig
answered May 23 by Tina

Related Questions In Big Data Hadoop

0 votes
1 answer

Class not found exception when I am running my Word Count Program jar file

You have forgotten to include the package name ...READ MORE

answered Jan 18 in Big Data Hadoop by Omkar
• 68,480 points
57 views
0 votes
1 answer

Not able to delete file using pig

rmf is a hadoop file system command and you ...READ MORE

answered Feb 3 in Big Data Hadoop by Omkar
• 68,480 points
141 views
+1 vote
1 answer
0 votes
1 answer

hadoop: command not found

The reason you are getting hadoop as ...READ MORE

answered Mar 27, 2018 in Big Data Hadoop by kurt_cobain
• 9,280 points
3,241 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,800 points
3,573 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,800 points
453 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,424 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,280 points
1,333 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,480 points
114 views
0 votes
1 answer

Hadoop Hive: message:Version information not found in metastore. Unable to instantiate

These are the necessary tables required for metastore that are ...READ MORE

answered Nov 12, 2018 in Big Data Hadoop by Omkar
• 68,480 points
641 views