文档

GetDoctorHBaseTable - 获取 HBase Table 信息

更新时间:

获取 HBase Table 信息。

调试

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

授权信息

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

请求参数

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

地域 ID。

cn-hangzhou
ClusterIdstring

集群 ID。

c-b933c5aac8fe****
DateTimestring

日期。

2023-01-01
TableNamestring

表名。

namespace1:tb_item

返回参数

名称类型描述示例值
object

返回数据

Dataobject

返回数据。

Metricsobject

指标信息。

RegionServerCountobject

RegionServer 数量。

Namestring

指标名称。

regionServerCount
Valuelong

使用量。

10
Unitstring

指标单位。

“”
Descriptionstring

指标描述。

Number of region servers count
RegionCountobject

region 数量。

Namestring

指标名称。

regionCount
Valuelong

指标值。

10
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Number of regions count
TableSizeobject

表大小。

Namestring

指标名称。

tableSize
Valuelong

指标值。

tb_item
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Size of the table
StoreFileCountobject

store file 个数。

Namestring

指标名称。

storeFileCount
Valuelong

指标值。

1000
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Number of store files
DailyReadRequestobject

单日的读请求数量。

Namestring

项目名称。

dailyReadRequest
Valuelong

指标值。

1000
Unitstring

指标单位。

""
Descriptionstring

指标描述。

test-update
DailyWriteRequestobject

单日的写请求数量。

Namestring

指标名称。

dailyWriteRequest
Valuelong

指标值。

1000
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Number of write requests per day
RegionBalanceobject

region 均衡度。

Namestring

指标名称。

regionBalance
Valuefloat

指标值。

1.0
Unitstring

指标单位。

""
Descriptionstring

指标描述。

The ability to evenly distribute Regions on different RegionServer nodes
RequestBalanceobject

请求均衡度。

Namestring

指标名称。

requestBalance
Valuefloat

指标值。

1.0
Unitstring

指标单位。

""
Descriptionstring

指标描述。

The balance of distributing requests
HotDataSizeobject

热数据大小。

Namestring

指标名称。

hotDataSize
Valuelong

指标值。

1000
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Size of the hot data size
WarmDataSizeobject

温数据大小。

Namestring

指标名称。

warmDataSize
Valuelong

使用率。

1000
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Size of the warm data size
ColdDataSizeobject

冷数据大小。

Namestring

指标名称。

coldDataSize
Valuelong

指标值。

1000
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Size of the cold data size
FreezeDataSizeobject

极冷数据大小。

Namestring

指标名称。

freezeDataSize
Valuelong

指标值。

1000
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Size of the freeze data size
WarmConfigDayobject

热数据访问天数配置。

Namestring

指标名称。

warmConfigDay
Valuelong

指标值。

1000
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Size of the warm data size
ColdConfigDayobject

冷数据访问天数配置。

Namestring

指标名称。

coldConfigDay
Valuelong

指标值。

10
Unitstring

指标单位。

day
Descriptionstring

指标描述。

Cold config day
FreezeConfigDayobject

冷数据访问天数配置。

Namestring

指标名称。

freezeConfigDay
Valuelong

指标值。

10
Unitstring

指标单位。

day
Descriptionstring

指标描述。

Freeze config day
Localityobject

本地化率。

Namestring

指标名称。

locality
Valuefloat

指标值。

0.5
Unitstring

指标单位。

""
Descriptionstring

指标描述。

The locality of data
ColdAccessDayobject

表多少天没被访问。

Namestring

指标名称。

coldAccessDay
Valuelong

指标值。

3
Unitstring

指标单位。

day
Descriptionstring

指标描述。

Cold access day
RegionCountDayGrowthRatioobject

region 个数日增量比例。

Namestring

指标名称。

regionCountDayGrowthRatio
Valuefloat

指标值。

0.8
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Day growth ratio of region count
TableSizeDayGrowthRatioobject

表大小日增量比例。

Namestring

指标名称。

tableSizeDayGrowthRatio
Valuefloat

指标值。

1.5
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Day growth ratio of table size
StoreFileCountDayGrowthRatioobject

store file 个数日增量比例。

Namestring

指标名称。

storeFileCountDayGrowthRatio
Valuefloat

指标值。

1.5
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Day growth ratio of store file count
DailyReadRequestDayGrowthRatioobject

单日读请求日增量比例。

Namestring

指标名称。

dailyReadRequestDayGrowthRatio
Valuefloat

