| TaskContext Constructor |
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
)
Public Sub New (
jobId As Guid,
jobConfiguration As JobConfiguration,
taskAttemptId As TaskAttemptId,
stageConfiguration As StageConfiguration,
localJobDirectory As String,
dfsJobDirectory As String
)
public:
TaskContext(
Guid jobId,
JobConfiguration^ jobConfiguration,
TaskAttemptId^ taskAttemptId,
StageConfiguration^ stageConfiguration,
String^ localJobDirectory,
String^ dfsJobDirectory
)
new :
jobId : Guid *
jobConfiguration : JobConfiguration *
taskAttemptId : TaskAttemptId *
stageConfiguration : StageConfiguration *
localJobDirectory : string *
dfsJobDirectory : string -> TaskContext
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