8. Upgrade WebHCat (Templeton)

  1. Upgrade WebHCat.

    • For RHEL/CentOS:

      yum upgrade hive-webhcat webhcat-tar-hive webhcat-tar-pig
    • For SLES:

      Run the following command:

      zypper up hive-webhcat webhcat-tar-hive webhcat-tar-pig

    • For Ubuntu:

      apt-get install webhcat-tar-hive webhcat-tar-pig 

    Also see the instructions on manually deploying WebHCat instance provided here.

  2. You must replace your configuration after upgrading. Copy /etc/webhcat/conf from the template to the conf directory in webhcat hosts.

  3. Start WebHCat:

    sudo su -l $WEBHCAT_USER -c "/usr/lib/hive-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 

    If you are using a secure cluster, excecute the following command:

    curl --negotiate -u:  http://cluster.$PRINCIPAL.$REALM:50111/templeton/v1/status
    {"status":"ok","version":"v1"}[machine@acme]$


loading table of contents...