HDFS-14521. Suppress setReplication logging. Contributed by Kihwal Lee
(cherry picked from commit 9122b9b649
)
This commit is contained in:
parent
942c5b04f2
commit
fd8b8c7494
|
@ -402,10 +402,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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue