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

Possible NPE in HRegionFileSystem#splitStoreFile when skipStoreFileRangeCheck in splitPolicy return true

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0, 0.98.9
    • None
    • None
    • Reviewed

    Description

      When we close the region during split we close all the storefiles readers. At the time of store file reference creation we open the reader to check split row with the store file boundaries. But if skipStoreFileRangeCheck return true then we may not open the reader and it will be null. So getting NPE.

          f.getReader().close(true);
      

      Attachments

        1. HBASE-12696_98.patch
          0.6 kB
          Rajeshbabu Chintaguntla
        2. HBASE-12696_branch1.patch
          0.6 kB
          Rajeshbabu Chintaguntla
        3. HBASE-12696.patch
          0.6 kB
          Rajeshbabu Chintaguntla

        Activity

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

          People

            rajeshbabu Rajeshbabu Chintaguntla
            rajeshbabu Rajeshbabu Chintaguntla
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment