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 @@ 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user