bbeaudreault commented on code in PR #4453:
URL: https://github.com/apache/hbase/pull/4453#discussion_r912403731
##########
hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/HFileBlockDefaultDecodingContext.java:
##########
@@ -103,6 +103,11 @@ public void prepareDecoding(int onDiskSizeWithoutHeader,
int uncompressedSizeWit
compression.createDecompressionStream(dataInputStream,
decompressor, 0)) {
BlockIOUtils.readFullyWithHeapBuffer(is, blockBufferWithoutHeader,
uncompressedSizeWithoutHeader);
+ // The buffer has allocated space for checksum, but it's not
always filled. That might
Review Comment:
I agree we should understand that.
--
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]