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

Hudson commented on AMBARI-20488:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7087 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/7087/])
AMBARI-20488 Config types are validated before the cluster resources are 
(lpuskas: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=403d59324b8a537337f83274274610963241cf33])
* (delete) 
ambari-server/src/main/java/org/apache/ambari/server/topology/RequiredPasswordValidator.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/topology/RequiredPasswordValidatorTest.java
* (add) 
ambari-server/src/main/java/org/apache/ambari/server/topology/validators/ClusterConfigTypeValidator.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequest.java
* (add) 
ambari-server/src/main/java/org/apache/ambari/server/topology/validators/RequiredPasswordValidator.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequestTest.java
* (add) 
ambari-server/src/test/java/org/apache/ambari/server/topology/validators/ClusterConfigTypeValidatorTest.java


> Cluster resource is created when invalid configuration type is added in the 
> cluster creation request. 
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-20488
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20488
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Laszlo Puskas
>            Assignee: Laszlo Puskas
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-20488.v3.patch
>
>
> When a cluster is created using blueprints it is possible to pass 
> configuration in the cluster creation template (that is posted after the 
> blueprint isent in)
> On cluster provisioning configurations are validated and if errors are found 
> the cluster provisioning is interrupted. As the configuration validation is 
> done after the cluster resources are persisted it's not possible to resend 
> the (possibly corrected) cluster template and restart the cluster 
> provisioning.
> Solution:
> Perform the configuration type validation before the cluster resources are 
> persisted. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to