HDFS-13692. StorageInfoDefragmenter floods log when compacting StorageInfo TreeSet. Contributed by Bharat Viswanadham.
(cherry picked from commit 30728aced4
)
This commit is contained in:
parent
aca66f6155
commit
db1f37a711
|
@ -4519,7 +4519,7 @@ public class BlockManager implements BlockStatsMXBean {
|
|||
datanodesAndStorages.add(node.getDatanodeUuid());
|
||||
datanodesAndStorages.add(storage.getStorageID());
|
||||
}
|
||||
LOG.info("StorageInfo TreeSet fill ratio {} : {}{}",
|
||||
LOG.debug("StorageInfo TreeSet fill ratio {} : {}{}",
|
||||
storage.getStorageID(), ratio,
|
||||
(ratio < storageInfoDefragmentRatio)
|
||||
? " (queued for defragmentation)" : "");
|
||||
|
|
Loading…
Reference in New Issue