HDFS-12107. FsDatasetImpl#removeVolumes floods the logs when removing the volume. Contributed by Kelvin Chu.
This commit is contained in:
parent
9625a030de
commit
6814324c33
|
@ -536,7 +536,7 @@ class FsDatasetImpl implements FsDatasetSpi<FsVolumeImpl> {
|
|||
ReplicaInfo block = it.next();
|
||||
final StorageLocation blockStorageLocation =
|
||||
block.getVolume().getStorageLocation();
|
||||
LOG.info("checking for block " + block.getBlockId() +
|
||||
LOG.trace("checking for block " + block.getBlockId() +
|
||||
" with storageLocation " + blockStorageLocation);
|
||||
if (blockStorageLocation.equals(sdLocation)) {
|
||||
blocks.add(block);
|
||||
|
|
Loading…
Reference in New Issue