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

HS2 memory leak - FileSystem objects in FileSystem.CACHE

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.11.0
    • 0.13.0
    • HiveServer2
    • None

    Description

      org.apache.hadoop.fs.FileSystem objects are getting accumulated in FileSystem.CACHE, with HS2 in unsecure mode.

      As a workaround, it is possible to set fs.hdfs.impl.disable.cache and fs.file.impl.disable.cache to true.
      Users should not have to bother with this extra configuration.

      As a workaround disable impersonation by setting hive.server2.enable.doAs to false.

      Attachments

        1. HIVE-4501.trunk.patch
          4 kB
          Konstantin I Boudnik
        2. HIVE-4501.1.patch
          2 kB
          Thejas Nair
        3. HIVE-4501.1.patch
          4 kB
          Konstantin I Boudnik
        4. HIVE-4501.1.patch
          4 kB
          Konstantin I Boudnik

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vgumashta Vaibhav Gumashta Assign to me
            thejas Thejas Nair
            Votes:
            4 Vote for this issue
            Watchers:
            17 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment