hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jh...@apache.org
Subject [14/38] hadoop git commit: YARN-6231. FairSchedulerTestBase helper methods should call scheduler.update to avoid flakiness. (kasha)
Date Fri, 03 Mar 2017 01:57:22 GMT
YARN-6231. FairSchedulerTestBase helper methods should call scheduler.update to avoid flakiness.
(kasha)


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

Branch: refs/heads/YARN-5734
Commit: f187d63816584b783fbfe238475c8f37decdb6dc
Parents: 258342e
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:10:57 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/f187d638/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