TaskContextImpl¶
TaskContextImpl
is a concrete TaskContext.
Creating Instance¶
TaskContextImpl
takes the following to be created:
- Stage ID
-
Stage
Execution Attempt ID - Partition ID
- Task Execution Attempt ID
- Attempt Number
- TaskMemoryManager
- Local Properties
- MetricsSystem
- TaskMetrics
- Resources (
Map[String, ResourceInformation]
)
TaskContextImpl
is created when:
Task
is requested to run
BarrierTaskContext¶
TaskContextImpl
is available to barrier tasks as a BarrierTaskContext.