文档

GetDoctorHDFSDirectory - 获取HDFS特定目录分析结果

更新时间:

通过EMR Doctor获取集群HDFS特定目录数据分析结果,目录不超过5级。

调试

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

授权信息

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

请求参数

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

地域 ID。

cn-hangzhou
ClusterIdstring

集群 ID。

c-b933c5aac8fe****
DateTimestring

其日期和时间信息以 ISO 8601 格式表示, 例如:2023 年 1 月 1 日为 2023-01-01。

2023-01-01
DirPathstring

目录名称。目录不超过 5 级。

/tmp/test

返回参数

名称类型描述示例值
object

返回数据

Dataobject

HDFS 目录分析数据。

Depthinteger

目录层级。

2
Userstring

目录属主。

DW
Groupstring

目录属组。

DW
Metricsobject

指标信息。

TotalFileCountobject

总文件个数。

Namestring

指标名称。

totalFileCount
Valuelong

指标值。

51683279
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Number of total files
LargeFileCountobject

大文件个数。大文件指的是 1 GB 以上大小的文件。

Namestring

指标名称。

largeFileCount
Valuelong

指标值。

123
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Number of large files
MediumFileCountobject

中文件个数。中文件指的是 128 MB 以上,1 GB 以下大小的文件。

Namestring

指标名称。

mediumFileCount
Valuelong

指标值。

234
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Number of medium files
SmallFileCountobject

小文件个数。小文件指的是 10 MB 以上,128 MB 以下大小的文件。

Namestring

指标名称。

smallFileCount
Valuelong

指标值。

12345
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Number of small files
TinyFileCountobject

极小文件个数。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。

Namestring

指标名称。

tinyFileCount
Valuelong

指标值。

232131
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Number of tiny files
EmptyFileCountobject

空文件个数。空文件指的是 0 MB 大小的文件。

Namestring

指标名称。

emptyFileCount
Valuelong

指标值。

15595897
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Number of empty files
HotDataSizeobject

热数据的数据量大小。热数据指的是 7 日内有访问的数据。

Namestring

指标名称。

hotDataSize
Valuelong

指标值。

6701531944206
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Size of the hot data size
WarmDataSizeobject

温数据的数据量大小。温数据指的是 7 日内没有访问的数据,但是 30 日以内有访问的数据。

Namestring

指标名称。

warmDataSize
Valuelong

指标值。

4062349775577
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Size of the warm data size
ColdDataSizeobject

冷数据的数据量大小。冷数据指的是 30 日内没有访问的数据,但是 90 日以内有访问的数据。

Namestring

指标名称。

coldDataSize
Valuelong

指标值。

5570958082267
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Size of the cold data size
FreezeDataSizeobject

极冷数据的数据量大小。极冷数据指的是 90 日以内都没有访问的数据。

Namestring

指标名称。

freezeDataSize
Valuelong

指标值。

1231312431
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Size of the freeze data size
TotalDataSizeobject

总数据量大小。

Namestring

指标名称。

totalDataSize
Valuelong

指标值。

62086342083623
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Total data size in megabytes (MB)
TotalFileDayGrowthCountobject

总文件个数日增量。

Namestring

指标名称。

totalFileDayGrowthCount
Valuelong

指标值。

27809
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth count of total files
LargeFileDayGrowthCountobject

大文件个数日增量。大文件指的是 1 GB 以上大小的文件。

Namestring

指标名称。

largeFileDayGrowthCount
Valuelong

指标值。

2
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth count of large files
MediumFileDayGrowthCountobject

中文件个数增量。比中文件指的是 128 MB 以上,1 GB 以下大小的文件。

Namestring

指标名称。

mediumFileDayGrowthCount
Valuelong

指标值。

176
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth count of medium files
SmallFileDayGrowthCountobject

小文件个数日增量。小文件指的是 10 MB 以上,128 MB 以下大小的文件。

