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

HiveProtoLoggingHook might consume lots of memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0-alpha-1
    • Hive
    • 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. Screen Shot 2019-11-18 at 2.19.24 PM.png
          75 kB
          Attila Magyar
        2. HIVE-22514.1.patch
          6 kB
          Attila Magyar
        3. HIVE-22514.2.patch
          6 kB
          Attila Magyar

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: