YARN-3747. TestLocalDirsHandlerService should delete the created test

directory logDir2. Contributed by David Moore.
This commit is contained in:
Devaraj K 2015-06-08 15:32:13 +05:30
parent c7ee6c151c
commit 126321eded
2 changed files with 4 additions and 1 deletions

View File

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

View File

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