全部產品
Search
文件中心

E-MapReduce:GetDoctorHDFSCluster - 擷取HDFS分析結果

更新時間:Dec 22, 2025

通過EMR Doctor擷取叢集HDFS資料分析結果。

介面說明

list Doctor HBaseTableRegions

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

emr:GetDoctorHDFSCluster

get

*全部資源

*

請求參數

名稱

類型

必填

描述

樣本值

RegionId

string

地區 ID。

cn-hangzhou

ClusterId

string

叢集 ID。

c-b933c5aac8fe****

DateTime

string

其日期和時間資訊以 ISO 8601 格式表示, 例如:2023 年 1 月 1 日為 2023-01-01。

2023-01-01

返回參數

名稱

類型

描述

樣本值

object

返回資料

Data

object

HDFS 分析資料。

Metrics

object

指標資訊。

LargeFileCount

object

大檔案個數。大檔案指的是 1 GB 以上大小的檔案。

Name

string

指標名稱。

largeFileCount

Value

integer

指標值。

123

Unit

string

指標單位。

”“

Description

string

指標描述。

Number of large files

MediumFileCount

object

中檔案個數。中檔案指的是 128 MB 以上,1 GB 以下大小的檔案。

Name

string

指標名稱。

mediumFileCount

Value

integer

指標值。

234

Unit

string

指標單位。

”“

Description

string

指標描述。

Number of medium files

SmallFileCount

object

小檔案個數。小檔案指的是 10 MB 以上,128 MB 以下大小的檔案。

Name

string

指標名稱。

smallFileCount

Value

integer

指標值。

12345

Unit

string

指標單位。

”“

Description

string

指標描述。

Number of small files

TinyFileCount

object

極小檔案個數。極小檔案指的是 0 MB 以上,10 MB 以下大小的檔案。

Name

string

指標名稱。

tinyFileCount

Value

integer

指標值。

232131

Unit

string

指標單位。

”“

Description

string

指標描述。

Number of tiny files

EmptyFileCount

object

空檔案個數。空檔案指的是 0 MB 大小的檔案。

Name

string

指標名稱。

emptyFileCount

Value

integer

指標值。

15595897

Unit

string

指標單位。

”“

Description

string

指標描述。

Number of empty files

TotalFileCount

object

總檔案個數。

Name

string

指標名稱。

totalFileCount

Value

integer

指標值。

51683279

Unit

string

指標單位。

”“

Description

string

指標描述。

Number of total files

HotDataSize

object

熱資料的資料量大小。熱資料指的是 7 日內有訪問的資料。

Name

string

指標名稱。

hotDataSize

Value

integer

指標值。

6701531944206

Unit

string

指標單位。

MB

Description

string

指標描述。

Size of the hot data size

WarmDataSize

object

溫資料的資料量大小。溫資料指的是 7 日內沒有訪問的資料,但是 30 日以內有訪問的資料。

Name

string

指標名稱。

warmDataSize

Value

integer

指標值。

4062349775577

Unit

string

指標單位。

MB

Description

string

指標描述。

Size of the warm data size

ColdDataSize

object

冷資料的資料量大小。冷資料指的是 30 日內沒有訪問的資料,但是 90 日以內有訪問的資料。

Name

string

指標名稱。

coldDataSize

Value

integer

指標值。

5570958082267

Unit

string

指標單位。

MB

Description

string

指標描述。

Size of the cold data size

FreezeDataSize

object

極冷資料的資料量大小。極冷資料指的是 90 日以內都沒有訪問的資料。

Name

string

指標名稱。

freezeDataSize

Value

integer

指標值。

1231312431

Unit

string

指標單位。

MB

Description

string

指標描述。

Size of the freeze data size

TotalDataSize

object

總資料量大小。

Name

string

指標名稱。

totalDataSize

Value

integer

指標值。

62086342083623

Unit

string

指標單位。

MB

Description

string

指標描述。

Total data size in megabytes (MB)

LargeFileRatio

object

大檔案個數佔比。大檔案指的是 1 GB 以上大小的檔案。

Name

string

指標名稱。

largeFileRatio

Value

number

指標值。

0.22

Unit

string

指標單位。

”“

Description

string

指標描述。

Ratio of large files

MediumFileRatio

object

中檔案個數佔比。中檔案指的是 128 MB 以上,1 GB 以下大小的檔案。

Name

string

指標名稱。

mediumFileRatio

Value

number

指標值。

0.21

Unit

string

指標單位。

”“

Description

string

指標描述。

Ratio of medium files

