hgromer commented on code in PR #7480:
URL: https://github.com/apache/hbase/pull/7480#discussion_r2560121903
##########
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.java:
##########
@@ -324,14 +332,15 @@ public void write(ImmutableBytesWritable row, V cell)
throws IOException {
}
}
}
- wl = getNewWriter(tableNameBytes, family, conf, favoredNodes);
+ wi = getNewWriter(tableNameBytes, family, conf, favoredNodes);
}
// we now have the proper WAL writer. full steam ahead
PrivateCellUtil.updateLatestStamp(kv, this.now);
- wl.writer.append((ExtendedCell) kv);
- wl.written += length;
+ wi.writer.append((ExtendedCell) kv);
+ wi.written += length;
+ wi.maxSequenceId = Math.max(kv.getSequenceId(), wi.maxSequenceId);
Review Comment:
Ah, as long as this is an `ExtendedCell` looks like this should be possible
in branch-3
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]