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

View File

@ -498,7 +498,7 @@ public void addVolume(final StorageLocation location,
/**
* 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 @@ public void checkAndUpdate(String bpid, long blockId, File diskFile,
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);
}
}
}