指标值。

1.5
Unitstring

指标单位。

""
Descriptionstring

指标描述。

Day growth ratio of table size
DailyWriteRequestDayGrowthRatioobject

单日写请求日增量比例。

Namestring

指标名称。

dailyWriteRequestDayGrowthRatio
Valuefloat

指标值。

0.5
Unitstring

指标单位。

""
Descriptionstring

指标描述。

The balance of distributing requests
ReadRequestBalanceobject

读均衡度。

Namestring

指标名称。

readRequestBalance
Valuefloat

指标值。

0.5
Unitstring

指标单位。

""
Descriptionstring

指标描述。

The balance of distributing read requests
WriteRequestBalanceobject

写均衡度。

Namestring

指标名称。

writeRequestBalance
Valuefloat

指标值。

0.5
Unitstring

指标单位。

""
Descriptionstring

指标描述。

The balance of distributing write requests
Analysisobject

诊断结果。

TableScoreinteger

表打分。

85
RequestUnbalanceSuggestionstring

读写不均衡描述。

read request unbalance is <p class='report-detail-topic'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class='report-detail-ul'><li class='.report-detail-li'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class='.report-detail-li'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style='line-height: 16px; font-size: 16px; margin: 0 auto'>&nbsp;</p>
RequestHotspotRegionListarray

读写热点 region 列表。

string

读写热点 region。

5f019e8cf7c16be9768634cb99ccbe05
ReadRequestUnbalanceSuggestionstring

读不均衡描述。

read request unbalance is <p class='report-detail-topic'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class='report-detail-ul'><li class='.report-detail-li'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class='.report-detail-li'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style='line-height: 16px; font-size: 16px; margin: 0 auto'>&nbsp;</p>
ReadRequestHotspotRegionListarray

读热点 hotspot regions 列表。

string

读热点 hotspot regions 列表。

5f019e8cf7c16be9768634cb99ccbe05
WriteRequestUnbalanceSuggestionstring

写不均衡度描述。

write request unbalance is <p class='report-detail-topic'>表分区总数量为15,分区平均写请求数量为769954,以下分区存在写请求热点访问:</p><ul class='report-detail-ul'><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: 4a938c08750869c47b7a92edeeec2ccc 写请求数量: 2115051</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: b4d21974df92bdf3589e63e4da1fc923 写请求数量: 1592509</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: 25eb6717470f4ddbabe9187ff0fc0cb3 写请求数量: 1585420</li></ul><p style='line-height: 16px; font-size: 16px; margin: 0 auto'>&nbsp;</p>
WriteRequestHotspotRegionListarray

写热点 hotspot regions 列表。

string

写热点 hotspot regions。

5f019e8cf7c16be9768634cb99ccbe05
RequestIdstring

请求 ID。

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

示例

正常返回示例

JSON格式

{
  "Data": {
    "Metrics": {
      "RegionServerCount": {
        "Name": "regionServerCount",
        "Value": 10,
        "Unit": "“”",
        "Description": "Number of region servers count"
      },
      "RegionCount": {
        "Name": "regionCount",
        "Value": 10,
        "Unit": "\"\"",
        "Description": "Number of regions count"
      },
      "TableSize": {
        "Name": "tableSize",
        "Value": 0,
        "Unit": "\"\"",
        "Description": "Size of the table"
      },
      "StoreFileCount": {
        "Name": "storeFileCount",
        "Value": 1000,
        "Unit": "\"\"",
        "Description": "Number of store files"
      },
      "DailyReadRequest": {
        "Name": "dailyReadRequest",
        "Value": 1000,
        "Unit": "\"\"",
        "Description": "test-update"
      },
      "DailyWriteRequest": {
        "Name": "dailyWriteRequest",
        "Value": 1000,
        "Unit": "\"\"",
        "Description": "Number of write requests per day"
      },
      "RegionBalance": {
        "Name": "regionBalance",
        "Value": 1,
        "Unit": "\"\"",
        "Description": "The ability to evenly distribute Regions on different RegionServer nodes"
      },
      "RequestBalance": {
        "Name": "requestBalance",
        "Value": 1,
        "Unit": "\"\"",
        "Description": "The balance of distributing requests"
      },
      "HotDataSize": {
        "Name": "hotDataSize",
        "Value": 1000,
        "Unit": "MB",
        "Description": "Size of the hot data size"
      },
      "WarmDataSize": {
        "Name": "warmDataSize",
        "Value": 1000,
        "Unit": "MB",
        "Description": "Size of the warm data size\n"
      },
      "ColdDataSize": {
        "Name": "coldDataSize",
        "Value": 1000,
        "Unit": "\"\"",
        "Description": "Size of the cold data size"
      },
      "FreezeDataSize": {
        "Name": "freezeDataSize",
        "Value": 1000,
        "Unit": "MB",
        "Description": "Size of the freeze data size"
      },
      "WarmConfigDay": {
        "Name": "warmConfigDay",
        "Value": 1000,
        "Unit": "MB",
        "Description": "Size of the warm data size"
      },
      "ColdConfigDay": {
        "Name": "coldConfigDay",
        "Value": 10,
        "Unit": "day",
        "Description": "Cold config day"
      },
      "FreezeConfigDay": {
        "Name": "freezeConfigDay",
        "Value": 10,
        "Unit": "day",
        "Description": "Freeze config day\n"
      },
      "Locality": {
        "Name": "locality",
        "Value": 0.5,
        "Unit": "\"\"",
        "Description": "The locality of data"
      },
      "ColdAccessDay": {
        "Name": "coldAccessDay",
        "Value": 3,
        "Unit": "day",
        "Description": "Cold access day"
      },
      "RegionCountDayGrowthRatio": {
        "Name": "regionCountDayGrowthRatio",
        "Value": 0.8,
        "Unit": "\"\"",
        "Description": "Day growth ratio of region count"
      },
      "TableSizeDayGrowthRatio": {
        "Name": "tableSizeDayGrowthRatio",
        "Value": 1.5,
        "Unit": "\"\"",
        "Description": "Day growth ratio of table size"
      },
      "StoreFileCountDayGrowthRatio": {
        "Name": "storeFileCountDayGrowthRatio",
        "Value": 1.5,
        "Unit": "\"\"",
        "Description": "Day growth ratio of store file count"
      },
      "DailyReadRequestDayGrowthRatio": {
        "Name": "dailyReadRequestDayGrowthRatio",
        "Value": 1.5,
        "Unit": "\"\"",
        "Description": "Day growth ratio of table size"
      },
      "DailyWriteRequestDayGrowthRatio": {
        "Name": "dailyWriteRequestDayGrowthRatio",
        "Value": 0.5,
        "Unit": "\"\"",
        "Description": "The balance of distributing requests"
      },
      "ReadRequestBalance": {
        "Name": "readRequestBalance",
        "Value": 0.5,
        "Unit": "\"\"",
        "Description": "The balance of distributing read requests"
      },
      "WriteRequestBalance": {
        "Name": "writeRequestBalance",
        "Value": 0.5,
        "Unit": "\"\"",
        "Description": "The balance of distributing write requests"
      }
    },
    "Analysis": {
      "TableScore": 85,
      "RequestUnbalanceSuggestion": "read request unbalance is <p class='report-detail-topic'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class='report-detail-ul'><li class='.report-detail-li'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class='.report-detail-li'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style='line-height: 16px; font-size: 16px; margin: 0 auto'>&nbsp;</p>",
      "RequestHotspotRegionList": [
        "5f019e8cf7c16be9768634cb99ccbe05"
      ],
      "ReadRequestUnbalanceSuggestion": "read request unbalance is <p class='report-detail-topic'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class='report-detail-ul'><li class='.report-detail-li'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class='.report-detail-li'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style='line-height: 16px; font-size: 16px; margin: 0 auto'>&nbsp;</p>",
      "ReadRequestHotspotRegionList": [
        "5f019e8cf7c16be9768634cb99ccbe05"
      ],
      "WriteRequestUnbalanceSuggestion": "write request unbalance is <p class='report-detail-topic'>表分区总数量为15,分区平均写请求数量为769954,以下分区存在写请求热点访问:</p><ul class='report-detail-ul'><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: 4a938c08750869c47b7a92edeeec2ccc 写请求数量: 2115051</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: b4d21974df92bdf3589e63e4da1fc923 写请求数量: 1592509</li><li class='.report-detail-li'>RegionServer: emr-worker-2 Region Id: 25eb6717470f4ddbabe9187ff0fc0cb3 写请求数量: 1585420</li></ul><p style='line-height: 16px; font-size: 16px; margin: 0 auto'>&nbsp;</p>",
      "WriteRequestHotspotRegionList": [
        "5f019e8cf7c16be9768634cb99ccbe05"
      ]
    }
  },
  "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)