You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/03/01 01:56:18 UTC

[jira] [Commented] (AMBARI-15184) Host with uppercased symbols was not registered during deploy via blueprints

    [ https://issues.apache.org/jira/browse/AMBARI-15184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15173011#comment-15173011 ] 

Hudson commented on AMBARI-15184:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #4409 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4409/])
AMBARI-15184. Host with uppercased symbols was not registered during (stoader: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6bdc7fc7fe88a151116b92f1b9023780c2f219ad])
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequestTest.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
* ambari-server/src/main/java/org/apache/ambari/server/topology/ClusterTopologyImpl.java
* ambari-server/src/test/java/org/apache/ambari/server/topology/HostGroupInfoTest.java
* ambari-server/src/main/java/org/apache/ambari/server/topology/HostGroupInfo.java


> Host with uppercased symbols was not registered during deploy via blueprints
> ----------------------------------------------------------------------------
>
>                 Key: AMBARI-15184
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15184
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.1
>            Reporter: Sandor Magyari
>            Assignee: Sandor Magyari
>            Priority: Critical
>             Fix For: 2.2.2
>
>         Attachments: AMBARI-15184_v2.patch
>
>
> The main problem is that while hostnames are only stored in the Ambari DB in lowercase letters, it is still possible for a user to specify a host with capital letters or mixed case letters in the Cluster Creation Template (submitted during a cluster deployment).
> The solution would be to convert the hostnames specified in the Cluster Creation template at deployment time to lower case, and use only lower-case hostnames in Blueprints generally (as in the rest of Ambari). This would mean that all hostnames assumed to be lower-case internally.



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