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 $WEBHCAT_USER -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_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...