HBase REST server scaling in COD

Using Apache HBase REST API, you can scale up the HBase REST server for better connectivity to COD.

Multiple Knox Gateway servers are required to scale up the HBase REST servers and support the increased load, so you must have multiple gateway nodes. When you define multiple gateway nodes, the Apache Knox Gateway instances work in an HA mode, and the load is balanced among the multiple Knox instances. Each gateway node hosts an Apache Knox Gateway instance that provides access to the HBase REST server hosted on a REST worker node. The maximum number of gateway nodes supported is 10.

You can specify the required number of REST worker nodes using the --restworker-nodes-count option in the create-database command. This optional parameter can only be defined when you specify the --gateway-nodes-count option. Using the update-database command, you can scale up the number of the REST worker nodes after database creation. The default number of REST worker nodes supported is 0.

The recommended COD deployment type is Single-AZ to leverage the scaling of HBase REST servers.

Benefits of using a REST server

  • When a direct line of sight between the client and all HBase servers cannot be established, you can connect the client to a COD-deployed load balancer backed by Knox and REST servers, allowing seamless connectivity with COD.
  • This setup can leverage the HTTP authentication proxy, HTTP - HTTPS proxy, and OAuth proxy features of Knox. For example, Knox can act as an HTTP authentication proxy to support JWT for REST servers, with the flexibility to integrate other authentication providers as needed.
  • This setup is language-independent, which means you can use any client, regardless of the programming language, to interact with COD.