I have a problem in working with Pig environment. Could you please help me?


1 Answer(s)


Hi Satya,

The pig was not able to find the location of the file at : /tmp/mydemo/emp.csv

Error: File does not exist: /user/admin/pig/jobs/0511a_06-11-2016-19-22-42/stdout

Note: /user/admin/pig/jobs...... is temporary path used by pig while running job.

You can use the the following lines to verify the path /tmp/mydemo/emp.csv

$ hadoop fs -ls /tmp/mydemo/emp.csv

Please enter the correct path and file name and try again. Your command is correct.

Hope this helps.

Thanks.

Note: Please vote-up if you like my answer.