@Override public void serviceStop() throws Exception { LOG.info("Catalog Server (" + bindAddressStr + ") shutdown"); // If CatalogServer shutdowns before it started, rpcServer and store may be NULL. // So, we should check Nullity of them. if (rpcServer != null) { this.rpcServer.shutdown(); } if (store != null) { store.close(); } super.serviceStop(); }
public String getStoreClassName() { return store.getClass().getCanonicalName(); }