SmallFileRatio

object

小檔案個數佔比。小檔案指的是 10 MB 以上,128 MB 以下大小的檔案。

Name

string

指標名稱。

smallFileRatio

Value

number

指標值。

0.19

Unit

string

指標單位。

”“

Description

string

指標描述。

Ratio of small files

TinyFileRatio

object

極小檔案個數佔比。極小檔案指的是 0 MB 以上,10 MB 以下大小的檔案。

Name

string

指標名稱。

tinyFileRatio

Value

number

指標值。

0.19

Unit

string

指標單位。

”“

Description

string

指標描述。

Ratio of tiny files

EmptyFileRatio

object

空檔案個數佔比。空檔案指的是 0 MB 大小的檔案。

Name

string

指標名稱。

emptyFileRatio

Value

number

指標值。

0.3

Unit

string

指標單位。

""

Description

string

指標描述。

Ratio of empty files

HotDataRatio

object

熱資料的資料量大小佔比。熱資料指的是 7 日內有訪問的資料。

Name

string

指標名稱。

hotDataRatio

Value

number

指標值。

0.22

Unit

string

指標單位。

”“

Description

string

指標描述。

Hot data ratio

WarmDataRatio

object

溫資料的資料量大小佔比。溫資料指的是 7 日內沒有訪問的資料,但是 30 日以內有訪問的資料。

Name

string

指標名稱。

warmDataRatio

Value

number

指標值。

0.12

Unit

string

指標單位。

”“

Description

string

指標描述。

Ratio of warm data

ColdDataRatio

object

冷資料的資料量大小佔比。冷資料指的是 30 日內沒有訪問的資料,但是 90 日以內有訪問的資料。

Name

string

指標名稱。

coldDataRatio

Value

number

指標值。

0.01

Unit

string

指標單位。

”“

Description

string

指標描述。

Cold data ratio

FreezeDataRatio

object

極冷資料的資料量大小佔比。極冷資料指的是 90 日以內都沒有訪問的資料。

Name

string

指標名稱。

freezeDataRatio

Value

number

指標值。

0.12

Unit

string

指標單位。

”“

Description

string

指標描述。

Ratio of freeze data

TotalFileDayGrowthCount

object

總檔案個數日增量。

Name

string

指標名稱。

totalFileDayGrowthCount

Value

integer

指標值。

27809

Unit

string

指標單位。

“”

Description

string

指標描述。

Day growth count of total files

LargeFileDayGrowthCount

object

大檔案個數日增量。大檔案指的是 1 GB 以上大小的檔案。

Name

string

指標名稱。

largeFileDayGrowthCount

Value

integer

指標值。

2

Unit

string

指標單位。

“”

Description

string

指標描述。

Day growth count of large files

MediumFileDayGrowthCount

object

中檔案個數增量。比中檔案指的是 128 MB 以上,1 GB 以下大小的檔案。

Name

string

指標名稱。

mediumFileDayGrowthCount

Value

integer

指標值。

176

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth count of medium files

SmallFileDayGrowthCount

object

小檔案個數日增量。小檔案指的是 10 MB 以上,128 MB 以下大小的檔案。

Name

string

指標名稱。

smallFileDayGrowthCount

Value

integer

指標值。

12321

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth count of small files

TinyFileDayGrowthCount

object

極小檔案個數日增量。極小檔案指的是 0 MB 以上,10 MB 以下大小的檔案。

Name

string

指標名稱。

tinyFileDayGrowthCount

Value

integer

指標值。

-123

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth count of tiny files

EmptyFileDayGrowthCount

object

空檔案個數日增量。空檔案指的是 0 MB 大小的檔案。

Name

string

指標名稱。

emptyFileDayGrowthCount

Value

integer

指標值。

114

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth count of empty files

HotDataDayGrowthSize

object

熱資料的資料量日增量大小。熱資料指的是 7 日內有訪問的資料。

Name

string

指標名稱。

hotDataDayGrowthSize

Value

integer

指標值。

123154

Unit

string

指標單位。

MB

Description

string

指標描述。

Day growth size of hot data

WarmDataDayGrowthSize

object

溫資料的資料量日增量大小。溫資料指的是 7 日內沒有訪問的資料,但是 30 日以內有訪問的資料。

Name

string

指標名稱。

warmDataDayGrowthSize

Value

integer

指標值。

-64806998319

Unit

string

指標單位。

MB

Description

string

指標描述。

Day growth size of warm data

ColdDataDayGrowthSize

object

冷資料的資料量日增量大小。冷資料指的是 30 日內沒有訪問的資料,但是 90 日以內有訪問的資料。

Name

string

指標名稱。

coldDataDayGrowthSize

Value

integer

指標值。

-182636577752

Unit

string

指標單位。

MB

Description

string

指標描述。

Day growth size of cold data

FreezeDataDayGrowthSize

object

極冷資料的資料量日增量大小。極冷資料指的是 90 日以內都沒有訪問的資料。

Name

string

指標名稱。

freezeDataDayGrowthSize

Value

integer

指標值。

-167683929450

Unit

string

指標單位。

MB

Description

string

指標描述。

Day growth size of freeze data

TotalDataDayGrowthSize

object

全部資料的資料量日增量大小。

Name

string

指標名稱。

totalDataDayGrowthSize

Value

integer

指標值。

256482228248

Unit

string

指標單位。

MB

Description

string

指標描述。

Day growth size of total data

TotalFileCountDayGrowthRatio

object

總檔案個數日環比。

Name

string

指標名稱。

totalFileCountDayGrowthRatio

Value

number

指標值。

0.02

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth ratio of total files

LargeFileCountDayGrowthRatio

object

大檔案個數日環比。大檔案指的是 1 GB 以上大小的檔案。

Name

string

指標名稱。

largeFileCountDayGrowthRatio

Value

number

指標值。

0.39

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth ratio of large files

MediumFileCountDayGrowthRatio

object

中檔案個數日環比。比中檔案指的是 128 MB 以上,1 GB 以下大小的檔案。

Name

string

指標名稱。

mediumFileCountDayGrowthRatio

Value

number

指標值。

0.19

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth ratio of medium files

SmallFileCountDayGrowthRatio

object

小檔案個數日環比。小檔案指的是 10 MB 以上,128 MB 以下大小的檔案。

Name

string

指標名稱。

smallFileCountDayGrowthRatio

Value

number

指標值。

0.02

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth ratio of small files

TinyFileCountDayGrowthRatio

object

極小檔案個數日環比。極小檔案指的是 0 MB 以上,10 MB 以下大小的檔案。

Name

string

指標名稱。

tinyFileCountDayGrowthRatio

Value

number

指標值。

0.003

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth ratio of tiny files

EmptyFileCountDayGrowthRatio

object

空檔案個數日環比。空檔案指的是 0 MB 大小的檔案。

Name

string

指標名稱。

emptyFileCountDayGrowthRatio

Value

number

指標值。

0.005

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth ratio of empty files

HotDataSizeDayGrowthRatio

object

熱資料的資料量大小日環比。熱資料指的是 7 日內有訪問的資料。

Name

string

指標名稱。

hotDataSizeDayGrowthRatio

Value

number

指標值。

0.1114

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth ratio of hot data size

WarmDataSizeDayGrowthRatio

object

溫資料的資料量大小日環比。溫資料指的是 7 日內沒有訪問的資料,但是 30 日以內有訪問的資料。

Name

string

指標名稱。

warmDataSizeDayGrowthRatio

Value

number

指標值。

-0.015

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth ratio of warm data size

ColdDataSizeDayGrowthRatio

object

冷資料的資料量大小日環比。冷資料指的是 30 日內沒有訪問的資料,但是 90 日以內有訪問的資料。

Name

string

指標名稱。

coldDataSizeDayGrowthRatio

Value

number

指標值。

-0.03

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth ratio of cold data size

FreezeDataSizeDayGrowthRatio

object

極冷資料的資料量大小日環比。極冷資料指的是 90 日以內都沒有訪問的資料。

Name

string

指標名稱。

freezeDataSizeDayGrowthRatio

Value

number

指標值。

-0.09

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth ratio of freeze data size

TotalDataSizeDayGrowthRatio

object

總資料量大小日環比。

Name

string

指標名稱。

totalDataSizeDayGrowthRatio

Value

number

指標值。

0.14

Unit

string

指標單位。

”“

Description

string

指標描述。

Day growth ratio of total data size

Analysis

object

分析結果。

HdfsScore

integer

HDFS 整體評分。

55

RequestId

string

請求 ID。

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

樣本

正常返回樣本

JSON格式

