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

(cherry picked from commit 9122b9b6493d315c8910fbc06eaba96273ee335c)
(cherry picked from commit fd8b8c7494d19467485423ce2f3f7459a4fddc29)
This commit is contained in:
Kihwal Lee 2019-05-30 17:37:38 -05:00
parent c63049dfd4
commit 500dc05924

View File

@ -411,10 +411,10 @@ static BlockInfo[] unprotectedSetReplication(
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());
}
}