Namestring

指标名称。

smallFileDayGrowthCount
Valuelong

指标值。

12345
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth count of small files
TinyFileDayGrowthCountobject

极小文件个数日增量。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。

Namestring

指标名称。

tinyFileDayGrowthCount
Valuelong

指标值。

-123
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth count of tiny files
EmptyFileDayGrowthCountobject

空文件个数日增量。空文件指的是 0 MB 大小的文件。

Namestring

指标名称。

emptyFileDayGrowthCount
Valuelong

指标值。

114
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth count of empty files
HotDataDayGrowthSizeobject

热数据的数据量日增量大小。热数据指的是 7 日内有访问的数据。

Namestring

指标名称。

hotDataDayGrowthSize
Valuelong

指标值。

123154
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Day growth size of hot data
WarmDataDayGrowthSizeobject

温数据的数据量日增量大小。温数据指的是 7 日内没有访问的数据,但是 30 日以内有访问的数据。

Namestring

指标名称。

warmDataDayGrowthSize
Valuelong

指标值。

-64806998319
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Day growth size of warm data
ColdDataDayGrowthSizeobject

冷数据的数据量日增量大小。冷数据指的是 30 日内没有访问的数据,但是 90 日以内有访问的数据。

Namestring

指标名称。

coldDataDayGrowthSize
Valuelong

指标值。

-182636577752
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Day growth size of cold data
FreezeDataDayGrowthSizeobject

极冷数据的数据量日增量大小。极冷数据指的是 90 日以内都没有访问的数据。

Namestring

指标名称。

freezeDataDayGrowthSize
Valuelong

指标值。

-167683929450
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Day growth size of freeze data
TotalDataDayGrowthSizeobject

全部数据的数据量日增量大小。

Namestring

指标名称。

totalDataDayGrowthSize
Valuelong

指标值。

256482228248
Unitstring

指标单位。

MB
Descriptionstring

指标描述。

Day growth size of total data
TotalFileCountDayGrowthRatioobject

总文件个数日环比。

Namestring

指标名称。

totalFileCountDayGrowthRatio
Valuefloat

指标值。

0.02
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth ratio of total files
LargeFileCountDayGrowthRatioobject

大文件个数日环比。大文件指的是 1 GB 以上大小的文件。

Namestring

指标名称。

largeFileCountDayGrowthRatio
Valuefloat

指标值。

0.39
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth ratio of large files
MediumFileCountDayGrowthRatioobject

中文件个数日环比。比中文件指的是 128 MB 以上,1 GB 以下大小的文件。

Namestring

指标名称。

mediumFileCountDayGrowthRatio
Valuefloat

指标值。

0.19
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth ratio of medium files
SmallFileCountDayGrowthRatioobject

小文件个数日环比。小文件指的是 10 MB 以上,128 MB 以下大小的文件。

Namestring

指标名称。

smallFileCountDayGrowthRatio
Valuefloat

指标值。

0.02
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth ratio of small files
TinyFileCountDayGrowthRatioobject

极小文件个数日环比。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。

Namestring

指标名称。

tinyFileCountDayGrowthRatio
Valuefloat

指标值。

0.003
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth ratio of tiny files
EmptyFileCountDayGrowthRatioobject

空文件个数日环比。空文件指的是 0 MB 大小的文件。

Namestring

指标名称。

emptyFileCountDayGrowthRatio
Valuefloat

指标值。

0.005
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth ratio of empty files
HotDataSizeDayGrowthRatioobject

热数据的数据量大小日环比。热数据指的是 7 日内有访问的数据。

Namestring

指标名称。

hotDataSizeDayGrowthRatio
Valuefloat

指标值。

0.1114
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth ratio of hot data size
WarmDataSizeDayGrowthRatioobject

温数据的数据量大小日环比。温数据指的是 7 日内没有访问的数据,但是 30 日以内有访问的数据。

Namestring

指标名称。

warmDataSizeDayGrowthRatio
Valuefloat

指标值。

-0.015
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth ratio of warm data size
ColdDataSizeDayGrowthRatioobject

冷数据的数据量大小日环比。冷数据指的是 30 日内没有访问的数据,但是 90 日以内有访问的数据。

Namestring

指标名称。

coldDataSizeDayGrowthRatio
Valuefloat

指标值。

-0.03
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth ratio of cold data size
FreezeDataSizeDayGrowthRatioobject

极冷数据的数据量大小日环比。极冷数据指的是 90 日以内都没有访问的数据。

Namestring

指标名称。

freezeDataSizeDayGrowthRatio
Valuefloat

指标值。

-0.09
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth ratio of freeze data size
TotalDataSizeDayGrowthRatioobject

总数据量大小日环比。

Namestring

指标名称。

totalDataSizeDayGrowthRatio
Valuefloat

指标值。

0.14
Unitstring

指标单位。

”“
Descriptionstring

指标描述。

Day growth ratio of total data size
RequestIdstring

请求 ID。

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

示例

正常返回示例

JSON格式

{
  "Data": {
    "Depth": 2,
    "User": "DW",
    "Group": "DW",
    "Metrics": {
      "TotalFileCount": {
        "Name": "totalFileCount",
        "Value": 51683279,
        "Unit": "”“",
        "Description": "Number of total files\n"
      },
      "LargeFileCount": {
        "Name": "largeFileCount",
        "Value": 123,
        "Unit": "”“",
        "Description": "Number of large files\n"
      },
      "MediumFileCount": {
        "Name": "mediumFileCount",
        "Value": 234,
        "Unit": "”“",
        "Description": "Number of medium files\n"
      },
      "SmallFileCount": {
        "Name": "smallFileCount",
        "Value": 12345,
        "Unit": "”“",
        "Description": "Number of small files\n"
      },
      "TinyFileCount": {
        "Name": "tinyFileCount",
        "Value": 232131,
        "Unit": "”“\n",
        "Description": "Number of tiny files\n"
      },
      "EmptyFileCount": {
        "Name": "emptyFileCount",
        "Value": 15595897,
        "Unit": "”“",
        "Description": "Number of empty files\n"
      },
      "HotDataSize": {
        "Name": "hotDataSize",
        "Value": 6701531944206,
        "Unit": "MB",
        "Description": "Size of the hot data size\n"
      },
      "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\n"
      },
      "FreezeDataSize": {
        "Name": "freezeDataSize",
        "Value": 1231312431,
        "Unit": "MB",
        "Description": "Size of the freeze data size\n"
      },
      "TotalDataSize": {
        "Name": "totalDataSize\n",
        "Value": 62086342083623,
        "Unit": "MB",
        "Description": "Total data size in megabytes (MB)\n"
      },
      "TotalFileDayGrowthCount": {
        "Name": "totalFileDayGrowthCount",
        "Value": 27809,
        "Unit": "”“",
        "Description": "Day growth count of total files\n"
      },
      "LargeFileDayGrowthCount": {
        "Name": "largeFileDayGrowthCount",
        "Value": 2,
        "Unit": "”“",
        "Description": "Day growth count of large files\n"
      },
      "MediumFileDayGrowthCount": {
        "Name": "mediumFileDayGrowthCount",
        "Value": 176,
        "Unit": "”“",
        "Description": "Day growth count of medium files\n"
      },
      "SmallFileDayGrowthCount": {
        "Name": "smallFileDayGrowthCount",
        "Value": 12345,
        "Unit": "”“",
        "Description": "Day growth count of small files\n"
      },
      "TinyFileDayGrowthCount": {
        "Name": "tinyFileDayGrowthCount",
        "Value": -123,
        "Unit": "”“\n",
        "Description": "Day growth count of tiny files\n"
      },
      "EmptyFileDayGrowthCount": {
        "Name": "emptyFileDayGrowthCount\n",
        "Value": 114,
        "Unit": "”“\n",
        "Description": "Day growth count of empty files\n"
      },
      "HotDataDayGrowthSize": {
        "Name": "hotDataDayGrowthSize",
        "Value": 123154,
        "Unit": "MB\n",
        "Description": "Day growth size of hot data\n"
      },
      "WarmDataDayGrowthSize": {
        "Name": "warmDataDayGrowthSize",
        "Value": -64806998319,
        "Unit": "MB",
        "Description": "Day growth size of warm data\n"
      },
      "ColdDataDayGrowthSize": {
        "Name": "coldDataDayGrowthSize",
        "Value": -182636577752,
        "Unit": "MB",
        "Description": "Day growth size of cold data\n"
      },
      "FreezeDataDayGrowthSize": {
        "Name": "freezeDataDayGrowthSize",
        "Value": -167683929450,
        "Unit": "MB",
        "Description": "Day growth size of freeze data\n"
      },
      "TotalDataDayGrowthSize": {
        "Name": "totalDataDayGrowthSize",
        "Value": 256482228248,
        "Unit": "MB",
        "Description": "Day growth size of total data\n"
      },
      "TotalFileCountDayGrowthRatio": {
        "Name": "totalFileCountDayGrowthRatio\n",
        "Value": 0.02,
        "Unit": "”“",
        "Description": "Day growth ratio of total files\n"
      },
      "LargeFileCountDayGrowthRatio": {
        "Name": "largeFileCountDayGrowthRatio",
        "Value": 0.39,
        "Unit": "”“\n",
        "Description": "Day growth ratio of large files\n"
      },
      "MediumFileCountDayGrowthRatio": {
        "Name": "mediumFileCountDayGrowthRatio",
        "Value": 0.19,
        "Unit": "”“\n",
        "Description": "Day growth ratio of medium files\n"
      },
      "SmallFileCountDayGrowthRatio": {
        "Name": "smallFileCountDayGrowthRatio",
        "Value": 0.02,
        "Unit": "”“\n",
        "Description": "Day growth ratio of small files\n"
      },
      "TinyFileCountDayGrowthRatio": {
        "Name": "tinyFileCountDayGrowthRatio",
        "Value": 0.003,
        "Unit": "”“\n",
        "Description": "Day growth ratio of tiny files\n"
      },
      "EmptyFileCountDayGrowthRatio": {
        "Name": "emptyFileCountDayGrowthRatio",
        "Value": 0.005,
        "Unit": "”“",
        "Description": "Day growth ratio of empty files\n"
      },
      "HotDataSizeDayGrowthRatio": {
        "Name": "hotDataSizeDayGrowthRatio",
        "Value": 0.1114,
        "Unit": "”“\n",
        "Description": "Day growth ratio of hot data size\n"
      },
      "WarmDataSizeDayGrowthRatio": {
        "Name": "warmDataSizeDayGrowthRatio",
        "Value": -0.015,
        "Unit": "”“\n",
        "Description": "Day growth ratio of warm data size\n"
      },
      "ColdDataSizeDayGrowthRatio": {
        "Name": "coldDataSizeDayGrowthRatio",
        "Value": -0.03,
        "Unit": "”“\n",
        "Description": "Day growth ratio of cold data size\n"
      },
      "FreezeDataSizeDayGrowthRatio": {
        "Name": "freezeDataSizeDayGrowthRatio",
        "Value": -0.09,
        "Unit": "”“\n",
        "Description": "Day growth ratio of freeze data size\n"
      },
      "TotalDataSizeDayGrowthRatio": {
        "Name": "totalDataSizeDayGrowthRatio",
        "Value": 0.14,
        "Unit": "”“\n",
        "Description": "Day growth ratio of total data size\n"
      }
    }
  },
  "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)
文档反馈