TaskContext Class |
Namespace: Ookii.Jumbo.Jet
The TaskContext type exposes the following members.
Name | Description | |
---|---|---|
TaskContext |
Initializes a new instance of the TaskContext class.
|
Name | Description | |
---|---|---|
Attempt |
Gets the attempt number of this task attempt.
| |
DfsJobDirectory |
Gets the directory on the DFS where files related to the job are stored.
| |
JobConfiguration |
Gets the configuration for the job.
| |
JobId |
Gets the job ID.
| |
LocalJobDirectory |
Gets the local directory where files related to the job are stored.
| |
StageConfiguration |
Gets the configuration for the stage that the task belong to.
| |
StatusMessage |
Gets or sets the status message for the current task attempt.
| |
TaskAttemptId |
Gets the task attempt ID for this task attempt.
| |
TaskId |
Gets the task ID.
| |
TaskInput |
Gets the task input for this task.
|
Name | Description | |
---|---|---|
DownloadDfsFile |
Requests the task server to download a file from the DFS to make it available to all tasks.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetSetting(String, String) |
Gets a setting's string value with the specified default value, checking first in the stage settings and then in the job settings.
| |
GetSettingT(String, T) |
Gets a setting with the specified type and default value, checking first in the stage settings and then in the job settings.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReportProgress |
Forces a progress report to be sent on the next progress interval.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |