Github user kwmonroe commented on the issue: https://github.com/apache/bigtop/pull/151 I think you're saying the `namenode_hosts[host, index]` loop is the only difference, but that's a pretty big difference. The hdfs-site.xml property keys are not the same in HA and non-HA cases. For example, property key in HA: `dfs.namenode.rpc-address.<%= @nameservice_id %>.nn<%= idx+1 %>` Same property key for non-HA: `dfs.namenode.rpc-address` By the time we check for a single item list and have an `if/else` block rendering different properties based on that list size, I think we're no better than we are now.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---