You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2015/09/17 22:01:05 UTC
[jira] [Resolved] (TAJO-1848) ShutdownHook in TajoMaster can throw
NPE if serviceInit() is failed.
[ 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)