This is an automated email from the ASF dual-hosted git repository.

echekanskiy pushed a commit to branch trunk
in repository

The following commit(s) were added to refs/heads/trunk by this push:
     new 73e7362  AMBARI-23539. Unable to install stacks without hdfs-site 
config (echekanskiy)
73e7362 is described below

commit 73e7362ce6bf0eb58b27a06a998e625b1e85ac55
Author: Eugene Chekanskiy <>
AuthorDate: Wed Apr 11 13:57:51 2018 +0300

    AMBARI-23539. Unable to install stacks without hdfs-site config 
 .../src/main/resources/stack-hooks/before-ANY/scripts/        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
index 3fcac39..6f6cd39 100644
--- a/ambari-server/src/main/resources/stack-hooks/before-ANY/scripts/
+++ b/ambari-server/src/main/resources/stack-hooks/before-ANY/scripts/
@@ -207,7 +207,8 @@ dfs_ha_nameservices = 
 if dfs_ha_nameservices is None:
   dfs_ha_nameservices = default('/configurations/hdfs-site/dfs.nameservices', 
-dfs_ha_namenode_ids_all_ns = get_properties_for_all_nameservices(hdfs_site, 
+# on stacks without any filesystem there is no hdfs-site
+dfs_ha_namenode_ids_all_ns = get_properties_for_all_nameservices(hdfs_site, 
'dfs.ha.namenodes') if 'hdfs-site' in config['configurations'] else {}
 dfs_ha_automatic_failover_enabled = 
default("/configurations/hdfs-site/dfs.ha.automatic-failover.enabled", False)
 # Values for the current Host

To stop receiving notification emails like this one, please contact

Reply via email to