HDFS-16329. Fix log format for BlockManager (#3670)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit dc751df63b
)
This commit is contained in:
parent
c44f109860
commit
4036213273
@ -4502,7 +4502,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…
Reference in New Issue
Block a user