[ 
https://issues.apache.org/jira/browse/AMBARI-11093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Speidel resolved AMBARI-11093.
-----------------------------------
    Resolution: Pending Closed

merged to trunk

> Provide host predicate property validation for blueprint requests
> -----------------------------------------------------------------
>
>                 Key: AMBARI-11093
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11093
>             Project: Ambari
>          Issue Type: Task
>          Components: blueprints
>    Affects Versions: Ambari-2.1
>            Reporter: John Speidel
>            Assignee: John Speidel
>            Priority: Critical
>             Fix For: Ambari-2.1
>
>
> When specifying a host predicate via the "host_predicate" property in the 
> cluster creation template, the predicate is compiled using the API predicate 
> compiler which will report syntactic errors in the predicate but the property 
> names aren't validated. So, if an invalid property name is specified in the 
> predicate, the host group will never get matched to any host meaning that the 
> host group will never be deployed.
> This is critical that this is fixed for 2.1 as it will cause great 
> frustration to anyone who attempts to provision or scale a cluster and 
> specifies a host predicate with an invalid proper name.
> When an invalid property name is specified a host predicate, this should 
> result in a 400 response to the the user with a message which indicates the 
> invalid properties.



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

Reply via email to