Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18902

Lower Logging Level for Cleaning Up "local RawStore"

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0, 2.4.0
    • Fix Version/s: None
    • Component/s: Standalone Metastore
    • Labels:

      Description

      https://github.com/apache/hive/blob/7c22d74c8d0eb0650adf6e84e0536127c103e46c/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L7756-L7768

       

      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

        Attachments

        1. HIVE-18902.5.patch
          3 kB
          BELUGA BEHR
        2. HIVE-18902.04.patch
          3 kB
          Bohdan Chupika
        3. HIVE-18902.03.patch
          3 kB
          Bohdan Chupika
        4. HIVE-18902.02.patch
          3 kB
          Bohdan Chupika
        5. HIVE-18902.01.patch
          1 kB
          Bohdan Chupika

          Activity

            People

            • Assignee:
              bchupika Bohdan Chupika
              Reporter:
              belugabehr BELUGA BEHR
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: