Lists the executors of a job.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/workspaces/{workspaceId}/jobRuns/{jobRunId}/executors HTTP/1.1Path Parameters
Parameter | Type | Required | Description | Example |
workspaceId | string | Yes | The workspace ID. | w-d2d82aa09155**** |
jobRunId | string | Yes | The job run ID. | jr-f09a8fda2396**** |
Request parameters
Parameter | Type | Required | Description | Example |
nextToken | string | No | The token for the next page of results. | 2 |
maxResults | integer | No | The maximum number of records to return in a single request. | 20 |
status | string | No | The executor status. | Dead |
executorType | string | No | The executor type. | driver |
regionId | string | No | The region ID. | cn-hangzhou |
Response elements
Element | Type | Description | Example |
object | The response schema. | ||
requestId | string | The request ID. | DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
nextToken | string | The token for the next page of results. | 2 |
maxResults | integer | The maximum number of records returned. | 20 |
totalCount | integer | The total number of records. | 200 |
| exexutors | array<object> | The list of executors. | |
object | The information about a single executor. | ||
workspaceId | string | The workspace ID. | w-78faee4da118f02e |
jobRunId | string | The job run ID. | jr-1fe145df8ade366a |
executorId | string | The job executor ID. | 1 |
status | string | The running status of the executor. | Running |
hostPort | string | The address of the executor. | 21.10.x.x:1201x |
rddBlocks | integer | The number of Resilient Distributed Dataset (RDD) blocks managed by the executor. | 10 |
memoryUsed | integer | The memory usage of the executor. | 30 |
diskUsed | integer | The disk usage of the executor. | 20 |
totalCores | integer | The total number of cores for the executor. | 4 |
activeTasks | integer | The total number of active tasks that the executor is running. | 10 |
failedTasks | integer | The total number of failed tasks that the executor has run. | 2 |
completedTasks | integer | The total number of completed tasks that the executor has run. | 8 |
totalTasks | integer | The total number of tasks that the executor has run. | 50 |
totalDuration | integer | The total runtime of the executor. | 123 |
totalGCTime | integer | The total garbage collection (GC) time of the executor. | 3 |
totalInputBytes | integer | The number of bytes of input data for the executor. | 1024 |
totalShuffleRead | integer | The number of bytes read during the shuffle phase by the executor. | 2048 |
totalShuffleWrite | integer | The number of bytes written during the shuffle phase by the executor. | 2048 |
maxMemory | integer | The maximum memory of the executor. | 4294967296 |
addTime | integer | The time when the executor was created. | 1760601*** |
executorType | string | The executor type. | driver |
Examples
Success response
JSON format
{
"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"
}
]
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.