All Products
Search
Document Center

E-MapReduce:GetDoctorHBaseTable

Last Updated:Dec 12, 2024
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Get HBase Table information.

Operation description

get Doctor HBaseTable

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
emr:GetDoctorHBaseTableget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

Region ID.

cn-hangzhou
ClusterIdstringYes

Cluster ID.

c-b933c5aac8fe****
DateTimestringYes

Date.

2023-01-01
TableNamestringYes

Table name.

namespace1:tb_item

Response parameters

ParameterTypeDescriptionExample
object

Returned data

Dataobject

Returned data.

Metricsobject

Metrics information.

RegionServerCountobject

Number of RegionServers.

Namestring

Metric name.

regionServerCount
Valuelong

Usage.

10
Unitstring

Metric unit.

“”
Descriptionstring

Metric description.

Number of region servers count
RegionCountobject

Number of regions.

Namestring

Metric name.

regionCount
Valuelong

Metric value.

10
Unitstring

Metric unit.

""
Descriptionstring

Metric description.

Number of regions count
TableSizeobject

Table size.

Namestring

Metric name.

tableSize
Valuelong

Metric value.

tb_item
Unitstring

Unit of the metric

""
Descriptionstring

Description of the metric.

Size of the table
StoreFileCountobject

Number of store files.

Namestring

Name of the metric.

storeFileCount
Valuelong

Value of the metric.

1000
Unitstring

Unit of the metric.

""
Descriptionstring

Description of the metric.

Number of store files
DailyReadRequestobject

Number of read requests per day.

Namestring

Name of the item.

dailyReadRequest
Valuelong

Value of the metric.

1000
Unitstring

Unit of the metric.

""
Descriptionstring

Description of the metric.

test-update
DailyWriteRequestobject

Number of write requests per day.

Namestring

Name of the metric.

dailyWriteRequest
Valuelong

Value of the metric.

1000
Unitstring

Unit of the metric.

""
Descriptionstring

Description of the metric.

Number of write requests per day
RegionBalanceobject

Region balance.

Namestring

Metric name.

regionBalance
Valuefloat

The metric value.

1.0
Unitstring

The unit of the metric.

""
Descriptionstring

Description of the metric.

The ability to evenly distribute Regions on different RegionServer nodes
RequestBalanceobject

Request balance.

Namestring

Name of the metric.

requestBalance
Valuefloat

The metric value.

1.0
Unitstring

The unit of the metric.

""
Descriptionstring

Description of the metric.

The balance of distributing requests
HotDataSizeobject

Hot data size.

Namestring

Name of the metric.

hotDataSize
Valuelong

The metric value.

1000
Unitstring

The unit of the metric.

MB
Descriptionstring

Description of the metric.

Size of the hot data size
WarmDataSizeobject

Warm data size.

Namestring

Name of the metric.

warmDataSize
Valuelong

Usage rate.

1000
Unitstring

The unit of the metric.

MB
Descriptionstring

Description of the metric.

Size of the warm data size
ColdDataSizeobject

Cold data size.

Namestring

Metric name.

coldDataSize
Valuelong

Metric value.

1000
Unitstring

Metric unit.

""
Descriptionstring

Metric description.

Size of the cold data size
FreezeDataSizeobject

Frozen data size.

Namestring

Metric name.

freezeDataSize
Valuelong

Metric value.

1000
Unitstring

Metric unit.

MB
Descriptionstring

Metric description.

Size of the freeze data size
WarmConfigDayobject

Warm data access days configuration.

Namestring

Metric name.

warmConfigDay
Valuelong

Metric value.

1000
Unitstring

Metric unit.

MB
Descriptionstring

Metric description.

Size of the warm data size
ColdConfigDayobject

Cold data access days configuration.

Namestring

Metric name.

coldConfigDay
Valuelong

Metric value.

10
Unitstring

Unit of the metric.

day
Descriptionstring

Description of the metric.

Cold config day
FreezeConfigDayobject

Configuration for the number of days cold data is accessed.

Namestring

Name of the metric.

freezeConfigDay
Valuelong

Value of the metric.

10
Unitstring

Unit of the metric.

day
Descriptionstring

Description of the metric.

Freeze config day
Localityobject

Locality rate.

Namestring

Name of the metric.

