Partager via


PIG: TEZ as execution at job level

PIG derives execution engine from pig.properties which is at cluster level.

If you want a job level granularity PIG CLI doesn't support it yet. But can achieve it if the jobs are submitted through Templeton.

 

Example of PowerShell usage

New-AzureHDInsightPigJobDefinition -Query $QueryString -StatusFolder $statusFolder -Arguments @("-x”, “tez")

 Example of CURL usage

curl -s -d file=<file name> -d arg=-v -d arg=-x -d arg=tez 'https://<dnsname.azurehdinsight.net>/templeton/v1/pig?user.name=admin'