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

Operation Logging still leaks the log4j Appenders

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Logging

      Description

      I'm using Hive 3.1.2 with options below.

      • hive.server2.logging.operation.enabled=true
      • hive.server2.logging.operation.level=VERBOSE
      • hive.async.log.enabled=false

      I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 but HS2 still leaks log4j RandomAccessFileManager.

      I checked the operation log file which is not closed/deleted properly.

      Then there's the log,

      client.TezClient: Shutting down Tez Session, sessionName= ....

        Attachments

        1. add_debug_log_and_trace.patch
          2 kB
          Eugene Chung
        2. Screen Shot 2021-01-06 at 18.42.05.png
          289 kB
          Eugene Chung
        3. Screen Shot 2021-01-06 at 18.42.24.png
          231 kB
          Eugene Chung
        4. Screen Shot 2021-01-06 at 18.42.55.png
          86 kB
          Eugene Chung
        5. Screen Shot 2021-01-06 at 21.38.32.png
          185 kB
          Eugene Chung
        6. Screen Shot 2021-01-06 at 21.47.28.png
          92 kB
          Eugene Chung
        7. Screen Shot 2021-01-08 at 21.01.40.png
          62 kB
          Eugene Chung

          Issue Links

            Activity

              People

              • Assignee:
                zabetak Stamatis Zampetakis
                Reporter:
                euigeun_chung Eugene Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m