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


1 Answer(s)


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