Ensure that the
/
file exists on the Tez Service host machine.$HADOOP_HOME
/bin/hadoopUser submitting jobs should have appropriate access permissions to the files listed in
tez.ampool.mr-am.job-jar-path
property.The user starting the Tez Service must have appropriate permissions to the
tez.ampool.am.staging-dir
directory.Ensure that you restart the Tez service, each time the ResourceManager is restarted.
Execute the following commands on the Tez Service host machine:
$TEZ_HOME/sbin/tez-daemon.sh stop ampoolservice $TEZ_HOME/sbin/tez-daemon.sh start ampoolservice
where,
$TEZ_HOME
is the location of the directory that contains all the Tez JAR files. By default,$TEZ_HOME
is set to/usr/lib/tez
.Important Ensure that the user submitting the jobs and the user starting the Tez Service are identical.
For Tez Service that is used with Hive, you must start the Tez Service as user
hive
.