HBASE-11248-KeyOnlyKeyValue#toString() passes wrong offset to
keyToString() (Ram)
This commit is contained in:
parent
63e8304e96
commit
af522d6852
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue