HDFS-13440. Log HDFS file name when client fails to connect. Contributed by Gabor Bota.
This commit is contained in:
parent
ebe5853a45
commit
c95b9b5c07
@ -593,8 +593,8 @@ private synchronized DatanodeInfo blockSeekTo(long target)
|
||||
fetchBlockAt(target);
|
||||
} else {
|
||||
connectFailedOnce = true;
|
||||
DFSClient.LOG.warn("Failed to connect to {} for block {}, " +
|
||||
"add to deadNodes and continue. ", targetAddr,
|
||||
DFSClient.LOG.warn("Failed to connect to {} for file {} for block "
|
||||
+ "{}, add to deadNodes and continue. ", targetAddr, src,
|
||||
targetBlock.getBlock(), ex);
|
||||
// Put chosen node into dead list, continue
|
||||
addToDeadNodes(chosenNode);
|
||||
|
Loading…
Reference in New Issue
Block a user