I tried to execute a PIG script on TEZ engine with the help of Ambari pig view but execution failed. TEZ property tez.lib.uris = /hdp/apps/$(hdp.version)/tez/tez.tar.gz is configured correctly. Hive with Tez works without any issues.The following exceptions are received during the execution.
1. Exception while waiting for TEZ client
2. Cannot submit DAG - org.apache.pig.backend.hadoop.executionengine.tez.TezJob
You should check if the tez client is installed on your pig client, if the tez-site.xml contains the tez.lib.uris property and if the tez libraries are actually in HDFS and valid ( download them and untar to check )