HDFS-16329. Fix log format for BlockManager (#3670)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org> (cherry picked from commit dc751df63b4ab2c9c26a1efe7479c31fd1de80d5)
This commit is contained in:
parent
ccb711544b
commit
381e41b97c
@ -4417,7 +4417,7 @@ boolean isNodeHealthyForDecommissionOrMaintenance(DatanodeDescriptor node) {
|
|||||||
if (pendingReconstructionBlocksCount == 0 &&
|
if (pendingReconstructionBlocksCount == 0 &&
|
||||||
lowRedundancyBlocksCount == 0) {
|
lowRedundancyBlocksCount == 0) {
|
||||||
LOG.info("Node {} is dead and there are no low redundancy" +
|
LOG.info("Node {} is dead and there are no low redundancy" +
|
||||||
" blocks or blocks pending reconstruction. Safe to decommission or",
|
" blocks or blocks pending reconstruction. Safe to decommission or" +
|
||||||
" put in maintenance.", node);
|
" put in maintenance.", node);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user