locality
Valuefloat

Value of the metric.

0.5
Unitstring

Unit of the metric.

""
Descriptionstring

Description of the metric.

The locality of data
ColdAccessDayobject

Number of days the table has not been accessed.

Namestring

Name of the metric.

coldAccessDay
Valuelong

Value of the metric.

3
Unitstring

Unit of the metric.

day
Descriptionstring

Description of the metric.

Cold access day
RegionCountDayGrowthRatioobject

Daily incremental ratio of regions

Namestring

Metric name.

regionCountDayGrowthRatio
Valuefloat

Metric value.

0.8
Unitstring

Metric unit.

""
Descriptionstring

Metric description.

Day growth ratio of region count
TableSizeDayGrowthRatioobject

Daily growth ratio of table size.

Namestring

Metric name.

tableSizeDayGrowthRatio
Valuefloat

Metric value.

1.5
Unitstring

Metric unit.

""
Descriptionstring

Metric description.

Day growth ratio of table size
StoreFileCountDayGrowthRatioobject

Daily growth ratio of store file count.

Namestring

Metric name.

storeFileCountDayGrowthRatio
Valuefloat

Metric value.

1.5
Unitstring

Metric unit.

""
Descriptionstring

Metric description.

Day growth ratio of store file count
DailyReadRequestDayGrowthRatioobject

Daily growth ratio of daily read requests.

Namestring

Metric name.

dailyReadRequestDayGrowthRatio
Valuefloat

The value of the metric.

1.5
Unitstring

The unit of the metric.

""
Descriptionstring

Description of the metric.

Day growth ratio of table size
DailyWriteRequestDayGrowthRatioobject

Daily write request growth ratio.

Namestring

Name of the metric.

dailyWriteRequestDayGrowthRatio
Valuefloat

The value of the metric.

0.5
Unitstring

The unit of the metric.

""
Descriptionstring

Description of the metric.

The balance of distributing requests
ReadRequestBalanceobject

Read request balance.

Namestring

Name of the metric.

readRequestBalance
Valuefloat

The value of the metric.

0.5
Unitstring

The unit of the metric.

""
Descriptionstring

Description of the metric.

The balance of distributing read requests
WriteRequestBalanceobject

Write request balance.

Namestring

Name of the metric.

writeRequestBalance
Valuefloat

The value of the metric.

0.5
Unitstring

Unit of the metric.

""
Descriptionstring

Description of the metric.

The balance of distributing write requests
Analysisobject

Diagnostic results.

TableScoreinteger

Table score.

85
RequestUnbalanceSuggestionstring

Description of read/write imbalance.

RequestHotspotRegionListarray

List of read/write hotspot regions.

Stringstring

Read/write hotspot region.

5f019e8cf7c16be9768634cb99ccbe05
ReadRequestUnbalanceSuggestionstring

Description of read imbalance.

ReadRequestHotspotRegionListarray

List of read hotspot regions.

Stringstring

Read hotspot region.

5f019e8cf7c16be9768634cb99ccbe05
WriteRequestUnbalanceSuggestionstring

Description of write imbalance.

WriteRequestHotspotRegionListarray

List of write hotspot regions.

Stringstring

Write hotspot region.

5f019e8cf7c16be9768634cb99ccbe05
RequestIdstring

Request ID.

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

Examples

Sample success responses

JSONformat

{
  "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": "",
      "RequestHotspotRegionList": [
        "5f019e8cf7c16be9768634cb99ccbe05"
      ],
      "ReadRequestUnbalanceSuggestion": "",
      "ReadRequestHotspotRegionList": [
        "5f019e8cf7c16be9768634cb99ccbe05"
      ],
      "WriteRequestUnbalanceSuggestion": "",
      "WriteRequestHotspotRegionList": [
        "5f019e8cf7c16be9768634cb99ccbe05"
      ]
    }
  },
  "RequestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****"
}

Error codes

HTTP status codeError codeError message
400ConflictParametersParameters that must not be used together. %s
400IncompleteSignatureThe request signature is invalid.
400InvalidActionThe action %s requested is invalid.
400InvalidParameterThe specified parameter %s is not valid.
400InvalidParameterValueThe input parameter %s is invalid or out of range.
400MissingActionThe action %s requested is missing.
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.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history