pengfei.zhan created KYLIN-5759:
-----------------------------------
Summary: Modify "ExecutableContext#addRunningJob" to avoid
schedule job more than once
Key: KYLIN-5759
URL: https://issues.apache.org/jira/browse/KYLIN-5759
Project: Kylin
Issue Type: Bug
Components: Job Engine
Affects Versions: 5.0-beta
Reporter: pengfei.zhan
Assignee: pengfei.zhan
Fix For: 5.0-beta
When a task is scheduled, the task is logged into runningJobs and the current
thread is logged into runningJobThreads, which is expected to be the thread
that executes the task, but in fact it is the scheduler's thread that is
logged, which results in subsequent attempts to interrupt the scheduler
FetcherRunner when killing the task.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)