Repository: ambari Updated Branches: refs/heads/AMBARI-20447 [created] adaa1f90d
AMBARI-20447. YARN service check failed during HDP 2.4-2.6 rolling upgrade with YARN HA enabled (dlysnichenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/adaa1f90 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/adaa1f90 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/adaa1f90 Branch: refs/heads/AMBARI-20447 Commit: adaa1f90d2e53b0bc1cd8a74f7199366e00806ef Parents: 5e39f1b Author: Lisnichenko Dmitro <[email protected]> Authored: Wed Mar 15 17:56:49 2017 +0200 Committer: Lisnichenko Dmitro <[email protected]> Committed: Wed Mar 15 17:56:49 2017 +0200 ---------------------------------------------------------------------- .../src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml | 2 +- .../src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml | 2 +- .../src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml | 2 +- .../stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml | 6 ++++++ 4 files changed, 9 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/adaa1f90/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml index c27b634..3c0769a 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.6.xml @@ -291,10 +291,10 @@ <priority> <service>ZOOKEEPER</service> <service>HDFS</service> - <service>YARN</service> <service>HBASE</service> </priority> <exclude> + <service>YARN</service> <service>AMBARI_METRICS</service> <service>LOGSEARCH</service> </exclude> http://git-wip-us.apache.org/repos/asf/ambari/blob/adaa1f90/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml index dc92c2b..66f1a64 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.6.xml @@ -280,10 +280,10 @@ <priority> <service>ZOOKEEPER</service> <service>HDFS</service> - <service>YARN</service> <service>HBASE</service> </priority> <exclude> + <service>YARN</service> <service>AMBARI_METRICS</service> <service>LOGSEARCH</service> </exclude> http://git-wip-us.apache.org/repos/asf/ambari/blob/adaa1f90/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml index ab6b239..44d0a2a 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml @@ -216,10 +216,10 @@ <priority> <service>ZOOKEEPER</service> <service>HDFS</service> - <service>YARN</service> <service>HBASE</service> </priority> <exclude> + <service>YARN</service> <service>AMBARI_METRICS</service> <service>LOGSEARCH</service> </exclude> http://git-wip-us.apache.org/repos/asf/ambari/blob/adaa1f90/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 index 4b97148..9510f22 100644 --- 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 @@ -18,6 +18,12 @@ --> <configuration supports_final="true"> <property> + <name>yarn.application.classpath</name> + <value>/etc/hadoop/conf,/usr/hdp/current/hadoop-client/*,/usr/hdp/current/hadoop-client/lib/*,/usr/hdp/current/hadoop-hdfs-client/*,/usr/hdp/current/hadoop-hdfs-client/lib/*,/usr/hdp/current/hadoop-yarn-client/*,/usr/hdp/current/hadoop-yarn-client/lib/*</value> + <description>Classpath for typical applications.</description> + <on-ambari-upgrade add="true"/> + </property> + <property> <name>yarn.client.failover-proxy-provider</name> <value>org.apache.hadoop.yarn.client.RequestHedgingRMFailoverProxyProvider</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>
