ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [29/50] [abbrv] ambari git commit: AMBARI-19841. Add yarn.client.failover-proxy-provider in yarn-site.xml by default for all HA enabled clusters (Madhuvanthi Radhakrishnan via smohanty)
Date Fri, 03 Feb 2017 14:53:33 GMT
AMBARI-19841. Add yarn.client.failover-proxy-provider in yarn-site.xml by default for all HA
enabled clusters (Madhuvanthi Radhakrishnan via smohanty)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 325dc20537b3328ce9cc6e4a3f5d0b111e353d94
Parents: d1f26f9
Author: Sumit Mohanty <smohanty@hortonworks.com>
Authored: Wed Feb 1 22:45:45 2017 -0800
Committer: Sumit Mohanty <smohanty@hortonworks.com>
Committed: Wed Feb 1 22:45:45 2017 -0800

----------------------------------------------------------------------
 .../services/YARN/configuration/yarn-site.xml   | 26 ++++++++++++++++++++
 .../stacks/HDP/2.6/services/YARN/metainfo.xml   |  1 +
 2 files changed, 27 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/325dc205/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml
b/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml
new file mode 100644
index 0000000..555768e
--- /dev/null
+++ b/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<configuration supports_final="true">
+  <property>
+    <name>yarn.client.failover-proxy-provider</name>
+    <value>org.apache.hadoop.yarn.client.ConfiguredRMFailoverProxyProvider</value>
+    <description>When HA is enabled, the class to be used by Clients, AMs and NMs to
failover to the Active RM. It should extend org.apache.hadoop.yarn.client.RMFailoverProxyProvider</description>
+    <on-ambari-upgrade add="false"/>
+  </property>
+</configuration>

http://git-wip-us.apache.org/repos/asf/ambari/blob/325dc205/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/metainfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/metainfo.xml
index ad457b2..801df78 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/metainfo.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/metainfo.xml
@@ -26,6 +26,7 @@
     <service>
       <name>MAPREDUCE2</name>
       <version>2.7.3.2.6</version>
+      <configuration-dir>configuration-mapred</configuration-dir>
     </service>
   </services>
 </metainfo>


Mime
View raw message