hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-14099) StoreFile.passesKeyRangeFilter need not create Cells from the Scan's start and stop Row
Date Thu, 16 Jul 2015 11:43:04 GMT
ramkrishna.s.vasudevan created HBASE-14099:
----------------------------------------------

             Summary: StoreFile.passesKeyRangeFilter need not create Cells from the Scan's
start and stop Row
                 Key: HBASE-14099
                 URL: https://issues.apache.org/jira/browse/HBASE-14099
             Project: HBase
          Issue Type: Bug
            Reporter: ramkrishna.s.vasudevan
            Assignee: ramkrishna.s.vasudevan
            Priority: Minor


During profiling saw that the code here in passesKeyRangeFilter in Storefile
{code}
  KeyValue smallestScanKeyValue = scan.isReversed() ? KeyValueUtil
          .createFirstOnRow(scan.getStopRow()) : KeyValueUtil.createFirstOnRow(scan
          .getStartRow());
      KeyValue largestScanKeyValue = scan.isReversed() ? KeyValueUtil
          .createLastOnRow(scan.getStartRow()) : KeyValueUtil.createLastOnRow(scan
          .getStopRow());
{code}
This row need not be copied now considering that we have CellComparator.compareRows(Cell,
byte[]). 
We have already refactored the firstKeyKv and lastKeyKV as part of other JIRAs.



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

Mime
View raw message