[ https://issues.apache.org/jira/browse/KYLIN-3584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16630845#comment-16630845 ]
Ted Yu commented on KYLIN-3584: ------------------------------- DefaultScheduler#init is not involved in {{createInstance}}. What happens when an un-initialized INSTANCE is handed to the caller of getInstance ? > Incorrect lazy initialization of DefaultScheduler.INSTANCE > ---------------------------------------------------------- > > Key: KYLIN-3584 > URL: https://issues.apache.org/jira/browse/KYLIN-3584 > Project: Kylin > Issue Type: Bug > Reporter: Ted Yu > Priority: Minor > > Here is related code: > {code} > public static DefaultScheduler getInstance() { > if (INSTANCE == null) { > INSTANCE = createInstance(); > {code} > The check against may not be effective. -- This message was sent by Atlassian JIRA (v7.6.3#76005)