You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2016/08/10 09:43:20 UTC

[jira] [Commented] (KYLIN-1819) Exception swallowed when start DefaultScheduler fail

    [ https://issues.apache.org/jira/browse/KYLIN-1819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15415032#comment-15415032 ] 

Shaofeng SHI commented on KYLIN-1819:
-------------------------------------

Has this been merged? If not, I will take it.

> Exception swallowed when start DefaultScheduler fail
> ----------------------------------------------------
>
>                 Key: KYLIN-1819
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1819
>             Project: Kylin
>          Issue Type: Bug
>          Components: Job Engine
>    Affects Versions: v1.5.1, v1.5.2
>            Reporter: Ma Gang
>            Assignee: Ma Gang
>         Attachments: fix_swallow_scheduler_start_exception.patch
>
>
> Start job scheduler need to acquire job lock from zookeeper, when lock acquire fail, it will throw an IllegalException, but because the scheduler is started in a new thread, the exception thrown by the thread will be ignored, and the server still started successfully, and no exceptions are logged. That make it hard for trouble shooting, should change to make server started fail when the scheduler started fail.



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