فهرست منبع

HDFS-14521. Suppress setReplication logging. Contributed by Kihwal Lee

Kihwal Lee 6 سال پیش
والد
کامیت
9122b9b649

+ 3 - 3
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirAttrOp.java

@@ -399,13 +399,13 @@ public class FSDirAttrOp {
 
     if (oldBR != -1) {
       if (oldBR > targetReplication) {
-        FSDirectory.LOG.info("Decreasing replication from {} to {} for {}",
+        FSDirectory.LOG.debug("Decreasing replication from {} to {} for {}",
                              oldBR, targetReplication, iip.getPath());
       } else if (oldBR < targetReplication) {
-        FSDirectory.LOG.info("Increasing replication from {} to {} for {}",
+        FSDirectory.LOG.debug("Increasing replication from {} to {} for {}",
                              oldBR, targetReplication, iip.getPath());
       } else {
-        FSDirectory.LOG.info("Replication remains unchanged at {} for {}",
+        FSDirectory.LOG.debug("Replication remains unchanged at {} for {}",
                              oldBR, iip.getPath());
       }
     }