Repository: oozie
Updated Branches:
  refs/heads/master 8250fbd49 -> ca4eac431


OOZIE-2731 Set 
yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage 
to a higher value in tests (asasvari via rkanter)


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

Branch: refs/heads/master
Commit: ca4eac431b4c800cfcc3c0f72cb6f5ea8ea74937
Parents: 8250fbd
Author: Robert Kanter <rkan...@cloudera.com>
Authored: Fri Nov 11 09:45:47 2016 +0100
Committer: Robert Kanter <rkan...@cloudera.com>
Committed: Fri Nov 11 09:45:47 2016 +0100

----------------------------------------------------------------------
 core/src/test/java/org/apache/oozie/test/XTestCase.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oozie/blob/ca4eac43/core/src/test/java/org/apache/oozie/test/XTestCase.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/oozie/test/XTestCase.java 
b/core/src/test/java/org/apache/oozie/test/XTestCase.java
index 70f77be..e1d9068 100644
--- a/core/src/test/java/org/apache/oozie/test/XTestCase.java
+++ b/core/src/test/java/org/apache/oozie/test/XTestCase.java
@@ -1007,6 +1007,8 @@ public abstract class XTestCase extends TestCase {
       conf.set("yarn.scheduler.capacity.root.default.capacity", "100");
       // Required to prevent deadlocks with YARN CapacityScheduler
       conf.set("yarn.scheduler.capacity.maximum-am-resource-percent", "0.5");
+      // Default value is 90 - if you have low disk space, tests will fail.
+      
conf.set("yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage",
 "99");
       return conf;
     }
 

Reply via email to