haiyang1987 commented on code in PR #5829:
URL: https://github.com/apache/hadoop/pull/5829#discussion_r1531794650
##########
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/StripeReader.java:
##########
@@ -284,7 +307,8 @@ private Callable<BlockReadStats> readCells(final
BlockReader reader,
int ret = 0;
for (ByteBufferStrategy strategy : strategies) {
- int bytesReead = readToBuffer(reader, datanode, strategy,
currentBlock);
+ int bytesReead = readToBuffer(reader, datanode, strategy, currentBlock,
+ chunkIndex);
Review Comment:
For `readToBuffer` maybe need to consider the current actual offsetInBlock.
`readToBuffer(reader, datanode, strategy, currentBlock, chunkIndex, ret);`
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]