hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajeshbabu Chintaguntla (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12696) Possible NPE in HRegionFileSystem#splitStoreFile when skipStoreFileRangeCheck in splitPolicy return true
Date Tue, 16 Dec 2014 03:36:14 GMT

     [ https://issues.apache.org/jira/browse/HBASE-12696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rajeshbabu Chintaguntla updated HBASE-12696:
--------------------------------------------
      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Pushed to 0.98,branch-1 and master branches.
Thanks for review [~apurtell],[~enis].

> Possible NPE in HRegionFileSystem#splitStoreFile when skipStoreFileRangeCheck in splitPolicy
return true
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-12696
>                 URL: https://issues.apache.org/jira/browse/HBASE-12696
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Rajeshbabu Chintaguntla
>            Assignee: Rajeshbabu Chintaguntla
>             Fix For: 1.0.0, 2.0.0, 0.98.9
>
>         Attachments: HBASE-12696.patch, HBASE-12696_98.patch, HBASE-12696_branch1.patch
>
>
> 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.
> {code}
>     f.getReader().close(true);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message