E-MapReduce (EMR) Doctor で複数のジョブの分析結果を取得します。
操作説明
すべての Doctor 分析アプリケーションを一覧表示します
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
emr:ListDoctorApplications |
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 |
| AppIds |
array |
任意 |
YARN に送信されたジョブの ID です。 |
null |
|
string |
任意 |
YARN に送信されたジョブの ID です。 |
application_1643475036865_****** |
|
| Users |
array |
任意 |
ジョブを送信するユーザーです。 |
null |
|
string |
任意 |
ジョブを YARN に送信するために使用されるユーザー名です。 |
DW |
|
| Queues |
array |
任意 |
ジョブが送信される YARN キューです。 |
null |
|
string |
任意 |
ジョブが送信される YARN キューの名前です。 |
DW |
|
| Types |
array |
任意 |
ジョブが送信される YARN エンジンです。 |
null |
|
string |
任意 |
ジョブが送信される YARN エンジンのタイプです。 |
SPARK |
|
| OrderType |
string |
任意 |
クエリ結果をソートする順序。 有効な値:
|
ASC |
| OrderBy |
string |
任意 |
クエリ結果のソートに使用するフィールド。 有効な値:
|
score |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| Data |
array<object> |
ジョブの詳細。 |
|
|
array<object> |
|||
| AppId |
string |
YARN でのジョブ ID。 Hive ジョブの場合、QueryID または SessionID の値が返されます。 |
application_1665056147236_***** |
| Ids |
array |
ジョブ ID。 複数のジョブ ID はコンマ (,) で区切られます。 |
null |
|
string |
YARN に送信されたジョブの ID。 |
application_1665056147236_***** |
|
| AppName |
string |
ジョブの名前。 |
data-upload |
| User |
string |
ジョブの送信に使用されたユーザー名。 |
DW |
| StartTime |
integer |
ジョブが送信された時刻。 この値は、協定世界時 (UTC) の 1970 年 1 月 1 日 00:00:00 から経過したミリ秒数を表す UNIX タイムスタンプです。 単位:ミリ秒。 |
1677465658275 |
| EndTime |
integer |
ジョブが終了した時刻。 この値は、協定世界時 (UTC) の 1970 年 1 月 1 日 00:00:00 から経過したミリ秒数を表す UNIX タイムスタンプです。 単位:ミリ秒。 |
1682049088086 |
| Queue |
string |
ジョブが送信された YARN キュー。 |
DW |
| Type |
string |
コンピュートエンジンのタイプ。 |
TEZ |
| QuerySql |
string |
クエリ文。 SQL 以外のジョブの場合、このパラメーターは空のままです。 |
SELECT id, count(1) FROM test group by id; |
| Metrics |
object |
メトリックに関するデータ。 |
|
| VcoreUtilization |
object |
CPU 使用率。 このパラメーターは、Linux の top コマンドの %CPU と同じ意味を持ちます。 |
|
| Name |
string |
メトリックの名前。 |
vcoreUtilization |
| Value |
number |
メトリックの値。 |
23.1 |
| Unit |
string |
メトリックの単位。 |
"" |
| Description |
string |
メトリックの説明。 |
Ratio of used vcore to total available cores |
| MemUtilization |
object |
メモリ使用量 |
|
| Name |
string |
メトリックの名前。 |
memUtilization |
| Value |
number |
メトリックの値。 |
0.23 |
| Unit |
string |
メトリックの単位。 |
"" |
| Description |
string |
メトリックの説明。 |
Ratio of used memory to total available memory |
| VcoreSeconds |
object |
CPU 使用量。 |
|
| 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 |
ジョブのスコア。 |
23 |
| Suggestion |
string |
ジョブの実行に関する提案。 |
##### 当前节点:container ##### 存在问题: 最大内存利用率为7.75%,利用率较低 尝试减小Tez Container内存,可通过hive.tez.container.size进行设置 |
| RequestId |
string |
リクエスト ID。 |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
| NextToken |
string |
ページネーショントークン。 |
DD6B1B2A-5837-5237-ABE4-FF0C89568980 |
| MaxResults |
integer |
返されたエントリの最大数。 |
20 |
| TotalCount |
integer |
返されたエントリの総数。 |
200 |
例
成功レスポンス
JSONJSON
{
"Data": [
{
"AppId": "application_1665056147236_*****",
"Ids": [
"application_1665056147236_*****"
],
"AppName": "data-upload",
"User": "DW",
"StartTime": 1677465658275,
"EndTime": 1682049088086,
"Queue": "DW",
"Type": "TEZ",
"QuerySql": "SELECT id, count(1) FROM test group by id;\n",
"Metrics": {
"VcoreUtilization": {
"Name": "vcoreUtilization",
"Value": 23.1,
"Unit": "\"\"",
"Description": "Ratio of used vcore to total available cores\n"
},
"MemUtilization": {
"Name": "memUtilization\n",
"Value": 0.23,
"Unit": "\"\"",
"Description": "Ratio of used memory to total available memory\n"
},
"VcoreSeconds": {
"Name": "vcoreSeconds",
"Value": 11123,
"Unit": "VCores * Sec\n",
"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": 23,
"Suggestion": "##### 当前节点:container\n##### 存在问题:\n最大内存利用率为7.75%,利用率较低\n\n\n尝试减小Tez Container内存,可通过hive.tez.container.size进行设置"
}
}
],
"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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。