sunyerui created KYLIN-923:
------------------------------

             Summary: FetcherRunner will never run again if encountered 
exception during running
                 Key: KYLIN-923
                 URL: https://issues.apache.org/jira/browse/KYLIN-923
             Project: Kylin
          Issue Type: Bug
          Components: Job Engine
    Affects Versions: v0.7.2
            Reporter: sunyerui
            Assignee: ZhouQianhao


{{FetcherRunner}} was scheduled at fix rate in {{fetcherPool}} which is a 
{{ScheduledExecutorService}}. In every running, {{FetcherRunner}} fetch all 
jobs from {{executableManager}}, and submit READY jobs to execute. 
If  exceptions encountered during running, such as 
{{executableManager.getAllJobIds()}} or {{executableManager.getAllJobIds()}}, 
the {{FetcherRunner}} will never run again in {{fetcherPool}},  that was 
explained in comment of {{ScheduledExecutorService.scheduleAtFixedRate}}.
The solution to resolve this issue is simple, that catch all {{Exception}} 
during {{FetcherRunner.run()}}. I will upload a patch later.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to