hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ka...@apache.org
Subject hadoop git commit: YARN-6231. FairSchedulerTestBase helper methods should call scheduler.update to avoid flakiness. (kasha)
Date Tue, 28 Feb 2017 06:20:24 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 76bf47cb9 -> 58eefc71c


YARN-6231. FairSchedulerTestBase helper methods should call scheduler.update to avoid flakiness.
(kasha)

(cherry picked from commit f187d63816584b783fbfe238475c8f37decdb6dc)


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

Branch: refs/heads/branch-2
Commit: 58eefc71c7a08b8334297a1b0057bb6dbf0978b9
Parents: 76bf47c
Author: Karthik Kambatla <kasha@cloudera.com>
Authored: Mon Feb 27 22:10:57 2017 -0800
Committer: Karthik Kambatla <kasha@cloudera.com>
Committed: Mon Feb 27 22:16:32 2017 -0800

----------------------------------------------------------------------
 .../resourcemanager/scheduler/fair/FairSchedulerTestBase.java      | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/58eefc71/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairSchedulerTestBase.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairSchedulerTestBase.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairSchedulerTestBase.java
index 2214c67..af4e1dd 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairSchedulerTestBase.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairSchedulerTestBase.java
@@ -190,6 +190,7 @@ public class FairSchedulerTestBase {
 
     scheduler.allocate(id, ask, new ArrayList<ContainerId>(),
         null, null, NULL_UPDATE_REQUESTS);
+    scheduler.update();
     return id;
   }
   
@@ -240,6 +241,7 @@ public class FairSchedulerTestBase {
     ask.add(request);
     scheduler.allocate(attId, ask,  new ArrayList<ContainerId>(),
         null, null, NULL_UPDATE_REQUESTS);
+    scheduler.update();
   }
 
   protected void createApplicationWithAMResource(ApplicationAttemptId attId,


---------------------------------------------------------------------
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