This chapter describes how to set up the Knox Gateway for HA (high availability). Knox provides connectivity based failover functionality for service calls that can be made to more than one server instance in a cluster. Knox supports HA for HBase, Hive, Oozie, WebHCat, and WebHDFS.
Prerequisites before setting up the Knox Gateway for HA (high availability).
REST API access to HDFS in a cluster is provided by WebHDFS. The following properties for Knox WebHDFS must be enabled in the /etc/hadoop/conf/hdfs-site.xml configuration file. The example values shown in these properties are from an installed instance of the Hortonworks Sandbox.
Knox provides basic failover and retry functionality for REST API calls made to a service when service HA has been configured and enabled. To enable HA functionality in Knox, the following configurations must be added to the topology file.