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

Configuration changes to improve logging performance

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: Logging
    • Labels:
      None

      Description

      For LLAP and HS2, some configuration changes can be made to improve logging performance
      1) LOG4j2's async logger claims to have 6-68 times better performance than synchronous logger. https://logging.apache.org/log4j/2.x/manual/async.html
      2) Replace File appenders with RandomAccessFileAppender that claims to be 20-200% more performant.
      https://logging.apache.org/log4j/2.x/manual/appenders.html#RandomAccessFileAppender

      Also make async logging configurable.

        Attachments

        1. HIVE-13027.1.patch
          3 kB
          Prasanth Jayachandran
        2. HIVE-13027.2.patch
          19 kB
          Prasanth Jayachandran
        3. HIVE-13027.3.patch
          22 kB
          Prasanth Jayachandran
        4. HIVE-13027.3.patch
          22 kB
          Prasanth Jayachandran
        5. HIVE-13027.4.patch
          19 kB
          Prasanth Jayachandran

          Issue Links

            Activity

              People

              • Assignee:
                prasanth_j Prasanth Jayachandran
                Reporter:
                prasanth_j Prasanth Jayachandran
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: