[ 
https://issues.apache.org/jira/browse/KYLIN-923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ZhouQianhao resolved KYLIN-923.
-------------------------------
    Resolution: Fixed

> 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
>         Attachments: KYLIN-923-0.7-staging.patch, KYLIN-923-0.8.patch, 
> KYLIN-923.patch
>
>
> {{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