hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Soldatov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15884) NPE in StoreFileScanner during reverse scan
Date Tue, 24 May 2016 09:16:12 GMT
Sergey Soldatov created HBASE-15884:

             Summary: 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: 2.0.0
            Reporter: Sergey Soldatov

Here is a part of {{skipKVsNewerThanReadpoint}} method:
      if (this.stopSkippingKVsIfNextRow
          && getComparator().compareRows(cur.getRowArray(), cur.getRowOffset(),
              cur.getRowLength(), startKV.getRowArray(), startKV.getRowOffset(),
              startKV.getRowLength()) > 0) {

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

View raw message