HDFS-17192. Add bock info when constructing remote block reader meets IOException. (#6081). Contributed by farmmamba.

Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
This commit is contained in:
hfutatzhanghb 2023-09-18 20:56:45 +08:00 committed by GitHub
parent 9e489b9ab5
commit 18f9989ff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -769,7 +769,7 @@ public class BlockReaderFactory implements ShortCircuitReplicaCreator {
LOG.debug("Closed potentially stale remote peer {}", peer, ioe);
} else {
// Handle an I/O error we got when using a newly created peer.
LOG.warn("I/O error constructing remote block reader.", ioe);
LOG.warn("I/O error constructing remote block reader for block {}", block, ioe);
throw ioe;
}
} finally {