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:
parent
9e489b9ab5
commit
18f9989ff2
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user