Pārlūkot izejas kodu

HDFS-9443. Disabling HDFS client socket cache causes logging message printed to console for CLI commands. Contributed by Chris Nauroth.

Haohui Mai 9 gadi atpakaļ
vecāks
revīzija
6039059c37

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/PeerCache.java

@@ -100,7 +100,7 @@ public class PeerCache {
     this.expiryPeriod = e;
 
     if (capacity == 0 ) {
-      LOG.info("SocketCache disabled.");
+      LOG.debug("SocketCache disabled.");
     } else if (expiryPeriod == 0) {
       throw new IllegalStateException("Cannot initialize expiryPeriod to " +
          expiryPeriod + " when cache is enabled.");

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -2332,6 +2332,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-9434. Recommission a datanode with 500k blocks may pause NN for 30
     seconds for printing info log messags.  (szetszwo)
 
+    HDFS-9443. Disabling HDFS client socket cache causes logging message
+    printed to console for CLI commands. (Chris Nauroth via wheat9)
+
 Release 2.7.3 - UNRELEASED
 
   INCOMPATIBLE CHANGES