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

Improve TxnHandler, TxnUtils, CompactionTxnHandler logging

    XMLWordPrintableJSON

Details

    Description

      TxnHandler has some bad logging, like:

      LOG.debug("Going to execute query<" + txnsQuery + ">");
      

      https://github.com/apache/hive/blob/8e39937bdb577bc135579d7d34b46ba2d788ca53/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java#L533

      this will involve a pretty unnecessary string concatenation in production when we're on INFO level usually, let's use string formats

      Attachments

        Issue Links

          Activity

            People

              abstractdog László Bodor
              abstractdog László Bodor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m