Menampilkan daftar pelaksana (executor) suatu pekerjaan (job).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
emr-serverless-spark:ListJobExecutors |
list |
*All Resource
|
None | None |
Sintaks permintaan
GET /api/v1/workspaces/{workspaceId}/jobRuns/{jobRunId}/executors HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspaceId |
string |
Yes |
ID ruang kerja. |
w-d2d82aa09155**** |
| jobRunId |
string |
Yes |
ID eksekusi pekerjaan. |
jr-f09a8fda2396**** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| nextToken |
string |
No |
Token untuk halaman hasil berikutnya. |
2 |
| maxResults |
integer |
No |
Jumlah maksimum catatan yang dikembalikan dalam satu permintaan. |
20 |
| status |
string |
No |
Status pelaksana (executor). |
Dead |
| executorType |
string |
No |
Tipe pelaksana (executor). |
driver |
| regionId |
string |
No |
ID wilayah. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| requestId |
string |
ID permintaan. |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
| nextToken |
string |
Token untuk halaman hasil berikutnya. |
2 |
| maxResults |
integer |
Jumlah maksimum catatan yang dikembalikan. |
20 |
| totalCount |
integer |
Jumlah total catatan. |
200 |
| exexutors |
array<object> |
Daftar pelaksana (executor). |
|
|
object |
Informasi mengenai satu pelaksana (executor). |
||
| workspaceId |
string |
ID ruang kerja. |
w-78faee4da118f02e |
| jobRunId |
string |
ID eksekusi pekerjaan. |
jr-1fe145df8ade366a |
| executorId |
string |
ID pelaksana pekerjaan. |
1 |
| status |
string |
Status berjalan pelaksana (executor). |
Running |
| hostPort |
string |
Alamat pelaksana (executor). |
21.10.x.x:1201x |
| rddBlocks |
integer |
Jumlah blok Resilient Distributed Dataset (RDD) yang dikelola oleh pelaksana (executor). |
10 |
| memoryUsed |
integer |
Penggunaan memori pelaksana (executor). |
30 |
| diskUsed |
integer |
Penggunaan disk pelaksana (executor). |
20 |
| totalCores |
integer |
Jumlah total core untuk pelaksana (executor). |
4 |
| activeTasks |
integer |
Jumlah total tugas aktif yang sedang dijalankan oleh pelaksana (executor). |
10 |
| failedTasks |
integer |
Jumlah total tugas gagal yang telah dijalankan oleh pelaksana (executor). |
2 |
| completedTasks |
integer |
Jumlah total tugas selesai yang telah dijalankan oleh pelaksana (executor). |
8 |
| totalTasks |
integer |
Jumlah total tugas yang telah dijalankan oleh pelaksana (executor). |
50 |
| totalDuration |
integer |
Total waktu proses pelaksana (executor). |
123 |
| totalGCTime |
integer |
Total waktu Pengumpulan sampah (garbage collection/GC) pelaksana (executor). |
3 |
| totalInputBytes |
integer |
Jumlah byte data masukan untuk pelaksana (executor). |
1024 |
| totalShuffleRead |
integer |
Jumlah byte yang dibaca selama fase shuffle oleh pelaksana (executor). |
2048 |
| totalShuffleWrite |
integer |
Jumlah byte yang ditulis selama fase shuffle oleh pelaksana (executor). |
2048 |
| maxMemory |
integer |
Memori maksimum pelaksana (executor). |
4294967296 |
| addTime |
integer |
Waktu saat pelaksana (executor) dibuat. |
1760601*** |
| executorType |
string |
Tipe pelaksana (executor). |
driver |
Contoh
Respons sukses
JSONformat
{
"requestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****",
"nextToken": "2",
"maxResults": 20,
"totalCount": 200,
"exexutors": [
{
"workspaceId": "w-78faee4da118f02e",
"jobRunId": "jr-1fe145df8ade366a",
"executorId": "1",
"status": "Running",
"hostPort": "21.10.x.x:1201x",
"rddBlocks": 10,
"memoryUsed": 30,
"diskUsed": 20,
"totalCores": 4,
"activeTasks": 10,
"failedTasks": 2,
"completedTasks": 8,
"totalTasks": 50,
"totalDuration": 123,
"totalGCTime": 3,
"totalInputBytes": 1024,
"totalShuffleRead": 2048,
"totalShuffleWrite": 2048,
"maxMemory": 4294967296,
"addTime": 0,
"executorType": "driver"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.