hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15884) NPE in StoreFileScanner#skipKVsNewerThanReadpoint during reverse scan
Date Wed, 25 May 2016 19:57:12 GMT

    [ https://issues.apache.org/jira/browse/HBASE-15884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300742#comment-15300742
] 

Hudson commented on HBASE-15884:
--------------------------------

FAILURE: Integrated in HBase-Trunk_matrix #946 (See [https://builds.apache.org/job/HBase-Trunk_matrix/946/])
HBASE-15884 NPE in StoreFileScanner#skipKVsNewerThanReadpoint during (tedyu: rev fa74baeb409778de71c8a92b115b46dc63f313a0)
* hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileScanner.java


> NPE in StoreFileScanner#skipKVsNewerThanReadpoint during reverse scan
> ---------------------------------------------------------------------
>
>                 Key: HBASE-15884
>                 URL: https://issues.apache.org/jira/browse/HBASE-15884
>             Project: HBase
>          Issue Type: Bug
>          Components: Scanners
>    Affects Versions: 2.0.0, 1.2.1
>            Reporter: Sergey Soldatov
>            Assignee: Sergey Soldatov
>         Attachments: HBASE-15884-1.patch
>
>
> 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)

Mime
View raw message