Click or drag to resize

TaskContext Constructor

Initializes a new instance of the TaskContext class.

Namespace:  Ookii.Jumbo.Jet
Assembly:  Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax
public TaskContext(
	Guid jobId,
	JobConfiguration jobConfiguration,
	TaskAttemptId taskAttemptId,
	StageConfiguration stageConfiguration,
	string localJobDirectory,
	string dfsJobDirectory
)

Parameters

jobId
Type: SystemGuid
The job ID.
jobConfiguration
Type: Ookii.Jumbo.Jet.JobsJobConfiguration
The configuration for the job.
taskAttemptId
Type: Ookii.Jumbo.JetTaskAttemptId
The task attempt ID.
stageConfiguration
Type: Ookii.Jumbo.Jet.JobsStageConfiguration
The configuration for the stage that the task belongs to.
localJobDirectory
Type: SystemString
The local directory where files related to the job are stored.
dfsJobDirectory
Type: SystemString
The DFS directory where files related to the job are stored.
See Also