You can call this operation to create corresponding high availability Thrift or Phoenix services after you create a high availability HBase instance in a BDS cluster.
You can call this operation only after you create an HBase instance in a BDS cluster and obtain the high availability ID.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | CreateHbaseHaSlb |
The operation that you want to perform. Set the value to CreateHbaseHaSlb. |
BdsId | String | Yes | bds-t4n3496whj23ia4k |
The ID of the BDS cluster. |
HaId | String | Yes | ha-v21tmnxjwh2yuy1il |
The ID of the high availability service in BDS high availability management. |
HaTypes | String | Yes | thrift |
The type of the high availability service. Valid values: thrift phoenix |
HbaseType | String | Yes | Active |
Specifies whether to switch to the primary or secondary instance. Valid values: Active: switches to the primary instance. Standby: switches to the secondary instance. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | C9D568D9-A59C-4AF2-8FBB-F086A841D58E |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=CreateHbaseHaSlb
&BdsId=bds-t4n3496whj23ia4k
&HaId=ha-v21tmnxjwh2yuy1il
&HaTypes=thrift
&HbaseType=Active
&<Common request parameters>
Sample success responses
XML
format
<RequestId>C9D568D9-A59C-4AF2-8FBB-F086A841D58E</RequestId>
JSON
format
{
"RequestId":"C9D568D9-A59C-4AF2-8FBB-F086A841D58E"
}
Error codes
For a list of error codes, visit the API Error Center.