Remove old Templeton packages. On the Templeton host machine, execute the following commands:
For RHEL/CentOS:
yum remove templeton\*
For SLES:
zypper remove templeton\*
Install WebHCat.
For RHEL/CentOS:
yum install webhcat-tar-hive webhcat-tar-pig
For SLES:
zypper install webhcat-tar-hive webhcat-tar-pig
Also see the instructions on manually deploying WebHCat instance provided here.
Start WebHCat. On the WebHCat host machine, execute the following command:
sudo su -l hcat -c "/usr/lib/hcatalog/sbin/webhcat_server.sh start"
Smoke test WebHCat. On the WebHCat host machine, execute the following command:
http://$WEBHCAT_HOST_MACHINE:50111/templeton/v1/status
Remove shared libraries from old Templeton installation. On the WebHCat host machine, execute the following command:
sudo su -l hdfs -c "hadoop dfs -rmr -skipTrash /apps/templeton" rm -rf /usr/share/HDP-templeton