Post-Upgrade Steps for Tez
Complete the following steps after you upgrade Tez with or without the MapR Installer.
About this task
Procedure
-
(Optional) Migrate any custom configuration settings into the new default files
in the
/opt/mapr/tez/tez-<old version>/conf/
directory. -
Delete old
/apps/tez
directory on the MapR-FS layer.hadoop fs -rm -r /apps/tez
-
Create new /apps/tez directory on the MapR-FS layer.
hadoop fs -put /opt/mapr/tez/tez-<new version>/apps/tez hadoop fs -chmod -R 755 /apps/tez
-
Verify the upload.
hadoop fs -ls /apps/tez/tez-<new version>
-
Edit the
hadoop-env.sh
file andhive-env.sh
files as shown below.Repeat this step on each node where you want Hive on Tez to be configured.