Created
April 21, 2017 03:22
-
-
Save milindjagre/b16393176ba52e34a7f5c04ed7385608 to your computer and use it in GitHub Desktop.
this pig script is used for storing the data in HDFS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--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