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, cold and hot data separation, 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
- You have created an HBase cluster.
- The cluster status is In Service.
Procedure for Enabling Thrift Server
- Log in to the CloudTable console.
- Select a region in the upper left corner.
- Click Buy Cluster in the upper right corner.
- 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.
- Click the target cluster name. In the Cluster Information area on the cluster details page, obtain the Thrift Server IP address.
- Select the runtime language and configure the IP address. For details, see HBase Multi-Language Access.
Procedure for Disabling Thrift Server
- Log in to the CloudTable console.
- Select a region in the upper left corner.
- Select the cluster for which you want to disable Thrift Server and choose More > Disable Thrift Server.
- In the displayed window for disabling the Thrift Server service, click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot