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: YARN-4456. Clean up Lint warnings in nodemanager (templedf via rkanter)
Date Thu, 27 Oct 2016 19:41:49 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 5057abc39 -> b7f7d42c2


YARN-4456. Clean up Lint warnings in nodemanager (templedf via rkanter)

(cherry picked from commit 6fbfb501f2e27045da5ce8f48dde881b29328b4a)


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

Branch: refs/heads/branch-2
Commit: b7f7d42c273622cad2d69be6bc0ae65c1715b530
Parents: 5057abc
Author: Robert Kanter <rkanter@apache.org>
Authored: Thu Oct 27 12:37:01 2016 -0700
Committer: Robert Kanter <rkanter@apache.org>
Committed: Thu Oct 27 12:37:20 2016 -0700

----------------------------------------------------------------------
 .../containermanager/logaggregation/TestLogAggregationService.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/b7f7d42c/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/TestLogAggregationService.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/logaggregation/TestLogAggregationService.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/TestLogAggregationService.java
index 1edb841..b9d18a3 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/TestLogAggregationService.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/TestLogAggregationService.java
@@ -2138,7 +2138,7 @@ public class TestLogAggregationService extends BaseContainerManagerTest
{
             ApplicationEventType.APPLICATION_LOG_HANDLING_INITED) };
     checkEvents(appEventHandler, expectedInitEvents, false, "getType",
         "getApplicationID");
-    reset(appEventHandler);
+    reset(new EventHandler[] {appEventHandler});
 
     logAggregationService.handle(new LogHandlerAppFinishedEvent(appId));
     logAggregationService.stop();


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message