You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by su...@apache.org on 2019/02/04 08:30:59 UTC

[hadoop] branch branch-3.1 updated: YARN-9262. TestRMAppAttemptTransitions is failing with an NPE. Contributed by lujie.

This is an automated email from the ASF dual-hosted git repository.

sunilg pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new 41bdcf4  YARN-9262. TestRMAppAttemptTransitions is failing with an NPE. Contributed by lujie.
41bdcf4 is described below

commit 41bdcf41105dcbd837c7454467f68e730b72adec
Author: Weiwei Yang <ww...@apache.org>
AuthorDate: Sat Feb 2 23:02:45 2019 +0800

    YARN-9262. TestRMAppAttemptTransitions is failing with an NPE. Contributed by lujie.
    
    (cherry picked from commit 28ad20a711735243bc10b10e33866dc525f415eb)
---
 .../resourcemanager/rmapp/attempt/TestRMAppAttemptTransitions.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/attempt/TestRMAppAttemptTransitions.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/attempt/TestRMAppAttemptTransitions.java
index faecdb4..f5f8b76 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/attempt/TestRMAppAttemptTransitions.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/attempt/TestRMAppAttemptTransitions.java
@@ -1662,7 +1662,7 @@ public class TestRMAppAttemptTransitions {
     when(allocation.getContainers()).
         thenReturn(Collections.singletonList(container));
     when(scheduler.allocate(any(ApplicationAttemptId.class), any(List.class),
-        any(List.class), any(List.class), any(List.class), any(List.class),
+        any(), any(), any(), any(),
         any(ContainerUpdates.class))).
         thenReturn(allocation);
 


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