5.1.3. Upgrade WebHCat (Templeton)

Upgrade the WebHCat server across all WebHCat nodes. Existing connections to WebHCat will be dropped, so there is a possibility that one or more running jobs may fail.

WebHCat will not automatically retry these failed jobs. The workaround is to retry the job manually from the client. Run the following commands from $WEBHCAT_USER (for example, hcat).

Shut down the WebHCat server, switch to the new version, and start the server:

sudo su -l $WEBHCAT_USER -c "/usr/hdp/current/hive-webhcat/sbin/webhcat_server.sh stop"

hdp-select set hive-webhcat

sudo su -l $WEBHCAT_USER -c "/usr/hdp/current/hive-webhcat/sbin/webhcat_server.sh start"

Run the following validation tests; see Appendix A for more information:

  • Hive/MapReduce job

  • Hive/Tez job

  • WebHCat smoke test

If the tests complete successfully, continue with the next step.

loading table of contents...