org.apache.gearpump.streaming.appmaster
This notifies the scheduler that {executorId} is failed, and expect a set of ResourceRequest for all failed tasks on that executor.
This notifies the scheduler that {executorId} is failed, and expect a set of ResourceRequest for all failed tasks on that executor.
executor that failed
resource requests of the failed executor
Get the resource requirements for all unscheduled tasks.
This notifies the scheduler that a resource slot on {workerId} and {executorId} is allocated , and expect a task to be scheduled in return.
This notifies the scheduler that a resource slot on {workerId} and {executorId} is allocated , and expect a task to be scheduled in return. Task locality should be considered when deciding whether to offer a task on target {worker} and {executor}
which worker this resource is located.
which executorId this resource belongs to.
a list of tasks
Queries the task list that already scheduled on the executor
Queries the task list that already scheduled on the executor
executor to query
a list of tasks
This notify the scheduler that the task DAG is created.
This notify the scheduler that the task DAG is created.
task dag
Schedules tasks to run for new allocated resources. TaskScheduler only schedule tasks that share the same jar. For scheduling for multiple jars, see org.apache.gearpump.streaming.appmaster.JarScheduler.