Ver código fonte

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

(cherry picked from commit 9122b9b6493d315c8910fbc06eaba96273ee335c)
(cherry picked from commit fd8b8c7494d19467485423ce2f3f7459a4fddc29)
Kihwal Lee 6 anos atrás
pai
commit
57cfc55484

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

@@ -411,10 +411,10 @@ 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 {
-        FSDirectory.LOG.info("Increasing replication from {} to {} for {}",
+        FSDirectory.LOG.debug("Increasing replication from {} to {} for {}",
                              oldBR, targetReplication, iip.getPath());
       }
     }