HDFS-8845. DiskChecker should not traverse the entire tree (Chang Li via Colin P. McCabe)

This commit is contained in:
Colin Patrick Mccabe 2015-08-17 15:24:56 -07:00
parent c77bd6af16
commit ec183faadc
2 changed files with 4 additions and 1 deletions

View File

@ -810,6 +810,9 @@ Release 2.8.0 - UNRELEASED
HDFS-8792. BlockManager#postponedMisreplicatedBlocks should use a HDFS-8792. BlockManager#postponedMisreplicatedBlocks should use a
LightWeightHashSet to save memory (Yi Liu via Colin P. McCabe) LightWeightHashSet to save memory (Yi Liu via Colin P. McCabe)
HDFS-8845. DiskChecker should not traverse the entire tree (Chang Li via
Colin P. McCabe)
BUG FIXES BUG FIXES
HDFS-7501. TransactionsSinceLastCheckpoint can be negative on SBNs. HDFS-7501. TransactionsSinceLastCheckpoint can be negative on SBNs.

View File

@ -303,7 +303,7 @@ File activateSavedReplica(Block b, File metaFile, File blockFile)
} }
void checkDirs() throws DiskErrorException { void checkDirs() throws DiskErrorException {
DiskChecker.checkDirs(finalizedDir); DiskChecker.checkDir(finalizedDir);
DiskChecker.checkDir(tmpDir); DiskChecker.checkDir(tmpDir);
DiskChecker.checkDir(rbwDir); DiskChecker.checkDir(rbwDir);
} }