| TaskExecutionUtility.RunTask Method (Guid, String, String, TaskAttemptId, Boolean) |
Executes a task on behalf of the task host. For Jumbo internal use only.
Namespace:
Ookii.Jumbo.Jet
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax public static void RunTask(
Guid jobId,
string jobDirectory,
string dfsJobDirectory,
TaskAttemptId taskAttemptId,
bool noLogConfig = false
)
Public Shared Sub RunTask (
jobId As Guid,
jobDirectory As String,
dfsJobDirectory As String,
taskAttemptId As TaskAttemptId,
Optional noLogConfig As Boolean = false
)
public:
static void RunTask(
Guid jobId,
String^ jobDirectory,
String^ dfsJobDirectory,
TaskAttemptId^ taskAttemptId,
bool noLogConfig = false
)
static member RunTask :
jobId : Guid *
jobDirectory : string *
dfsJobDirectory : string *
taskAttemptId : TaskAttemptId *
?noLogConfig : bool
(* Defaults:
let _noLogConfig = defaultArg noLogConfig false
*)
-> unit
Parameters
- jobId
- Type: System.Guid
The job id. - jobDirectory
- Type: System.String
The job directory. - dfsJobDirectory
- Type: System.String
The DFS job directory. - taskAttemptId
- Type: Ookii.Jumbo.Jet.TaskAttemptId
The task attempt id. - noLogConfig (Optional)
- Type: System.Boolean
true to initialize logging configuration; otherwise, false.
Remarks
This method assumes that the current AppDomain is used only for running the task, as it will override the global logging configuration and register the custom assembly resolver.
This method should only be invoked by the TaskHost, and by the TaskServer when using AppDomain mode.
See Also