apache pig - How to execute -fs in hadoop pig -
i want output files hdfs local storage ran code in pig script
fs -get user/miner/adhoc/results/mine1.txt /home/miner/jeweler/results
unfortunately executing code returns error 2997: encountered ioexception
i saw default bootup file /var/lib/hadoop-yarn/.pigbootup not found
do need import or need set properties in pig script?
it seems path incorrect gives ioexception. root slash missing in path. correct path: /user/miner/adhoc/results/mine1.txt
you can try also:
fs -copytolocal /user/miner/adhoc/results/mine1.txt /home/miner/jeweler/results
Comments
Post a Comment