Skip to content

Instantly share code, notes, and snippets.

@milindjagre
Created April 21, 2017 03:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save milindjagre/b16393176ba52e34a7f5c04ed7385608 to your computer and use it in GitHub Desktop.
Save milindjagre/b16393176ba52e34a7f5c04ed7385608 to your computer and use it in GitHub Desktop.
this pig script is used for storing the data in HDFS
--Storing the data into HDFS
--loading the data in input_data relation
input_data = LOAD '/hdpcd/input/post17/post17.txt' USING PigStorage() AS (line:chararray);
--storing the loaded data in HDFS
STORE input_data INTO '/hdpcd/output/post17';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment