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

ASF GitHub Bot commented on TAJO-1848:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/tajo/pull/759


> ShutdownHook in TajoMaster can throw NPE if serviceInit() is failed.
> --------------------------------------------------------------------
>
>                 Key: TAJO-1848
>                 URL: https://issues.apache.org/jira/browse/TAJO-1848
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>            Priority: Minor
>             Fix For: 0.11.0
>
>
> If serviceInit() is failed, ShutdownHook in TajoMaster can throw NPE.
> {noformat}
> // If embedded derby is used as catalog, shutdown it.
>         if 
> (catalogServer.getStoreClassName().equals("org.apache.tajo.catalog.store.DerbyStore")
>             && AbstractDBStore.needShutdown(catalogServer.getStoreUri())) {
>           DerbyStore.shutdown();
>         }
> {noformat}



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

Reply via email to