You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sergey Soldatov (JIRA)" <ji...@apache.org> on 2016/05/24 09:20:12 UTC

[jira] [Updated] (HBASE-15884) NPE in StoreFileScanner during reverse scan

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

Sergey Soldatov updated HBASE-15884:
------------------------------------
    Affects Version/s:     (was: 2.0.0)
                       1.2.1

> NPE in StoreFileScanner during reverse scan
> -------------------------------------------
>
>                 Key: HBASE-15884
>                 URL: https://issues.apache.org/jira/browse/HBASE-15884
>             Project: HBase
>          Issue Type: Bug
>          Components: Scanners
>    Affects Versions: 1.2.1
>            Reporter: Sergey Soldatov
>
> Here is a part of {{skipKVsNewerThanReadpoint}} method:
> {noformat}
>       hfs.next();
>       setCurrentCell(hfs.getKeyValue());
>       if (this.stopSkippingKVsIfNextRow
>           && getComparator().compareRows(cur.getRowArray(), cur.getRowOffset(),
>               cur.getRowLength(), startKV.getRowArray(), startKV.getRowOffset(),
>               startKV.getRowLength()) > 0) {
> {noformat}
> If hfs has no more KVs, cur will be set to Null and on on the next step will throw NPE. 



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