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:
litao 2021-11-18 23:42:01 +08:00 committed by Akira Ajisaka
parent c44f109860
commit 4036213273
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 1 additions and 1 deletions

View File

@ -4502,7 +4502,7 @@ public class BlockManager implements BlockStatsMXBean {
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;
} }