{
  "Data": {
    "Metrics": {
      "LargeFileCount": {
        "Name": "largeFileCount",
        "Value": 123,
        "Unit": "”“",
        "Description": "Number of large files"
      },
      "MediumFileCount": {
        "Name": "mediumFileCount",
        "Value": 234,
        "Unit": "”“",
        "Description": "Number of medium files"
      },
      "SmallFileCount": {
        "Name": "smallFileCount",
        "Value": 12345,
        "Unit": "”“",
        "Description": "Number of small files"
      },
      "TinyFileCount": {
        "Name": "tinyFileCount",
        "Value": 232131,
        "Unit": "”“",
        "Description": "Number of tiny files"
      },
      "EmptyFileCount": {
        "Name": "emptyFileCount",
        "Value": 15595897,
        "Unit": "”“",
        "Description": "Number of empty files"
      },
      "TotalFileCount": {
        "Name": "totalFileCount",
        "Value": 51683279,
        "Unit": "”“",
        "Description": "Number of total files"
      },
      "HotDataSize": {
        "Name": "hotDataSize",
        "Value": 6701531944206,
        "Unit": "MB",
        "Description": "Size of the hot data size"
      },
      "WarmDataSize": {
        "Name": "warmDataSize",
        "Value": 4062349775577,
        "Unit": "MB",
        "Description": "Size of the warm data size"
      },
      "ColdDataSize": {
        "Name": "coldDataSize",
        "Value": 5570958082267,
        "Unit": "MB",
        "Description": "Size of the cold data size"
      },
      "FreezeDataSize": {
        "Name": "freezeDataSize",
        "Value": 1231312431,
        "Unit": "MB",
        "Description": "Size of the freeze data size"
      },
      "TotalDataSize": {
        "Name": "totalDataSize",
        "Value": 62086342083623,
        "Unit": "MB",
        "Description": "Total data size in megabytes (MB)"
      },
      "LargeFileRatio": {
        "Name": "largeFileRatio",
        "Value": 0.22,
        "Unit": "”“",
        "Description": "Ratio of large files"
      },
      "MediumFileRatio": {
        "Name": "mediumFileRatio",
        "Value": 0.21,
        "Unit": "”“",
        "Description": "Ratio of medium files"
      },
      "SmallFileRatio": {
        "Name": "smallFileRatio",
        "Value": 0.19,
        "Unit": "”“",
        "Description": "Ratio of small files"
      },
      "TinyFileRatio": {
        "Name": "tinyFileRatio",
        "Value": 0.19,
        "Unit": "”“",
        "Description": "Ratio of tiny files"
      },
      "EmptyFileRatio": {
        "Name": "emptyFileRatio",
        "Value": 0.3,
        "Unit": "\"\"",
        "Description": "Ratio of empty files"
      },
      "HotDataRatio": {
        "Name": "hotDataRatio",
        "Value": 0.22,
        "Unit": "”“",
        "Description": "Hot data ratio"
      },
      "WarmDataRatio": {
        "Name": "warmDataRatio",
        "Value": 0.12,
        "Unit": "”“",
        "Description": "Ratio of warm data"
      },
      "ColdDataRatio": {
        "Name": "coldDataRatio",
        "Value": 0.01,
        "Unit": "”“",
        "Description": "Cold data ratio"
      },
      "FreezeDataRatio": {
        "Name": "freezeDataRatio",
        "Value": 0.12,
        "Unit": "”“",
        "Description": "Ratio of freeze data"
      },
      "TotalFileDayGrowthCount": {
        "Name": "totalFileDayGrowthCount",
        "Value": 27809,
        "Unit": "“”",
        "Description": "Day growth count of total files"
      },
      "LargeFileDayGrowthCount": {
        "Name": "largeFileDayGrowthCount",
        "Value": 2,
        "Unit": "“”",
        "Description": "Day growth count of large files"
      },
      "MediumFileDayGrowthCount": {
        "Name": "mediumFileDayGrowthCount",
        "Value": 176,
        "Unit": "”“",
        "Description": "Day growth count of medium files"
      },
      "SmallFileDayGrowthCount": {
        "Name": "smallFileDayGrowthCount",
        "Value": 12321,
        "Unit": "”“",
        "Description": "Day growth count of small files"
      },
      "TinyFileDayGrowthCount": {
        "Name": "tinyFileDayGrowthCount",
        "Value": -123,
        "Unit": "”“",
        "Description": "Day growth count of tiny files"
      },
      "EmptyFileDayGrowthCount": {
        "Name": "emptyFileDayGrowthCount",
        "Value": 114,
        "Unit": "”“",
        "Description": "Day growth count of empty files"
      },
      "HotDataDayGrowthSize": {
        "Name": "hotDataDayGrowthSize",
        "Value": 123154,
        "Unit": "MB",
        "Description": "Day growth size of hot data"
      },
      "WarmDataDayGrowthSize": {
        "Name": "warmDataDayGrowthSize",
        "Value": -64806998319,
        "Unit": "MB",
        "Description": "Day growth size of warm data"
      },
      "ColdDataDayGrowthSize": {
        "Name": "coldDataDayGrowthSize",
        "Value": -182636577752,
        "Unit": "MB",
        "Description": "Day growth size of cold data"
      },
      "FreezeDataDayGrowthSize": {
        "Name": "freezeDataDayGrowthSize",
        "Value": -167683929450,
        "Unit": "MB",
        "Description": "Day growth size of freeze data"
      },
      "TotalDataDayGrowthSize": {
        "Name": "totalDataDayGrowthSize",
        "Value": 256482228248,
        "Unit": "MB",
        "Description": "Day growth size of total data"
      },
      "TotalFileCountDayGrowthRatio": {
        "Name": "totalFileCountDayGrowthRatio",
        "Value": 0.02,
        "Unit": "”“",
        "Description": "Day growth ratio of total files"
      },
      "LargeFileCountDayGrowthRatio": {
        "Name": "largeFileCountDayGrowthRatio",
        "Value": 0.39,
        "Unit": "”“",
        "Description": "Day growth ratio of large files"
      },
      "MediumFileCountDayGrowthRatio": {
        "Name": "mediumFileCountDayGrowthRatio",
        "Value": 0.19,
        "Unit": "”“",
        "Description": "Day growth ratio of medium files"
      },
      "SmallFileCountDayGrowthRatio": {
        "Name": "smallFileCountDayGrowthRatio",
        "Value": 0.02,
        "Unit": "”“",
        "Description": "Day growth ratio of small files"
      },
      "TinyFileCountDayGrowthRatio": {
        "Name": "tinyFileCountDayGrowthRatio",
        "Value": 0.003,
        "Unit": "”“",
        "Description": "Day growth ratio of tiny files"
      },
      "EmptyFileCountDayGrowthRatio": {
        "Name": "emptyFileCountDayGrowthRatio",
        "Value": 0.005,
        "Unit": "”“",
        "Description": "Day growth ratio of empty files"
      },
      "HotDataSizeDayGrowthRatio": {
        "Name": "hotDataSizeDayGrowthRatio",
        "Value": 0.1114,
        "Unit": "”“",
        "Description": "Day growth ratio of hot data size"
      },
      "WarmDataSizeDayGrowthRatio": {
        "Name": "warmDataSizeDayGrowthRatio",
        "Value": -0.015,
        "Unit": "”“",
        "Description": "Day growth ratio of warm data size"
      },
      "ColdDataSizeDayGrowthRatio": {
        "Name": "coldDataSizeDayGrowthRatio",
        "Value": -0.03,
        "Unit": "”“",
        "Description": "Day growth ratio of cold data size"
      },
      "FreezeDataSizeDayGrowthRatio": {
        "Name": "freezeDataSizeDayGrowthRatio",
        "Value": -0.09,
        "Unit": "”“",
        "Description": "Day growth ratio of freeze data size"
      },
      "TotalDataSizeDayGrowthRatio": {
        "Name": "totalDataSizeDayGrowthRatio",
        "Value": 0.14,
        "Unit": "”“",
        "Description": "Day growth ratio of total data size"
      }
    },
    "Analysis": {
      "HdfsScore": 55
    }
  },
  "RequestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****"
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 ConflictParameters Parameters that must not be used together. %s 多個參數間存在衝突。
400 IncompleteSignature The request signature is invalid. API請求籤名不合法。
400 InvalidAction The action %s requested is invalid. 不合法的Action。
400 InvalidParameter The specified parameter %s is not valid. 參數錯誤。
400 InvalidParameterValue The input parameter %s is invalid or out of range. 參數值超出範圍。
400 MissingAction The action %s requested is missing. 缺少Action參數
400 MissingParameter The input parameter %s that is mandatory for processing this request is not supplied. 參數缺失。
400 NotAuthorized You do not have permission to perform this action. %s 沒有許可權。
400 ThrottlingException The request was denied due to request throttling. %s 限流。
500 InternalError The request processing has failed due to some unknown error, exception or failure. 內部錯誤。
404 ResourceNotFound The resource not found by %s. 請求的資源未找到。
503 ServiceFailure The request has failed due to a temporary failure of %s service. 依賴的阿里雲其他服務不可用。
503 ServiceUnavailable The request has failed due to a temporary failure of the server. 請求逾時或者服務不可用。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情