mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-03 04:39:00 +08:00
Merge pull request #68 from qiaozhanwei/branch-1.0.0
scheduler command type update and add log
This commit is contained in:
commit
222c7ca476
@ -125,7 +125,7 @@ public class ProcessScheduleJob implements Job {
|
||||
}
|
||||
|
||||
Command command = new Command();
|
||||
command.setCommandType(CommandType.START_PROCESS);
|
||||
command.setCommandType(CommandType.SCHEDULER);
|
||||
command.setExecutorId(schedule.getUserId());
|
||||
command.setFailureStrategy(schedule.getFailureStrategy());
|
||||
command.setProcessDefinitionId(schedule.getProcessDefinitionId());
|
||||
|
@ -172,7 +172,7 @@ public class FetchTaskThread implements Runnable{
|
||||
FileUtils.createWorkDirAndUserIfAbsent(execLocalPath,
|
||||
processInstance.getTenantCode(), logger);
|
||||
|
||||
|
||||
logger.info("task : {} ready to submit to task scheduler thread",taskId);
|
||||
// submit task
|
||||
workerExecService.submit(new TaskScheduleThread(taskInstance, processDao));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user