E-MapReduce (EMR) Doctor のジョブ分析情報を取得します。
操作説明
1 つの Doctor 分析アプリケーションを取得します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
emr:GetDoctorApplication |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
| ClusterId |
string |
必須 |
クラスター ID。 |
c-b933c5aac8fe**** |
| AppId |
string |
必須 |
YARN に送信されたジョブの ID。 |
application_1542620905989_**** |
| DateTime |
string |
必須 |
日付を ISO 8601 標準で指定します。例:2023-01-01 は 2023 年 1 月 1 日を表します。 |
2023-01-01 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| Data |
object |
ジョブの詳細。 |
|
| AppName |
string |
ジョブの名前。 |
CREATE TABLE test...ranks=1 (Stage-1) |
| Ids |
array |
ジョブ ID。複数のジョブ ID はコンマ (,) で区切られます。 |
null |
|
string |
YARN のジョブ ID。 |
application_1643475036865_****** |
|
| User |
string |
ジョブの送信に使用されるユーザー名。 |
DW |
| StartTime |
integer |
ジョブが送信された時刻。この値は、協定世界時 (UTC) 1970 年 1 月 1 日 00:00:00 から経過したミリ秒数を表す UNIX タイムスタンプです。単位:ミリ秒。 |
1677465658275 |
| EndTime |
integer |
ジョブの終了時刻。この値は、協定世界時 (UTC) 1970 年 1 月 1 日 00:00:00 から経過したミリ秒数を表す UNIX タイムスタンプです。単位:ミリ秒。 |
1666213200000 |
| Queue |
string |
ジョブが送信された YARN キュー。 |
DW |
| Type |
string |
コンピュートエンジンのタイプ。 |
SPARK |
| QuerySql |
string |
ジョブの SQL 文。SQL 以外のジョブの場合、このパラメーターは空のままです。 |
SELECT id, count(1) FROM test group by id; |
| Metrics |
object |
メトリック情報。 |
|
| 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 |
| VcoreSeconds |
object |
ジョブに割り当てられた vCPU の集計数に、ジョブの実行秒数を乗算した値。 |
|
| Name |
string |
メトリックの名前。 |
vcoreSeconds |
| Value |
integer |
メトリックの値。 |
11123 |
| 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 |
| Analysis |
object |
ジョブの分析結果。 |
|
| Score |
integer |
ジョブのスコア。 |
67 |
| Suggestion |
string |
ジョブ実行に関する提案。 |
##### 当前节点:container ##### 存在问题: 最大内存利用率为7.75%,利用率较低 尝试减小Tez Container内存,可通过hive.tez.container.size进行设置 |
| RequestId |
string |
リクエスト ID。 |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
例
成功レスポンス
JSONJSON
{
"Data": {
"AppName": "CREATE TABLE test...ranks=1 (Stage-1)",
"Ids": [
"application_1643475036865_******"
],
"User": "DW",
"StartTime": 1677465658275,
"EndTime": 1666213200000,
"Queue": "DW",
"Type": "SPARK",
"QuerySql": "SELECT id, count(1) FROM test group by id;",
"Metrics": {
"VcoreUtilization": {
"Name": "vcoreUtilization",
"Value": 32.1,
"Unit": "“”",
"Description": "Ratio of used vcore to total available cores"
},
"MemUtilization": {
"Name": "memUtilization",
"Value": 0.82,
"Unit": "“”",
"Description": "Ratio of used memory to total available memory"
},
"VcoreSeconds": {
"Name": "vcoreSeconds",
"Value": 11123,
"Unit": "VCores * Sec",
"Description": "Total vcore usage over time in seconds"
},
"MemSeconds": {
"Name": "memSeconds",
"Value": 12312312,
"Unit": "MB * Sec",
"Description": "Total memory usage over time in seconds"
}
},
"Analysis": {
"Score": 67,
"Suggestion": "##### 当前节点:container\n##### 存在问题:\n最大内存利用率为7.75%,利用率较低\n\n\n尝试减小Tez Container内存,可通过hive.tez.container.size进行设置\n\n"
}
},
"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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。