HBASE-11248-KeyOnlyKeyValue#toString() passes wrong offset to

keyToString() (Ram)
This commit is contained in:
Ramkrishna 2014-05-28 22:45:15 +05:30
parent 63e8304e96
commit af522d6852
1 changed files with 1 additions and 2 deletions

View File

@ -2741,8 +2741,7 @@ public class KeyValue implements Cell, HeapSize, Cloneable {
if (this.b == null || this.b.length == 0) {
return "empty";
}
return keyToString(this.b, this.offset + ROW_OFFSET, getKeyLength()) + "/vlen="
+ getValueLength() + "/mvcc=" + 0;
return keyToString(this.b, this.offset, getKeyLength()) + "/vlen=0/mvcc=0";
}
@Override