Please use below command to run pig script for file that exist in hdfs

hdfs dfs -put '/home/edureka/Desktop/abc1' hdfs:/
grunt >  a = load '/abc1' using PigStorage(',');
grunt >  dump a;

Hope it resolves your query.
If you have any further query,please let us know.

Please share your feedback by choosing either of smiley's.

Please note if you are not happy with the response on this ticket, please escalate it to escalations@edureka.in.
We assure you that we will get back to you within 24 hours 


Regards,
Abhishek Tiwari
edureka! Support Team

HappyAwesome NeutralJust Okay UnhappyNot Good
184201