Github user johnsca commented on the issue:
Would the `namenode_hosts` contain more than one item in non-HA? Perhaps
it would be cleaner to just move the loop out of the conditional and rely on it
only running once in the non-HA case.
Also, why are HA and Kerberos mutually exclusive? The change preserves the
existing logic, but the logic seems odd to me.
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