All Products
Search
Document Center

ApsaraDB for HBase:Integration overview

Last Updated:Jul 18, 2024

This topic describes the basic information and usage notes for calling ApsaraDB for HBase API operations.

Overview of OpenAPI Explorer

Alibaba Cloud provides OpenAPI Explorer for you to efficiently understand and use the API operations of various Alibaba Cloud services. OpenAPI Explorer integrates the following features for API operations: intelligent search, documentation, online debugging, SDK obtaining, sample code, call error diagnostics, and call statistics. In OpenAPI Explorer, you can call API operations of Alibaba Cloud services and view API requests and responses. In addition, OpenAPI Explorer automatically generates the corresponding SDK sample code to facilitate the use of Alibaba Cloud services. For more information, see What is an API?

Version description

Alibaba Cloud APIs use version numbers to manage the API operations of ApsaraDB for Hbase clusters with different architectures. The following table describes the API version supported by ApsaraDB for HBase.

Version

Description

2019-01-01

API operations of this version are suitable for all ApsaraDB for Hbase clusters.

Online debugging

ApsaraDB for Hbase provides features such as API debugging in OpenAPI Explorer. Before you call API operations, you must understand the following information provided by ApsaraDB for Hbase: versions, endpoints, and integration methods.

image

API debugging URL

You can click the API debugging URL link to debug the API operations of ApsaraDB for Hbase.

Endpoint description

You can select an endpoint based on the region where your resource resides to reduce latency. For example, the virtual private cloud (VPC) endpoint of ApsaraDB for HBase in the China (Qingdao) region is hbase.aliyuncs.com.

  • Public endpoints can be globally accessed.

  • VPCs are isolated from each other. Each VPC corresponds to a virtual network. VPC endpoints have the following benefits:

    • Higher security: VPC endpoints are accessible only within the corresponding VPCs. This provides higher security and privacy.

    • Faster response: VPC endpoints use the internal network environment to deliver faster responses than public endpoints. In addition, you are free from issues such as network latency and bandwidth limits.

    • Lower cost: VPC endpoints are accessed over an internal network.

For more information, see Request structure.

Supported user identities

After you log on to OpenAPI Explorer by using your Alibaba Cloud account, OpenAPI Explorer uses your Alibaba Cloud account to perform online debugging by default. An Alibaba Cloud account has permissions on all API operations. Security risks may arise if you use an Alibaba Cloud account to debug API operations online. We recommend that you use a RAM user to call API operations or perform routine O&M. Before you call API operations as a RAM user, grant the required permissions to the RAM user based on your business requirements. Make sure that the RAM user has the management permissions on ApsaraDB for Hbase. For more information, see Customize a RAM policy.

Identity

Supported

Alibaba Cloud account

Yes

RAM user (recommended)

Yes

RAM role (recommended)

Yes

Integration methods

ApsaraDB for Hbase provides multiple integration methods such as Alibaba Cloud SDKs and custom encapsulation. You can select an integration method based on your business requirements.

Note

SDKs are the most recommended method to call API operations because SDKs can be easily integrated.

Integration method

Supported

Alibaba Cloud SDKs

Yes

Alibaba Cloud CLI

Yes

Terraform

Yes

Resource Orchestration Service (ROS)

Yes

Custom encapsulation

Yes

Alibaba Cloud SDKs

  • Alibaba Cloud provides SDKs in multiple programming languages, such as Java, C#, Go, Python, PHP, and C++. SDKs free you from considering the implementation details of API operations, and standardize the identity, authentication, and signing rules. You need to only integrate SDKs and use the SDKs to directly call API operations. For more information about Alibaba Cloud SDKs, see Alibaba Cloud SDKs.

  • Alibaba Cloud SDKs can be used to call API operations of ApsaraDB for Hbase. For more information about the supported programming languages and dependency installation, see ApsaraDB for HBase.

Alibaba Cloud CLI

  • Alibaba Cloud CLI allows you to use aliyun commands in the CLI shell to interact with Alibaba Cloud services and manage cloud service resources. For more information about Alibaba Cloud CLI, see What is Alibaba Cloud CLI?

  • Alibaba Cloud CLI can be used to call API operations of ApsaraDB for Hbase. For more information, see the Call an RPC API section of the Call RPC API and RESTful API topic.

ROS

  • ROS is an Alibaba Cloud service that can simplify the management of cloud computing resources. You can create templates to define the required Alibaba Cloud resources such as Elastic Compute Service (ECS) and ApsaraDB RDS instances, and dependency relationships between the resources. The ROS engine automatically creates and configures all resources in a stack based on a template to implement automated deployment and O&M. For more information, see What is ROS?

  • ROS can be used to call API operations of ApsaraDB for Hbase. For more information about the resources and data sources supported by ROS, see Resources supported by ROS.

Custom encapsulation

You can encapsulate API requests based on your business requirements to call API operations. To make native HTTP calls, you must create custom requests and sign the requests. For more information about the signature mechanism, see Request syntax and signature method V3.

Usage notes

If an error is returned after you call an API operation, check whether the request parameters and the parameter values are valid based on the returned error code. For more information, see ApsaraDB for HBase - Error Codes.

You can also perform self-service diagnostics based on the returned request ID or SDK error information on the OpenAPI problem diagnosis page.