HBASE-19484 (addendum) NPE in ExtendedCell#write
This commit is contained in:
parent
fb6625fdd9
commit
d2ffd5d7ed
|
@ -53,8 +53,10 @@ public interface ExtendedCell extends RawCell, HeapSize, Cloneable {
|
||||||
// Key
|
// Key
|
||||||
PrivateCellUtil.writeFlatKey(this, out);
|
PrivateCellUtil.writeFlatKey(this, out);
|
||||||
|
|
||||||
// Value
|
if (getValueLength() > 0) {
|
||||||
out.write(getValueArray(), getValueOffset(), getValueLength());
|
// Value
|
||||||
|
out.write(getValueArray(), getValueOffset(), getValueLength());
|
||||||
|
}
|
||||||
|
|
||||||
// Tags length and tags byte array
|
// Tags length and tags byte array
|
||||||
if (withTags && getTagsLength() > 0) {
|
if (withTags && getTagsLength() > 0) {
|
||||||
|
|
Loading…
Reference in New Issue