Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
If serviceInit() is failed, ShutdownHook in TajoMaster can throw NPE.
// 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(); }