Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-676

[beeswax] BeeswaxServer OOME when hive loglevel set to DEBUG

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 2.0.1
    • Component/s: con.hive
    • Labels:
      None

      Description

      BeeswaxServer's LogContext class uses CharArrayWriter to store the logs from the hive driver. If hive's log is set to DEBUG level, it'll overwhelm the CharArrayBuffer, which doubles the array to grow.

      One fix is to switch to a rotating buffer with a capacity. 1MB per query should be enough for normal usage.

        Attachments

          Activity

            People

            • Assignee:
              bcwalrus bc Wong
              Reporter:
              bcwalrus bc Wong
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: