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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0, 0.98.9
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: