hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rkan...@apache.org
Subject hadoop git commit: TestResourceLocalizationService.testPublicResourceInitializesLocalDir fails Intermittently due to IllegalArgumentException from cleanup (templedf via rkanter)
Date Tue, 15 Mar 2016 17:07:34 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 8b00d9de2 -> da24fde33


TestResourceLocalizationService.testPublicResourceInitializesLocalDir fails Intermittently
due to IllegalArgumentException from cleanup (templedf via rkanter)

(cherry picked from commit 22ca176dfe125a4f7bf38cc63ab8106c40a7a7ba)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/da24fde3
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/da24fde3
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/da24fde3

Branch: refs/heads/branch-2
Commit: da24fde333277a0cbcdf12e24aa0377f1f2cc6e0
Parents: 8b00d9d
Author: Robert Kanter <rkanter@apache.org>
Authored: Tue Mar 15 10:05:10 2016 -0700
Committer: Robert Kanter <rkanter@apache.org>
Committed: Tue Mar 15 10:05:28 2016 -0700

----------------------------------------------------------------------
 .../localizer/TestResourceLocalizationService.java                 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/da24fde3/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestResourceLocalizationService.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestResourceLocalizationService.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestResourceLocalizationService.java
index 596f784..bca0752 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestResourceLocalizationService.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestResourceLocalizationService.java
@@ -194,7 +194,7 @@ public class TestResourceLocalizationService {
     conf = null;
     try {
       FileUtils.deleteDirectory(new File(basedir.toString()));
-    } catch (IOException e) {
+    } catch (IOException | IllegalArgumentException e) {
       // ignore
     }
   }


Mime
View raw message