From a935258e8c52bdd4b24f7fa990fef4116b245e01 Mon Sep 17 00:00:00 2001 From: Kihwal Lee Date: Thu, 30 May 2019 17:31:30 -0500 Subject: [PATCH] HDFS-14521. Suppress setReplication logging. Contributed by Kihwal Lee (cherry picked from commit 9122b9b6493d315c8910fbc06eaba96273ee335c) --- .../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 406fe809bca..2a172d9e9a8 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()); } }