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