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

FileSystem$Cache leaks in FileUtils.checkFileAccessWithImpersonation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0, 2.1.0
    • Component/s: HiveServer2
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Didn't invoke FileSystem.closeAllForUGI after checkFileAccess. This results leak in FileSystem$Cache and eventually OOM for HS2.

      Workaround without fix -
      fs.hdfs.impl.disable.cache=true
      fs.file.impl.disable.cache=true

        Attachments

        1. HIVE-13729.1.patch
          0.4 kB
          Daniel Dai
        2. HIVE-13729.2.patch
          1 kB
          Daniel Dai

          Activity

            People

            • Assignee:
              daijy Daniel Dai
              Reporter:
              daijy Daniel Dai
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: