DUMP gives error



0
I loaded nasdaq.csv file from the sample dataset. Just gave Dump and got following error, i did nothing, may i know why ? i do have the correct path where the file resides.

2015-01-02 17:58:31,533 [main] ERROR org.apache.pig.tools.pigstats.PigStats - ERROR 2997: Unable to recreate exception from backend error: org.apache.pig.backend.executionengine.ExecException: ERROR 2118: Input path does not exist: hdfs://localhost/user/cloudera/stockvolume/input/NASDAQ_daily_prices_A.csv
2015-01-02 17:58:31,535 [main] ERROR org.apache.pig.tools.pigstats.PigStatsUtil - 1 map reduce job(s) failed!

**********folder path exists *********
cloudera@cloudera-vm:~$ hadoop fs -ls
Found 2 items
drwxr-xr-x - cloudera supergroup 0 2014-12-31 00:07 /user/cloudera/stockvolume

1 Answer(s)


0

hi Ravi,

Please provide the pig latin code to check if the statements are correct and also check the path of file which you are trying to load from either HDFS or Local FS.

PS: Pig has 3 modes, 1) pig (hadoop mode) 2_ pig -x local (local FS mode, all files will be looked in local FS) and 3) pig -x mapred (mapreduce or hadoop mode. All files will be checked in HDFS)

Thanks