E-MapReduce (EMR) Doctor 上のジョブに関する基本的な実行情報を取得します。
操作説明
YARN によってリアルタイムジョブを取得します
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
emr:GetDoctorJob |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
| ClusterId |
string |
必須 |
クラスター ID。 |
c-b933c5aac8fe**** |
| AppId |
string |
必須 |
YARN に送信されたジョブの ID。 |
application_1542620905989_**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| Data |
object |
ジョブに関する情報。 |
|
| AppId |
string |
YARN に送信されたジョブの ID。 |
application_1542620905989_**** |
| AppName |
string |
ジョブの名前。 |
CREATE TABLE test...ranks=1 (Stage-1) |
| User |
string |
ジョブの送信に使用されたユーザー名。 |
DW |
| Queue |
string |
ジョブが送信された YARN キュー。 |
DW |
| State |
string |
ジョブの実行状態。有効値:
|
FINISHED |
| FinalStatus |
string |
ジョブの最終状態。有効値:
|
KILLED |
| Type |
string |
コンピュートエンジンのタイプ。 |
SPARK |
| StartTime |
integer |
ジョブが送信された時刻。この値は、協定世界時 (UTC) 1970年1月1日 00:00:00 から経過したミリ秒数を表す UNIX タイムスタンプです。単位:ミリ秒。 |
1673946000000 |
| LaunchTime |
integer |
ジョブが開始された時刻。この値は、協定世界時 (UTC) 1970年1月1日 00:00:00 から経過したミリ秒数を表す UNIX タイムスタンプです。単位:ミリ秒。 |
1665014400000 |
| ElapsedTime |
integer |
ジョブの合計実行時間。単位:ミリ秒。 |
278 |
| FinishTime |
integer |
ジョブが終了した時刻。この値は、協定世界時 (UTC) 1970年1月1日 00:00:00 から経過したミリ秒数を表す UNIX タイムスタンプです。単位:ミリ秒。 |
1658388322000 |
| Metrics |
object |
メトリックに関するデータ。 |
|
| 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 |
| RequestId |
string |
リクエスト ID。 |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
例
成功レスポンス
JSONJSON
{
"Data": {
"AppId": "application_1542620905989_****",
"AppName": "CREATE TABLE test...ranks=1 (Stage-1)",
"User": "DW",
"Queue": "DW",
"State": "FINISHED",
"FinalStatus": "KILLED",
"Type": "SPARK",
"StartTime": 1673946000000,
"LaunchTime": 1665014400000,
"ElapsedTime": 278,
"FinishTime": 1658388322000,
"Metrics": {
"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"
}
}
},
"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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。