[
https://issues.apache.org/jira/browse/TAJO-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyunsik Choi resolved TAJO-1848.
--------------------------------
Resolution: Fixed
I already committed this patch.
> 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)