View a cluster's health status.
Operation description
For the service access address, see service endpoint.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeDBClusterHealthStatus |
list |
*DBClusterLakeVersion
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the Data Lakehouse Edition cluster. Note
You can call the DescribeDBClusters operation to query the IDs of clusters. |
amv-uf6o6m8p6x7v**** |
| RegionId |
string |
Yes |
The region ID of the cluster. Note
You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CS |
object |
The health status of the instance access nodes. |
|
| ActiveCount |
integer |
The number of healthy instance access nodes. |
0 |
| UnavailableCount |
integer |
The number of unavailable instance access nodes. |
1 |
| RiskCount |
integer |
The number of instance access nodes at risk. |
0 |
| ExpectedCount |
integer |
The total number of instance access nodes. |
1 |
| Status |
string |
The health status of the instance access nodes. Valid values:
|
UNAVAILABLE |
| Executor |
object |
The health status of the executor groups. |
|
| ActiveCount |
integer |
The number of healthy executor nodes. |
0 |
| UnavailableCount |
integer |
The number of unavailable executor nodes. |
1 |
| RiskCount |
integer |
The number of executor nodes at risk. |
0 |
| ExpectedCount |
integer |
The total number of executor nodes. |
1 |
| Status |
string |
The health status of the executor groups. Valid values:
|
UNAVAILABLE |
| Worker |
object |
The health status of the worker node groups. |
|
| ActiveCount |
integer |
The number of healthy worker node groups. |
0 |
| UnavailableCount |
integer |
The number of unavailable worker node groups. |
1 |
| RiskCount |
integer |
The number of worker node groups at risk. |
1 |
| ExpectedCount |
integer |
The total number of worker node groups. |
1 |
| Status |
string |
The health status of the worker node groups. Valid values:
|
UNAVAILABLE |
| InstanceStatus |
string |
The health status of the cluster. Valid values:
Note
The cluster health status is considered NORMAL only if the instance access nodes, executor groups, and worker node groups are all NORMAL, and the instance is responsive. If any of these components has a RISK status, the cluster status is RISK. If any component has an UNAVAILABLE status, the cluster status is UNAVAILABLE. |
NORMAL |
| RequestId |
string |
The request ID. |
1AD222E9-E606-4A42-BF6D-8A4442913CAV |
| AccessDeniedDetail |
string |
Details of the authentication failure. |
Authentication failed. |
Examples
Success response
JSON format
{
"CS": {
"ActiveCount": 0,
"UnavailableCount": 1,
"RiskCount": 0,
"ExpectedCount": 1,
"Status": "UNAVAILABLE"
},
"Executor": {
"ActiveCount": 0,
"UnavailableCount": 1,
"RiskCount": 0,
"ExpectedCount": 1,
"Status": "UNAVAILABLE"
},
"Worker": {
"ActiveCount": 0,
"UnavailableCount": 1,
"RiskCount": 1,
"ExpectedCount": 1,
"Status": "UNAVAILABLE"
},
"InstanceStatus": "NORMAL",
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CAV",
"AccessDeniedDetail": "Authentication failed."
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist. Make sure that the DBClusterId value is valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.