Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

HadoopDeveloper Practice Exam Task2 pig script

avatar

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.