Skip to content

Commit

Permalink
HDFS-17671 Suppress callstack when adding a datanode to deadnodes (#7180
Browse files Browse the repository at this point in the history
)
  • Loading branch information
xinglin authored Nov 25, 2024
1 parent b9060fc commit 2ab33c6
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 2ab33c6

Please sign in to comment.