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 email@example.com.
We assure you that we will get back to you within 24 hours
edureka! Support Team
|Awesome||Just Okay||Not Good|