Support Questions
Find answers, ask questions, and share your expertise

ERROR 1000: Error during parsing. Encountered " <PATH> "$PIG_HOME/bin/pig "" at line 1, column 1.

New Contributor

was trying to load a text file orders.txt of data into pig as shown below 

 

bolt,James,200,2016,01,01

bolt,Peter,100,2017,01,30

bolt,Bob,300,2018,05,23

screw,James,20,2017,05,11

screw,Alice,55,2018,01,01

nut,Alice,23,2018,03,16

washer,James,45,2016,04,24

washer,Peter,100,2016,05,12

bolt,James,200,2018,01,05

bolt,Peter,100,2018,01,05

bolt,James,,2018,01,01

 

 

$PIG_HOME/bin/pig -e "orders = load '/user/bigdata/orders.txt' using PigStorage(','); dump orders;"

 

txt file have already been uploaded to HDFS however this error keep persist 

0 REPLIES 0