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

(cherry picked from commit 9122b9b649)
This commit is contained in:
Kihwal Lee 2019-05-30 17:30:48 -05:00
parent c076645e18
commit 056bb773ce
1 changed files with 3 additions and 3 deletions

View File

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