Created 01-05-2016 04:21 AM
I would like to know what are the different ways to enable hcatalog and tez in writing pig scripts.
Created 01-05-2016 04:25 AM
To use both the options, use below command:
pig -useHCatalog -x tez -f script.pig
To use only Hcat:
pig -useHCatalog -f script.pig
To use only tez:
pig -x tez -f script.pig
Created 01-05-2016 04:25 AM
To use both the options, use below command:
pig -useHCatalog -x tez -f script.pig
To use only Hcat:
pig -useHCatalog -f script.pig
To use only tez:
pig -x tez -f script.pig
Created 01-05-2016 04:37 AM
Created 01-05-2016 05:00 AM
Unfortunately No! Either we need to pass it via command line or set "exectype=tez" in pig.properties via Ambari
Created 01-05-2016 03:49 PM
you can enable hcatalog commands in pig programmatically, use the steps in the following article https://community.hortonworks.com/questions/1954/hcatbin-is-not-defined-define-it-to-be-your-hcat-s....