E-MapReduce (EMR) Doctor 上のクラスターにおけるリソース使用量に関する情報を取得します。
操作説明
<type, name> によって特定のクラスターエンジンキューを 1 つ取得します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
emr:GetDoctorComputeSummary |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
| ClusterId |
string |
必須 |
クラスター ID。 |
c-b933c5aac8fe**** |
| DateTime |
string |
必須 |
ISO 8601 標準で日付を指定します。 たとえば、2023-01-01 は 2023 年 1 月 1 日を表します。 |
2023-01-01 |
| ComponentInfo |
object |
任意 |
結果をフィルターするために使用されるリソース情報。 |
|
| ComponentType |
string |
任意 |
フィルター用のリソースタイプ。 有効値:
このパラメーターを指定しない場合、デフォルトでクラスターレベルの情報が表示されます。 |
engine |
| ComponentName |
string |
任意 |
ComponentType の値に基づいてフィルター条件名を設定します。 たとえば、ComponentType を queue に設定した場合、特定のキュー名を指定して、そのキューのリソース使用量を取得できます。 |
MAPREDUCE |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| Data |
object |
リソース使用量の詳細。 |
|
| 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 |
準正常なジョブの総数。 |
1123 |
| UnhealthyJobCount |
integer |
異常なジョブの総数。 |
23 |
| NeedAttentionJobCount |
integer |
注意が必要なジョブの総数。 |
234 |
| Score |
integer |
ジョブのスコア。 |
73 |
| ScoreDayGrowthRatio |
number |
ジョブスコアの前日比増加率。 |
0.02 |
| RequestId |
string |
リクエスト ID。 |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
例
成功レスポンス
JSONJSON
{
"Data": {
"Metrics": {
"VcoreSeconds": {
"Name": "vcoreSeconds\n",
"Value": 1231412,
"Unit": "VCores * Sec\n",
"Description": "Total vcore usage over time in seconds\n"
},
"MemSeconds": {
"Name": "memSeconds\n",
"Value": 12312312,
"Unit": "MB * Sec\n",
"Description": "Total memory usage over time in seconds\n"
},
"VcoreUtilization": {
"Name": "vcoreUtilization\n",
"Value": 32.1,
"Unit": "“”\n",
"Description": "Ratio of used vcore to total available cores\n"
},
"MemUtilization": {
"Name": "memUtilization\n",
"Value": 0.82,
"Unit": "\"\"",
"Description": "Ratio of used memory to total available memory\n"
},
"VcoreSecondsDayGrowthRatio": {
"Name": "vcoreSecondsDayGrowthRatio",
"Value": 0.22,
"Unit": "“”",
"Description": "Growth ratio of virtual core usage in seconds per day"
},
"MemSecondsDayGrowthRatio": {
"Name": "memSecondsDayGrowthRatio",
"Value": 0.36,
"Unit": "“”",
"Description": "Growth ratio of memory usage in seconds per day"
},
"ReadSize": {
"Name": "readSize",
"Value": 504888659968,
"Unit": "MB",
"Description": "Total cumulative size of data read in megabytes (MB)"
},
"WriteSize": {
"Name": "writeSize",
"Value": 6294093393920,
"Unit": "MB",
"Description": "Total cumulative size of data written in megabytes (MB)"
}
},
"Analysis": {
"HealthyJobCount": 3,
"SubHealthyJobCount": 1123,
"UnhealthyJobCount": 23,
"NeedAttentionJobCount": 234,
"Score": 73,
"ScoreDayGrowthRatio": 0.02
}
},
"RequestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****"
}
エラーコード
|
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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。