 | TaskExecutionUtilityRunTask 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
Syntaxpublic 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: SystemGuid
The job id. - jobDirectory
- Type: SystemString
The job directory. - dfsJobDirectory
- Type: SystemString
The DFS job directory. - taskAttemptId
- Type: Ookii.Jumbo.JetTaskAttemptId
The task attempt id. - noLogConfig (Optional)
- Type: SystemBoolean
to initialize logging configuration; otherwise, .
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