E-MapReduce (EMR) Doctor で、クラスター内のリソースタイプ別のリソース使用量に関する情報を取得します。
操作説明
クラスターエンジンのキュービューの Doctor 分析結果を一覧表示します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
emr:ListDoctorComputeSummary |
list |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
| ClusterId |
string |
必須 |
クラスター ID。 |
c-b933c5aac8fe**** |
| NextToken |
string |
任意 |
リクエストで使用されるページネーショントークン。結果の新しいページを取得するために使用します。 |
DD6B1B2A-5837-5237-ABE4-FF0C89568980 |
| MaxResults |
integer |
任意 |
各ページで返すエントリーの最大数。 |
20 |
| DateTime |
string |
必須 |
ISO 8601 標準で日付を指定します。例:2023-01-01 は 2023 年 1 月 1 日を表します。 |
2023-01-01 |
| ComponentTypes |
array |
任意 |
クエリ結果をフィルターするために使用されるリソースタイプ。有効な値:
このパラメーターを指定しない場合、デフォルトでクラスターレベルの情報が表示されます。現在、1 つのリソースタイプのみがサポートされています。複数のリソースタイプを指定した場合、デフォルトで最初のリソースタイプが使用されます。 |
null |
|
string |
任意 |
リソースタイプ。 |
queue |
|
| OrderType |
string |
任意 |
クエリ結果をソートする順序。有効な値:
|
ASC |
| OrderBy |
string |
任意 |
クエリ結果をソートする基準。有効な値:
|
score |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| Data |
array<object> |
リソース使用量の詳細。 |
|
|
array<object> |
|||
| ComponentName |
string |
ComponentTypes の値に基づいて詳細が取得されるリソースの名前。例えば、ComponentTypes の値が Queue の場合、このパラメーターの値は DW などのキューになります。 |
DW |
| Metrics |
object |
メトリック情報。 |
|
| VcoreSeconds |
object |
秒単位の合計 CPU 消費時間。 |
|
| Name |
string |
メトリックの名前。 |
vcoreSeconds |
| Value |
integer |
メトリックの値。 |
1231412 |
| Unit |
string |
メトリックの単位。 |
VCores * Sec |
| Description |
string |
メトリックの説明。 |
Total vcore usage over time in seconds |
| MemSeconds |
object |
秒単位の合計メモリ消費時間。 |
|
| Name |
string |
メトリックの名前。 |
memSeconds |
| Value |
integer |
メトリックの値。 |
12312312 |
| Unit |
string |
メトリックの単位。 |
MB * Sec |
| Description |
string |
メトリックの説明。 |
Total memory usage over time in seconds |
| VcoreUtilization |
object |
平均 CPU 使用率。Linux の top コマンドの出力における %CPU パラメーターと同じ意味です。 |
|
| Name |
string |
メトリックの名前。 |
vcoreUtilization |
| Value |
number |
メトリックの値。 |
32.1 |
| Unit |
string |
メトリックの単位。 |
“” |
| Description |
string |
メトリックの説明。 |
Ratio of used vcore to total available cores |
| MemUtilization |
object |
平均メモリ使用量。 |
|
| Name |
string |
メトリックの名前。 |
memUtilization |
| Value |
number |
メトリックの値。 |
0.82 |
| Unit |
string |
メトリックの単位。 |
“” |
| Description |
string |
メトリックの説明。 |
Ratio of used memory to total available memory |
| VcoreSecondsDayGrowthRatio |
object |
秒単位の合計 CPU 消費時間の前日比増加率。 |
|
| Name |
string |
メトリックの名前。 |
vcoreSecondsDayGrowthRatio |
| Value |
number |
メトリックの値。 |
0.22 |
| Unit |
string |
メトリックの単位。 |
“” |
| Description |
string |
メトリックの説明。 |
Growth ratio of virtual core usage in seconds per day |
| MemSecondsDayGrowthRatio |
object |
秒単位の合計メモリ消費時間の前日比増加率。 |
|
| Name |
string |
メトリックの名前。 |
memSecondsDayGrowthRatio |
| Value |
number |
メトリックの値。 |
0.36 |
| Unit |
string |
メトリックの単位。 |
“” |
| Description |
string |
メトリックの説明。 |
Growth ratio of memory usage in seconds per day |
| ReadSize |
object |
ファイルシステムから読み取られた合計データ量。 |
|
| Name |
string |
メトリックの名前。 |
readSize |
| Value |
integer |
メトリックの値。 |
504888659968 |
| Unit |
string |
メトリックの単位。 |
MB |
| Description |
string |
メトリックの説明。 |
Total cumulative size of data read in megabytes (MB) |
| WriteSize |
object |
ファイルシステムに書き込まれた合計データ量。 |
|
| Name |
string |
メトリックの名前。 |
writeSize |
| Value |
integer |
メトリックの値。 |
6294093393920 |
| Unit |
string |
メトリックの単位。 |
MB |
| Description |
string |
メトリックの説明。 |
Total cumulative size of data written in megabytes (MB) |
| Analysis |
object |
リソース分析結果。 |
|
| HealthyJobCount |
integer |
正常なジョブの総数。 |
3 |
| SubHealthyJobCount |
integer |
準正常なジョブの総数。 |
13 |
| UnhealthyJobCount |
integer |
異常なジョブの総数。 |
123 |
| NeedAttentionJobCount |
integer |
注意が必要なジョブの総数。 |
23 |
| Score |
integer |
ジョブのスコア。 |
56 |
| ScoreDayGrowthRatio |
number |
ジョブのスコアの前日比増加率。 |
0.03 |
| RequestId |
string |
リクエスト ID。 |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
| NextToken |
string |
ページネーショントークン。 |
DD6B1B2A-5837-5237-ABE4-FF0C89568980 |
| MaxResults |
integer |
返されるエントリーの最大数。 |
20 |
| TotalCount |
integer |
返されたエントリーの総数。 |
200 |
例
成功レスポンス
JSONJSON
{
"Data": [
{
"ComponentName": "DW",
"Metrics": {
"VcoreSeconds": {
"Name": "vcoreSeconds",
"Value": 1231412,
"Unit": "VCores * Sec",
"Description": "Total vcore usage over time in seconds\n"
},
"MemSeconds": {
"Name": "memSeconds",
"Value": 12312312,
"Unit": "MB * Sec",
"Description": "Total memory usage over time in seconds"
},
"VcoreUtilization": {
"Name": "vcoreUtilization",
"Value": 32.1,
"Unit": "“”",
"Description": "Ratio of used vcore to total available cores\n"
},
"MemUtilization": {
"Name": "memUtilization",
"Value": 0.82,
"Unit": "“”",
"Description": "Ratio of used memory to total available memory\n"
},
"VcoreSecondsDayGrowthRatio": {
"Name": "vcoreSecondsDayGrowthRatio\n",
"Value": 0.22,
"Unit": "“”",
"Description": "Growth ratio of virtual core usage in seconds per day\n"
},
"MemSecondsDayGrowthRatio": {
"Name": "memSecondsDayGrowthRatio",
"Value": 0.36,
"Unit": "“”",
"Description": "Growth ratio of memory usage in seconds per day\n"
},
"ReadSize": {
"Name": "readSize",
"Value": 504888659968,
"Unit": "MB",
"Description": "Total cumulative size of data read in megabytes (MB)\n"
},
"WriteSize": {
"Name": "writeSize\n",
"Value": 6294093393920,
"Unit": "MB\n",
"Description": "Total cumulative size of data written in megabytes (MB)"
}
},
"Analysis": {
"HealthyJobCount": 3,
"SubHealthyJobCount": 13,
"UnhealthyJobCount": 123,
"NeedAttentionJobCount": 23,
"Score": 56,
"ScoreDayGrowthRatio": 0.03
}
}
],
"RequestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****",
"NextToken": "DD6B1B2A-5837-5237-ABE4-FF0C89568980",
"MaxResults": 20,
"TotalCount": 200
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | ConflictParameters | Parameters that must not be used together. %s | |
| 400 | IncompleteSignature | The request signature is invalid. | |
| 400 | InvalidAction | The action %s requested is invalid. | |
| 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. | |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。