Created
May 18, 2017 15:51
-
-
Save milindjagre/c6477f90b7af4ce6e7e0357f968dfa52 to your computer and use it in GitHub Desktop.
this pig script is used to demonstrate the TEZ execution mode in Apache PIG
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
-- this pig script is used for demonstrating TEZ execution mode | |
-- the script is quite straightforward | |
-- the execution mode is enabled while running the script | |
-- loading the data from input post24.txt file into pig relation input_data | |
input_data = LOAD '/hdpcd/input/post24/post24.txt' USING PigStorage(); | |
-- storing this input_data into output HDFS directory | |
STORE input_data INTO '/hdpcd/output/post24'; | |
-- this script should be executed with the following command | |
-- "pig -x tez post24.pig" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment