Advanced
Тема интерфейса

Connecting to the HBase Cluster Through the Thrift Server

The HBase Thrift Server operates as a service within the HBase cluster, offering a gateway to the HBase database via the Thrift protocol. This server is adept at producing both client and server code, accommodating a multitude of programming languages for diverse application needs.

Constraints

  • The Thrift Server supports the following programming languages: Python and C++.
  • The Thrift Server does not support features such as automatic hotspot self-healing and secondary indexing.
  • Thrift Server is deployed only on Core nodes.
  • Scaling out the Thrift Server is directly dependent on the scaling capabilities of the Core nodes.
  • If the Thrift Server encounters issues, services may be disrupted, especially when it is accessed via IP addresses.
  • The Thrift Serve feature is supported in only HBase 2.4.14 or later.
  • Thrift Server is disabled by default.

Prerequisites

Procedure for Enabling Thrift Server

  1. Log in to the CloudTable console.
  2. Select a region in the upper left corner.
  3. Click Buy Cluster in the upper right corner.
  4. Go to the Create Cluster page. On the cluster purchase page, select the HBase database engine and enable Thrift Server.

    You can also choose More > Enable Thrift Server in the Operation column on the cluster management page to enable Thrift Server.

  5. Click the target cluster name. In the Cluster Information area on the cluster details page, obtain the Thrift Server IP address.
  6. Select the runtime language and configure the IP address. For details, see "HBase Multi-Language Access" in the Developer Guide.

Procedure for Disabling Thrift Server

  1. Log in to the CloudTable console.
  2. Select a region in the upper left corner.
  3. Select the cluster for which you want to disable Thrift Server and choose More > Disable Thrift Server.
  4. In the displayed window for disabling the Thrift Server service, click OK.