6. Upgrade WebHCat (Templeton)

  1. Upgrade WebHCat.

    • For RHEL/CentOS:

      yum upgrade webhcat*
    • For SLES:

      zypper update webhcat-tar-hive webhcat-tar-pig 

    Also see the instructions (provided here) for manually deploying a WebHCat instance.

  2. 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"          

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

    curl -s 'http://$WEBHCAT_HOST_MACHINE:50111/templeton/v1/status'

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


loading table of contents...