-
Type:
Improvement
-
Status: Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 2.4.0, 3.0.0
-
Fix Version/s: 4.0.0
-
Component/s: Standalone Metastore
-
Labels:
private static void cleanupRawStore() { try { RawStore rs = HMSHandler.getRawStore(); if (rs != null) { HMSHandler.logInfo("Cleaning up thread local RawStore..."); rs.shutdown(); } } finally { HMSHandler handler = HMSHandler.threadLocalHMSHandler.get(); if (handler != null) { handler.notifyMetaListenersOnShutDown(); } HMSHandler.threadLocalHMSHandler.remove(); HMSHandler.threadLocalConf.remove(); HMSHandler.threadLocalModifiedConfig.remove(); HMSHandler.removeRawStore(); HMSHandler.logInfo("Done cleaning up thread local RawStore"); } }
2018-03-03 17:21:49,832 INFO org.apache.hadoop.hive.metastore.HiveMetaStore: [pool-4-thread-21]: 19: Cleaning up thread local RawStore... 2018-03-03 17:21:49,834 INFO org.apache.hadoop.hive.metastore.HiveMetaStore: [pool-4-thread-21]: 19: Done cleaning up thread local RawStore
Not very helpful logging. Please change logging levels to debug or even trace