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