ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <>
Subject [jira] [Commented] (AMBARI-11093) Provide host predicate property validation for blueprint requests
Date Wed, 13 May 2015 18:19:00 GMT


Hudson commented on AMBARI-11093:

FAILURE: Integrated in Ambari-trunk-Commit #2584 (See [])
AMBARI-11093.  Implement host predicate property validation and fix issue where host (jspeidel:
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/
* ambari-server/src/main/java/org/apache/ambari/server/controller/
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/

> Provide host predicate property validation for blueprint requests
> -----------------------------------------------------------------
>                 Key: AMBARI-11093
>                 URL:
>             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

View raw message