Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

HadoopDeveloper Practice Exam Task2 pig script

avatar
New Contributor

When I run the PigScript it says the pig script is not found

Location of pigscript saved in HDFS : /user/horton/flightdelays_clean.pig

execution statements:

pig -x mapreduce

exec /user/horton/flightdelays_clean.pig

Error: GRUNT - ERROR 1000: Error during parsing. File not found: /user/horton/flightdelays_clean.pig

1 ACCEPTED SOLUTION

avatar
Master Guru
@Gade Naga Venkata Rajasekhar

/user/horton/flightdelays_clean.pig need to be present on local storage, not on hdfs. Please copy it to local storage and pass local path to exec.

View solution in original post

1 REPLY 1

avatar
Master Guru
@Gade Naga Venkata Rajasekhar

/user/horton/flightdelays_clean.pig need to be present on local storage, not on hdfs. Please copy it to local storage and pass local path to exec.