hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lium...@apache.org
Subject [13/40] hadoop git commit: YARN-6331. Fix flakiness in TestFairScheduler#testDumpState. (Yufei Gu via rchiang)
Date Mon, 20 Mar 2017 23:18:24 GMT
YARN-6331. Fix flakiness in TestFairScheduler#testDumpState. (Yufei Gu via rchiang)


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

Branch: refs/heads/HADOOP-13345
Commit: 4c66a8d19b7d503095ad27aeed39d62238b9cb47
Parents: fa67a96
Author: Ray Chiang <rchiang@apache.org>
Authored: Tue Mar 14 14:37:18 2017 -0700
Committer: Ray Chiang <rchiang@apache.org>
Committed: Tue Mar 14 15:09:47 2017 -0700

----------------------------------------------------------------------
 .../server/resourcemanager/scheduler/fair/TestFairScheduler.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4c66a8d1/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairScheduler.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/TestFairScheduler.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/TestFairScheduler.java
index 537d3d0..baf7434 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/TestFairScheduler.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/TestFairScheduler.java
@@ -5201,6 +5201,7 @@ public class TestFairScheduler extends FairSchedulerTestBase {
     FSParentQueue parent =
         scheduler.getQueueManager().getParentQueue("parent", false);
     parent.setMaxShare(resource);
+    parent.updateDemand();
 
     String parentQueueString = "{Name: root.parent,"
         + " Weight: <memory weight=1.0, cpu weight=1.0>,"
@@ -5210,7 +5211,7 @@ public class TestFairScheduler extends FairSchedulerTestBase {
         + " MaxShare: <memory:4096, vCores:4>,"
         + " MinShare: <memory:0, vCores:0>,"
         + " ResourceUsage: <memory:4096, vCores:4>,"
-        + " Demand: <memory:0, vCores:0>,"
+        + " Demand: <memory:4096, vCores:4>,"
         + " MaxAMShare: 0.5,"
         + " Runnable: 0}";
 


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