HDFS-14521. Suppress setReplication logging. Contributed by Kihwal Lee
(cherry picked from commit 9122b9b6493d315c8910fbc06eaba96273ee335c)
This commit is contained in:
parent
2133bb561d
commit
a935258e8c
@ -402,13 +402,13 @@ static BlockInfo[] unprotectedSetReplication(
|
|||||||
|
|
||||||
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user