YARN-3747. TestLocalDirsHandlerService should delete the created test

directory logDir2. Contributed by David Moore.

(cherry picked from commit 126321eded)
This commit is contained in:
Devaraj K 2015-06-08 15:32:13 +05:30
parent 2a01c01af7
commit 8c643e3bf9
2 changed files with 4 additions and 1 deletions

View File

@ -456,6 +456,9 @@ Release 2.8.0 - UNRELEASED
YARN-3780. Should use equals when compare Resource in RMNodeImpl#ReconnectNodeTransition.
(zhihai xu via devaraj)
YARN-3747. TestLocalDirsHandlerService should delete the created test directory logDir2.
(David Moore via devaraj)
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -144,7 +144,7 @@ public class TestLocalDirsHandlerService {
FileUtils.deleteDirectory(new File(localDir1));
FileUtils.deleteDirectory(new File(localDir2));
FileUtils.deleteDirectory(new File(logDir1));
FileUtils.deleteDirectory(new File(logDir1));
FileUtils.deleteDirectory(new File(logDir2));
dirSvc.close();
}
}