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:
parent
175f44ac81
commit
7102265285
|
@ -37,6 +37,8 @@ Trunk (unreleased changes)
|
||||||
HADOOP-2276 Address regression caused by HADOOP-2274, fix HADOOP-2173 (When
|
HADOOP-2276 Address regression caused by HADOOP-2274, fix HADOOP-2173 (When
|
||||||
the master times out a region servers lease, the region server
|
the master times out a region servers lease, the region server
|
||||||
may not restart)
|
may not restart)
|
||||||
|
HADOOP-2253 getRow can return HBASE::DELETEVAL cells
|
||||||
|
(Bryan Duxbury via Stack)
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HADOOP-2401 Add convenience put method that takes writable
|
HADOOP-2401 Add convenience put method that takes writable
|
||||||
|
|
|
@ -187,7 +187,10 @@ class HStore implements HConstants {
|
||||||
Text itCol = itKey.getColumn();
|
Text itCol = itKey.getColumn();
|
||||||
if (results.get(itCol) == null && key.matchesWithoutColumn(itKey)) {
|
if (results.get(itCol) == null && key.matchesWithoutColumn(itKey)) {
|
||||||
byte [] val = tailMap.get(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) {
|
} else if (key.getRow().compareTo(itKey.getRow()) < 0) {
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue