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 $WEBHCAT_USER -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_USER -c "hadoop dfs -rmr -skipTrash /apps/templeton" rm -rf /usr/share/HDP-templeton
where
$WEBHCAT_USER
is the WebHCat Service user. For example,hcat
.$HDFS_USER
is the HDFS Service user. For example,hdfs
.