You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "sunyerui (JIRA)" <ji...@apache.org> on 2015/08/04 09:52:04 UTC
[jira] [Created] (KYLIN-923) FetcherRunner will never run again if
encountered exception during running
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)