HADOOP-2253 getRow can return HBASE::DELETEVAL cells

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@599223 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2007-11-29 00:37:19 +00:00
parent 175f44ac81
commit 7102265285
2 changed files with 6 additions and 1 deletions

View File

@ -37,6 +37,8 @@ Trunk (unreleased changes)
HADOOP-2276 Address regression caused by HADOOP-2274, fix HADOOP-2173 (When
the master times out a region servers lease, the region server
may not restart)
HADOOP-2253 getRow can return HBASE::DELETEVAL cells
(Bryan Duxbury via Stack)
IMPROVEMENTS
HADOOP-2401 Add convenience put method that takes writable

View File

@ -187,7 +187,10 @@ class HStore implements HConstants {
Text itCol = itKey.getColumn();
if (results.get(itCol) == null && key.matchesWithoutColumn(itKey)) {
byte [] val = tailMap.get(itKey);
results.put(itCol, val);
if (!HLogEdit.isDeleted(val)) {
results.put(itCol, val);
}
} else if (key.getRow().compareTo(itKey.getRow()) < 0) {
break;