Is it possible by using Pig latin, can we load/store data into HDFS?



0
Can you please provide some examples regarding this. It will be good if we get examples in both Hadoop 1.x and 2.x.

1 Answer(s)


0

Hi Ranjit,

You can use the copyFromLocal command in Pig:
grunt > copyFromLocal path/to/source path/to/destination

This support both Hadoop-1 and Hadoop-2

Hope this helps.
Thanks