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

HiveProtoLoggingHook might consume lots of memory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: Hive
    • Labels:
      None

      Description

      HiveProtoLoggingHook uses a ScheduledThreadPoolExecutor to submit writer tasks and to periodically handle rollover. The builtin ScheduledThreadPoolExecutor uses a unbounded queue which cannot be replaced from the outside. If log events are generated at a very fast rate this queue can grow large.

        Attachments

        1. HIVE-22514.2.patch
          6 kB
          Attila Magyar
        2. HIVE-22514.1.patch
          6 kB
          Attila Magyar
        3. Screen Shot 2019-11-18 at 2.19.24 PM.png
          75 kB
          Attila Magyar

          Issue Links

            Activity

              People

              • Assignee:
                amagyar Attila Magyar
                Reporter:
                amagyar Attila Magyar
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: