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

Operator::close() leaks Operator::out, holding reference to buffers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • Query Processor
    • Ubuntu, LXC, jdk6-x86_64

    • Prevent OutputCollector leaks from an Operator by clearing the Operator::out reference on close()

    Description

      When processing multiple splits on the same operator pipeline, the output collector in Operator has a held reference, which causes issues.

      Operator::close() does not de-reference the OutputCollector object Operator::out held by the object.

      This means that trying to allocate space for a new OutputCollector causes an OOM because the old one is still reachable.

      Attachments

        1. out-leak.png
          94 kB
          Gopal Vijayaraghavan
        2. HIVE-5345.01.patch
          0.5 kB
          Gopal Vijayaraghavan

        Activity

          People

            gopalv Gopal Vijayaraghavan
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: