You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Luke Han (JIRA)" <ji...@apache.org> on 2015/09/06 13:44:45 UTC
[jira] [Updated] (KYLIN-923) FetcherRunner will never run again if
encountered exception during running
[ https://issues.apache.org/jira/browse/KYLIN-923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luke Han updated KYLIN-923:
---------------------------
Fix Version/s: v1.0
> 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: Yerui Sun
> Assignee: ZhouQianhao
> Fix For: v1.0
>
> 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)