This is an automated email from the ASF dual-hosted git repository.

kihwal pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.2 by this push:
     new 056bb77  HDFS-14521. Suppress setReplication logging. Contributed by 
Kihwal Lee
056bb77 is described below

commit 056bb773ce8cb7a9fec38a5943cc95515109cd37
Author: Kihwal Lee <kih...@apache.org>
AuthorDate: Thu May 30 17:30:48 2019 -0500

    HDFS-14521. Suppress setReplication logging. Contributed by Kihwal Lee
    
    (cherry picked from commit 9122b9b6493d315c8910fbc06eaba96273ee335c)
---
 .../java/org/apache/hadoop/hdfs/server/namenode/FSDirAttrOp.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirAttrOp.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirAttrOp.java
index 1dbee96..c3643e0 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirAttrOp.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirAttrOp.java
@@ -402,13 +402,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());
       }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to