HDFS-12024. Fix typo's in FsDatasetImpl.java. Contributed by Yasen liu.

This commit is contained in:
Brahma Reddy Battula 2017-06-23 22:56:28 +08:00
parent e5db9af8a0
commit abdea26280
1 changed files with 2 additions and 2 deletions

View File

@ -498,7 +498,7 @@ class FsDatasetImpl implements FsDatasetSpi<FsVolumeImpl> {
/**
* Removes a set of volumes from FsDataset.
* @param storageLocationsToRemove a set of
* @param storageLocsToRemove a set of
* {@link StorageLocation}s for each volume.
* @param clearFailure set true to clear failure information.
*/
@ -2392,7 +2392,7 @@ class FsDatasetImpl implements FsDatasetSpi<FsVolumeImpl> {
datanode.reportBadBlocks(new ExtendedBlock(bpid, corruptBlock),
memBlockInfo.getVolume());
} catch (IOException e) {
LOG.warn("Failed to repot bad block " + corruptBlock, e);
LOG.warn("Failed to report bad block " + corruptBlock, e);
}
}
}