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

(cherry picked from commit ec183faadc)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
This commit is contained in:
Kihwal Lee 2016-02-17 09:18:55 -06:00
parent a9c1bb4241
commit a4492dc6ac
2 changed files with 4 additions and 1 deletions

View File

@ -32,6 +32,9 @@ Release 2.7.3 - UNRELEASED
OPTIMIZATIONS
HDFS-8845. DiskChecker should not traverse the entire tree (Chang Li via
Colin P. McCabe)
BUG FIXES
HDFS-9289. Make DataStreamer#block thread safe and verify genStamp in

View File

@ -301,7 +301,7 @@ class BlockPoolSlice {
}
void checkDirs() throws DiskErrorException {
DiskChecker.checkDirs(finalizedDir);
DiskChecker.checkDir(finalizedDir);
DiskChecker.checkDir(tmpDir);
DiskChecker.checkDir(rbwDir);
}