Associates a database.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | XpackRelateDB |
The operation that you want to perform. Set the value to XpackRelateDB. |
ClusterId | String | Yes | ap-bp1qtz9rcbbt3**** |
The ID of the current Apache Spark instance. |
DbClusterIds | String | Yes | hb-bp16o0pd52e3**** |
The ID of the instance to associate with. |
RelateDbType | String | Yes | hbase |
The type of the database to associate with. Valid values for an Apache Spark instance:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 50373857-C47B-4B64-9332-D0B5280B**** |
The ID of the request. |
Examples
Sample requests
http(s)://hbase.aliyuncs.com/?Action=XpackRelateDB
&ClusterId=ap-bp1qtz9rcbbt3****
&DbClusterIds=hb-bp16o0pd52e3y****
&RelateDbType=hbase
&<Common request parameters>
Sample success responses
XML
format
<RequestId>50373857-C47B-4B64-9332-D0B5280B****</RequestId>
JSON
format
{
"RequestId": "50373857-C47B-4B64-9332-D0B5280B****"
}
Error codes
For a list of error codes, visit the API Error Center.