Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20141

Fix TooManyFiles exception when RefreshingChannels in FileIOEngine

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0, 2.0.0-beta-1, 1.4.2
    • 1.3.3, 1.4.3, 2.0.0
    • BucketCache
    • None
    • Reviewed

    Description

      HBASE-19435 implements a fix for reopening file channels when they are unnexpected closed
      to avoid disabling the BucketCache. However, it was missed that the the channels might not
      actually be completely closed (the write or read channel might still be open
      (see https://docs.oracle.com/javase/7/docs/api/java/nio/channels/ClosedChannelException.html)
      This commit closes any open channels before creating a new channel.

      Attachments

        1. HBASE-20141.master.004.patch
          3 kB
          Zach York
        2. HBASE-20141.master.003.patch
          3 kB
          Zach York
        3. HBASE-20141.master.002.patch
          3 kB
          Zach York
        4. HBASE-20141.master.001.patch
          3 kB
          Zach York

        Activity

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

          People

            zyork Zach York
            zyork Zach York
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment