Robert Nettleton created AMBARI-10388:
-----------------------------------------

             Summary: Blueprint not properly handling host group names that 
include "-" characters
                 Key: AMBARI-10388
                 URL: https://issues.apache.org/jira/browse/AMBARI-10388
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Robert Nettleton
            Assignee: Robert Nettleton
            Priority: Critical
             Fix For: 2.1.0


The Blueprint configuration processor does not properly handle the case of host 
group names that include "-" characters (minus sign, dash). 

For example, the following property:

 "ha.zookeeper.quorum": 
"%HOSTGROUP::os-amb-r6-secha-1427972156-hbaseha-3-6%:2181,%HOSTGROUP::os-amb-r6-secha-1427972156-hbaseha-3-5%:2181,%HOSTGROUP::os-amb-r6-secha-1427972156-hbaseha-3-7%:2181"

Will cause the Blueprint configuration processor to incorrectly match the host 
groups (here with "-" characters) to actual assigned host names.  During 
Blueprint processing, this property will be replaced with an incorrect listing 
of host group names and hosts, which will cause various services to fail at 
startup.  In this particular property, the HDFS services will not be able to 
connect to the Zookeeper service.  

The Blueprint configuration processor needs to be updated such that host group 
names can include "-" characters. 

Note: This bug is not affected by the actual DNS host names specified in a 
cluster creation template. This bug is only affected by the logical host group 
names having an unexpected character.  

I'm working on a patch for this, and will be submitting it shortly.  




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

Reply via email to