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/22cef4fd Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/22cef4fd Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/22cef4fd Branch: refs/heads/branch-feature-AMBARI-12556 Commit: 22cef4fd6fa209f2df699e744aa0975720472032 Parents: 6eb02d0 Author: Lisnichenko Dmitro <[email protected]> Authored: Wed Mar 15 17:56:49 2017 +0200 Committer: Lisnichenko Dmitro <[email protected]> Committed: Thu Mar 16 16:45:52 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/22cef4fd/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 04a201b..aaf6f88 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 @@ -290,10 +290,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/22cef4fd/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 677e1eb..9df5757 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 @@ -279,10 +279,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/22cef4fd/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/22cef4fd/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 0de6f00..13017d7 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>
