Skip to content

Commit

Permalink
HDFS-17671 Suppress callstack when adding a datanode to deadnodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Xing Lin committed Nov 22, 2024
1 parent cd2cffe commit ac9f8a5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -672,9 +672,9 @@ private synchronized DatanodeInfo blockSeekTo(long target)
fetchBlockAt(target);
} else {
connectFailedOnce = true;
DFSClient.LOG.warn("Failed to connect to {} for file {} for block "
+ "{}, add to deadNodes and continue. ", targetAddr, src,
targetBlock.getBlock(), ex);
DFSClient.LOG.warn("Failed to connect to {} for file {} for block {}. Error is {}. "
+ "Add to deadNodes and continue with other datanodes. ", targetAddr, src,
targetBlock.getBlock(), ex.getMessage());
// Put chosen node into dead list, continue
addToLocalDeadNodes(chosenNode);
dfsClient.addNodeToDeadNodeDetector(this, chosenNode);
Expand Down

0 comments on commit ac9f8a5

Please sign in to comment.