6. Upgrade WebHCat (Templeton)

  1. Remove old Templeton packages. On the Templeton host machine, execute the following commands:

    • For RHEL/CentOS:

      yum remove templeton\* 
                          
    • For SLES:

      zypper remove templeton\* 
                          
  2. 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.

  3. Start WebHCat. On the WebHCat host machine, execute the following command:

    sudo su -l hcat -c "/usr/lib/hcatalog/sbin/webhcat_server.sh start"
                    

  4. Smoke test WebHCat. On the WebHCat host machine, execute the following command:

     http://$WEBHCAT_HOST_MACHINE:50111/templeton/v1/status 

  5. 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 
                        


loading table of contents...