hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (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 02:00:26 GMT

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

Andrew Purtell updated HBASE-12696:
-----------------------------------
    Fix Version/s:     (was: 0.98.10)
                   0.98.9

+1

> 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