Memperoleh informasi dasar yang sedang berjalan tentang beberapa pekerjaan sekaligus pada E-MapReduce (EMR) Doctor.
Deskripsi operasi
daftar pekerjaan realtime berdasarkan yarn
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
emr:ListDoctorJobs |
list |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region. |
cn-hangzhou |
| ClusterId |
string |
Yes |
ID kluster. |
c-b933c5aac8fe**** |
| NextToken |
string |
No |
Token paginasi yang digunakan dalam permintaan untuk mengambil halaman hasil berikutnya. |
DD6B1B2A-5837-5237-ABE4-FF0C89568980 |
| MaxResults |
integer |
No |
Jumlah maksimum entri yang dikembalikan pada setiap halaman. |
20 |
| StartRange |
object |
No |
Rentang waktu mulai. Anda dapat memfilter pekerjaan yang waktu mulainya berada dalam rentang waktu yang ditentukan. |
|
| StartTime |
integer |
No |
Awal rentang waktu saat pekerjaan diajukan. Nilai ini adalah stempel waktu UNIX yang mewakili jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC. Unit: milidetik. |
1683340662016 |
| EndTime |
integer |
No |
Akhir rentang waktu saat pekerjaan diajukan. Nilai ini adalah stempel waktu UNIX yang mewakili jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC. Unit: milidetik. |
1683340662020 |
| EndRange |
object |
No |
Rentang waktu berakhir. Anda dapat memfilter pekerjaan yang waktu berakhirnya berada dalam rentang waktu yang ditentukan. |
|
| StartTime |
integer |
No |
Awal rentang waktu saat pekerjaan berakhir. Nilai ini adalah stempel waktu UNIX yang mewakili jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC. Unit: milidetik. |
1679135111960 |
| EndTime |
integer |
No |
Akhir rentang waktu saat pekerjaan berakhir. Nilai ini adalah stempel waktu UNIX yang mewakili jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC. Unit: milidetik. |
1666865137099 |
| AppIds |
array |
No |
ID pekerjaan yang diajukan ke YARN. |
null |
|
string |
No |
ID pekerjaan yang diajukan ke YARN. |
application_1643475036865_****** |
|
| Users |
array |
No |
Pengguna yang mengajukan pekerjaan. |
null |
|
string |
No |
Nama pengguna yang digunakan untuk mengajukan pekerjaan ke YARN. |
DW |
|
| Queues |
array |
No |
Antrian YARN tempat pekerjaan diajukan. |
null |
|
string |
No |
Nama antrian YARN tempat pekerjaan diajukan. |
DW |
|
| Types |
array |
No |
Mesin YARN tempat pekerjaan diajukan. |
null |
|
string |
No |
Jenis mesin YARN tempat pekerjaan diajukan. |
SPARK |
|
| OrderType |
string |
No |
Urutan pengurutan hasil kueri. Nilai yang valid:
|
ASC |
| OrderBy |
string |
No |
Bidang yang digunakan untuk mengurutkan hasil kueri. Nilai yang valid:
|
vcoreSeconds |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| Data |
array<object> |
Informasi tentang pekerjaan. |
|
|
array<object> |
|||
| AppId |
string |
ID pekerjaan yang telah diajukan ke YARN. |
application_1607584549220_***** |
| AppName |
string |
Nama pekerjaan. |
tpcds |
| User |
string |
Nama pengguna yang digunakan untuk mengajukan pekerjaan. |
DW |
| Queue |
string |
Antrian YARN tempat pekerjaan diajukan. |
DW |
| State |
string |
Status berjalan pekerjaan. Nilai yang valid:
|
FINISHED |
| FinalStatus |
string |
Status akhir pekerjaan. Nilai yang valid:
|
KILLED |
| Type |
string |
Jenis mesin komputasi. |
SPARK |
| StartTime |
integer |
Waktu saat pekerjaan diajukan. Nilai ini adalah stempel waktu UNIX yang mewakili jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC. Unit: milidetik. |
1675180800000 |
| LaunchTime |
integer |
Waktu saat pekerjaan dimulai. Nilai ini adalah stempel waktu UNIX yang mewakili jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC. Unit: milidetik. |
1672148400000 |
| ElapsedTime |
integer |
Total waktu berjalan pekerjaan. Unit: milidetik. |
242 |
| FinishTime |
integer |
Waktu berakhir pekerjaan. Nilai ini adalah stempel waktu UNIX yang mewakili jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC. Unit: milidetik. |
1683690929000 |
| Metrics |
object |
Data tentang metrik. |
|
| VcoreSeconds |
object |
The CPU usage. |
|
| Name |
string |
The name of the metric. |
vcoreSeconds |
| Value |
integer |
The value of the metric. |
11123 |
| Unit |
string |
The unit of the metric. |
VCores * Sec |
| Description |
string |
The description of the metric. |
Total vcore usage over time in seconds |
| MemSeconds |
object |
The amount of memory consumed. |
|
| Name |
string |
The name of the metric. |
memSeconds |
| Value |
integer |
The value of the metric. |
12312312 |
| Unit |
string |
The unit of the metric. |
MB * Sec |
| Description |
string |
The description of the metric. |
Total memory usage over time in seconds |
| RequestId |
string |
ID permintaan. |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
| NextToken |
string |
Token paginasi. |
DD6B1B2A-5837-5237-ABE4-FF0C89568980 |
| MaxResults |
integer |
Jumlah maksimum entri yang dikembalikan. |
20 |
| TotalCount |
integer |
Total jumlah entri yang dikembalikan. |
200 |
Contoh
Respons sukses
JSONformat
{
"Data": [
{
"AppId": "application_1607584549220_*****",
"AppName": "tpcds",
"User": "DW",
"Queue": "DW",
"State": "FINISHED",
"FinalStatus": "KILLED",
"Type": "SPARK",
"StartTime": 1675180800000,
"LaunchTime": 1672148400000,
"ElapsedTime": 242,
"FinishTime": 1683690929000,
"Metrics": {
"VcoreSeconds": {
"Name": "vcoreSeconds\n",
"Value": 11123,
"Unit": "VCores * Sec\n",
"Description": "Total vcore usage over time in seconds\n"
},
"MemSeconds": {
"Name": "memSeconds",
"Value": 12312312,
"Unit": "MB * Sec\n",
"Description": "Total memory usage over time in seconds\n"
}
}
}
],
"RequestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****",
"NextToken": "DD6B1B2A-5837-5237-ABE4-FF0C89568980",
"MaxResults": 20,
"TotalCount": 200
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.