diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java index dbffc64c5c..5783f9074a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java @@ -1261,8 +1261,9 @@ public class DFSInputStream extends FSInputStream */ if (ex instanceof InvalidBlockTokenException || ex instanceof InvalidToken) { - DFSClient.LOG.info("Access token was invalid when connecting to " - + targetAddr + " : " + ex); + DFSClient.LOG.debug( + "Access token was invalid when connecting to {}: {}", + targetAddr, ex); return true; } return false;