ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <>
Subject Review Request 35678: RU - Resource Manager Service Check fails because hdfs-site.xml is missing when host does not have NameNode component
Date Sat, 20 Jun 2015 01:16:05 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for Ambari, Jonathan Hurley, Nate Cole, and Sumit Mohanty.

Bugs: AMBARI-12035

Repository: ambari


Deploy cluster with HDP 2.2 and HDFS, YARN, RM, ZK
On the hosts with RM, make sure that there is no NameNode
Enable NameNode HA, and RM HA
Register HDP 2.3
Start a long running job
Perform an RU, which will fail because the RM hosts will not have hdfs-site in its config
folder /etc/hadoop/


  ambari-server/src/main/resources/common-services/YARN/ 5385311 
  ambari-server/src/test/python/stacks/2.0.6/YARN/ 448fc01 



Verified on a cluster with 2 RMs, one that was co-hosted with JournalNode, and one without
any HDFS components.
Without the patch, the 2nd RM host did not have hdfs-site.xml; with the patch, it did have
hdfs-site.xml and the RU completed.

I added a # TODO comment to make this logic more robust in the future.

Unit tests passed
Total run:762 
Total errors:0 
Total failures:0 


Alejandro Fernandez

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message