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

Compactions may leak memory when unauthorized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • Hive
    • None

    Description

      Initiator class determines compaction type periodically. Initiator either runs as hive user or impersonates the owner of the table. When impersonation is used, Initiator#checkForCompaction may leak memory. If impersonation (ugi.doAs()) call fails, FileSystem.closeAllForUGI does not run, therefore does not clean the file system cache.

      Attachments

        1. HIVE-22700.01.patch
          2 kB
          László Pintér

        Issue Links

          Activity

            People

              lpinter László Pintér
              lpinter László Pintér
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: