You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2019/11/27 06:16:49 UTC
[GitHub] [incubator-dolphinscheduler] moranrr edited a comment on issue #835: 工作流和任务实例一直显示运行,无法取消
moranrr edited a comment on issue #835: 工作流和任务实例一直显示运行,无法取消
URL: https://github.com/apache/incubator-dolphinscheduler/issues/835#issuecomment-558946766
这个问题也是偶尔会出现,后面定位过这个问题,在方法cn.escheduler.server.worker.runner.TaskScheduleThread.run()中打印日志。
发现出现问题时, logger.info("task json is : {}",taskInstance.getTaskJson());
这行日志没有打印
```
logger.info("script path : {}", taskInstance.getExecutePath());
logger.info("task json is : {}",taskInstance.getTaskJson());
// task node
TaskNode taskNode = JSONObject.parseObject(taskInstance.getTaskJson(), TaskNode.class);
logger.info("get process instance according to tak instance");
// get process instance according to tak instance
ProcessInstance processInstance = taskInstance.getProcessInstance();
// get process define according to tak instance
logger.info("get process define according to tak instance");
ProcessDefinition processDefine = taskInstance.getProcessDefine();
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services