steveloughran commented on code in PR #7732: URL: https://github.com/apache/hadoop/pull/7732#discussion_r2211186469
########## hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/RawLocalFileSystem.java: ########## @@ -400,7 +398,9 @@ private void initiateRead() { for(int i = 0; i < ranges.size(); ++i) { FileRange range = ranges.get(i); buffers[i] = allocateRelease.getBuffer(false, range.getLength()); - channel.read(buffers[i], range.getOffset(), i, this); + final ByteBuffer buffer = buffers[i]; Review Comment: lets me refer to it in the debug() statement -- 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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org