YARN-3602. TestResourceLocalizationService.testPublicResourceInitializesLocalDir fails Intermittently due to IOException from cleanup. Contributed by zhihai xu

(cherry picked from commit 333f9a896d)

Conflicts:

	hadoop-yarn-project/CHANGES.txt
This commit is contained in:
Jason Lowe 2016-02-09 16:51:36 +00:00
parent 6257ed8431
commit f264939c47
2 changed files with 8 additions and 1 deletions

View File

@ -84,6 +84,9 @@ Release 2.7.3 - UNRELEASED
YARN-3102. Decommisioned Nodes not listed in Web UI (Kuhu Shukla via YARN-3102. Decommisioned Nodes not listed in Web UI (Kuhu Shukla via
jlowe) jlowe)
YARN-3602. TestResourceLocalizationService.testPublicResourceInitializesLocalDir
fails Intermittently due to IOException from cleanup. (zhihai xu via xgong)
Release 2.7.2 - 2016-01-25 Release 2.7.2 - 2016-01-25
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -191,7 +191,11 @@ public class TestResourceLocalizationService {
@After @After
public void cleanup() throws IOException { public void cleanup() throws IOException {
conf = null; conf = null;
FileUtils.deleteDirectory(new File(basedir.toString())); try {
FileUtils.deleteDirectory(new File(basedir.toString()));
} catch (IOException e) {
// ignore
}
} }
@Test @Test