HDFS-12024. Fix typo's in FsDatasetImpl.java. Contributed by Yasen liu.
This commit is contained in:
parent
e5db9af8a0
commit
abdea26280
|
@ -498,7 +498,7 @@ class FsDatasetImpl implements FsDatasetSpi<FsVolumeImpl> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes a set of volumes from FsDataset.
|
* Removes a set of volumes from FsDataset.
|
||||||
* @param storageLocationsToRemove a set of
|
* @param storageLocsToRemove a set of
|
||||||
* {@link StorageLocation}s for each volume.
|
* {@link StorageLocation}s for each volume.
|
||||||
* @param clearFailure set true to clear failure information.
|
* @param clearFailure set true to clear failure information.
|
||||||
*/
|
*/
|
||||||
|
@ -2392,7 +2392,7 @@ class FsDatasetImpl implements FsDatasetSpi<FsVolumeImpl> {
|
||||||
datanode.reportBadBlocks(new ExtendedBlock(bpid, corruptBlock),
|
datanode.reportBadBlocks(new ExtendedBlock(bpid, corruptBlock),
|
||||||
memBlockInfo.getVolume());
|
memBlockInfo.getVolume());
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOG.warn("Failed to repot bad block " + corruptBlock, e);
|
LOG.warn("Failed to report bad block " + corruptBlock, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue