Andrew Onischuk created AMBARI-19282:
----------------------------------------

             Summary: HA HDFS propreties may be written in different case, 
which prevents operations
                 Key: AMBARI-19282
                 URL: https://issues.apache.org/jira/browse/AMBARI-19282
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.5.0
         Attachments: AMBARI-19282.patch

In the command json file the hostname is in lower case, while in HA mode the
hdfs-site property dfs.namenode.rpc-address.{dfs_ha_nameservices}.{nn_id} may
have upper case parts, which prevents the /common-
services/HDFS/<version>/package/scripts/params_linux.py file at line 300 from
identifying the namenode_id, as it tries to find the hostname in the proprety,
and their case doesn't match.

Either it should be fixed that the dfs.namenode.rpc-
address.{dfs_ha_nameservices}.{nn_id} should be always in lower case too or
the params_linux.py should identify the namenode_id by trying to find the
hostname in the property ignoring case.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to