文档

GetDoctorHBaseCluster - 获取 HBase 集群信息

更新时间:

获取 HBase 集群维度指标信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
RegionIdstring

地域 ID。

cn-hangzhou
ClusterIdstring

集群 ID。

c-b933c5aac8fe****
DateTimestring

日期。

2023-01-01

返回参数

名称类型描述示例值
object

返回数据

Dataobject

返回数据。

Metricsobject

指标信息。

TableCountobject

表数量。

Namestring

指标名称。

tableCount
Valuelong

指标值。

10
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Number of tables
TotalDataSizeobject

集群大小。

Namestring

指标名称。

totalDataSize
Valuelong

指标值。

256
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Total data size in megabytes (MB)
TotalReadRequestobject

总的读取请求次数。

Namestring

指标名称。

totalReadRequest
Valuelong

指标值。

430
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Total number of read requests
TotalWriteRequestobject

总的写入请求次数

Namestring

指标名称。

totalWriteRequest
Valuelong

指标值。

520
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Total number of write requests
AvgLoadobject

平均负载。

Namestring

指标名称。

avgLoad
Valuefloat

指标值。

36.0
Unitstring

指标单位。

""
Descriptionstring

指标描述。

The average load under normal working conditions
NormalAvgLoadobject

正常的平均负载。

Namestring

指标名称。

normalAvgLoad
Valuefloat

指标值。

526.4
Unitstring

指标单位。

""
Descriptionstring

指标描述。

The average load under normal working conditions
RegionBalanceobject

region 均衡度。

Namestring

指标名称。

regionBalance
Valuefloat

指标值。

1.0
Unitstring

指标单位。

""
Descriptionstring

指标描述。

The ability to evenly distribute Regions on different RegionServer nodes
TotalRequestobject

集群请求总数。

Namestring

指标名称。

totalRequest
Valuelong

指标值。

576
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Total number of requests
RegionServerCountobject

Region Server 数量。

Namestring

指标名称。

regionServerCount
Valuelong

指标值。

6
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Number of region servers count
RegionCountobject

Region 数量。

Namestring

指标名称。

regionCount
Valuelong

指标值。

161
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Number of regions count
MemHeapobject

内存大小。

Namestring

指标名称。

memHeap
Valuelong

指标值。

240
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Memory heap usage in megabytes (MB)
StoreFileCountobject

store file 个数。

Namestring

指标名称。

storeFileCount
Valuelong

指标值。

298
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Number of store files
DailyReadRequestobject

单日的读请求数量。

Namestring

指标名称。

dailyReadRequest
Valuelong

指标值。

430
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Number of read requests per day
DailyWriteRequestobject

单日的写请求数量。

Namestring

指标名称。

dailyWriteRequest
Valuelong

指标值。

128
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Number of write requests per day
Analysisobject

分析结果。

HbaseScoreinteger

HBase 集群整体得分。

85
RequestIdstring

请求 ID。

DD6B1B2A-5837-5237-ABE4-FF0C8944****

示例

正常返回示例

JSON格式

{
  "Data": {
    "Metrics": {
      "TableCount": {
        "Name": "tableCount",
        "Value": 10,
        "Unit": "\"\"",
        "Description": "Number of tables"
      },
      "TotalDataSize": {
        "Name": "totalDataSize",
        "Value": 256,
        "Unit": "MB",
        "Description": "Total data size in megabytes (MB)"
      },
      "TotalReadRequest": {
        "Name": "totalReadRequest",
        "Value": 430,
        "Unit": "\"\"",
        "Description": "Total number of read requests"
      },
      "TotalWriteRequest": {
        "Name": "totalWriteRequest",
        "Value": 520,
        "Unit": "\"\"",
        "Description": "Total number of write requests"
      },
      "AvgLoad": {
        "Name": "avgLoad",
        "Value": 36,
        "Unit": "\"\"",
        "Description": "The average load under normal working conditions"
      },
      "NormalAvgLoad": {
        "Name": "normalAvgLoad",
        "Value": 526.4,
        "Unit": "\"\"",
        "Description": "The average load under normal working conditions"
      },
      "RegionBalance": {
        "Name": "regionBalance",
        "Value": 1,
        "Unit": "\"\"",
        "Description": "The ability to evenly distribute Regions on different RegionServer nodes"
      },
      "TotalRequest": {
        "Name": "totalRequest",
        "Value": 576,
        "Unit": "\"\"",
        "Description": "Total number of requests"
      },
      "RegionServerCount": {
        "Name": "regionServerCount",
        "Value": 6,
        "Unit": "\"\"",
        "Description": "Number of region servers count"
      },
      "RegionCount": {
        "Name": "regionCount",
        "Value": 161,
        "Unit": "\"\"",
        "Description": "Number of regions count"
      },
      "MemHeap": {
        "Name": "memHeap",
        "Value": 240,
        "Unit": "MB",
        "Description": "Memory heap usage in megabytes (MB)"
      },
      "StoreFileCount": {
        "Name": "storeFileCount",
        "Value": 298,
        "Unit": "\"\"",
        "Description": "Number of store files"
      },
      "DailyReadRequest": {
        "Name": "dailyReadRequest",
        "Value": 430,
        "Unit": "\"\"",
        "Description": "Number of read requests per day"
      },
      "DailyWriteRequest": {
        "Name": "dailyWriteRequest",
        "Value": 128,
        "Unit": "\"\"",
        "Description": "Number of write requests per day"
      }
    },
    "Analysis": {
      "HbaseScore": 85
    }
  },
  "RequestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****"
}

错误码

HTTP status code错误码错误信息描述
400ConflictParametersParameters that must not be used together. %s多个参数间存在冲突。
400IncompleteSignatureThe request signature is invalid.API请求签名不合法。
400InvalidActionThe action %s requested is invalid.不合法的Action。
400InvalidParameterThe specified parameter %s is not valid.参数错误。
400InvalidParameterValueThe input parameter %s is invalid or out of range.参数值超出范围。
400MissingActionThe action %s requested is missing.缺少Action参数
400MissingParameterThe input parameter %s that is mandatory for processing this request is not supplied.参数缺失。
400NotAuthorizedYou do not have permission to perform this action. %s没有权限。
400ThrottlingExceptionThe request was denied due to request throttling. %s限流。
404ResourceNotFoundThe resource not found by %s.请求的资源未找到。
500InternalErrorThe request processing has failed due to some unknown error, exception or failure.内部错误。
503ServiceFailureThe request has failed due to a temporary failure of %s service.依赖的阿里云其他服务不可用。
503ServiceUnavailableThe request has failed due to a temporary failure of the server.请求超时或者服务不可用。

访问错误中心查看更多错误码。

  • 本页导读 (1)
文档反馈