You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2015/09/23 20:18:34 UTC

[4/4] ambari git commit: AMBARI-13207. [SWU] multiple service checks failed (possibly, Illegal capacity of 0.0 for children) (dlysnichenko)

AMBARI-13207. [SWU] multiple service checks failed (possibly, Illegal capacity of 0.0 for children) (dlysnichenko)


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

Branch: refs/heads/branch-dev-stop-all-upgrade
Commit: 094ff7eb710508547bbb403f2d440c00ad373183
Parents: b9b708e
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Wed Sep 23 21:19:04 2015 +0300
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Wed Sep 23 21:19:04 2015 +0300

----------------------------------------------------------------------
 .../stacks/HDP/2.3/upgrades/config-upgrade.xml    | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/094ff7eb/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/config-upgrade.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/config-upgrade.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/config-upgrade.xml
index d482c09..324aec9 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/config-upgrade.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/config-upgrade.xml
@@ -250,20 +250,14 @@
             <set key="yarn.scheduler.capacity.root.default-node-label-expression" value=""/>
           </definition>
 
-          <definition xsi:type="configure" id="hdp_2_3_0_0_yarn_rm_check_cs_root_def_capacity" summary="Checking the Capacity Scheduler root default capacity">
-            <condition type="capacity-scheduler" key="yarn.scheduler.capacity.root.accessible-node-labels.default.capacity" value="-1">
-              <type>capacity-scheduler</type>
-              <key>yarn.scheduler.capacity.root.accessible-node-labels.default.capacity</key>
-              <value>10</value>
-            </condition>
+          <definition xsi:type="configure" id="hdp_2_3_0_0_yarn_rm_check_cs_root_def_capacity" summary="Deleting the Capacity Scheduler root default capacity">
+            <type>capacity-scheduler</type>
+            <transfer operation="delete" delete-key="yarn.scheduler.capacity.root.accessible-node-labels.default.capacity"/>
           </definition>
 
-          <definition xsi:type="configure" id="hdp_2_3_0_0_yarn_rm_check_cs_root_max_capacity" summary="Checking the Capacity Scheduler root maximum capacity">
-            <condition type="capacity-scheduler" key="yarn.scheduler.capacity.root.accessible-node-labels.default.maximum-capacity" value="-1">
-              <type>capacity-scheduler</type>
-              <key>yarn.scheduler.capacity.root.accessible-node-labels.default.maximum-capacity</key>
-              <value>100</value>
-            </condition>
+          <definition xsi:type="configure" id="hdp_2_3_0_0_yarn_rm_check_cs_root_max_capacity" summary="Deleting the Capacity Scheduler root maximum capacity">
+            <type>capacity-scheduler</type>
+            <transfer operation="delete" delete-key="yarn.scheduler.capacity.root.accessible-node-labels.default.maximum-capacity"/>
           </definition>
         </changes>
       </component>