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

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

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1308 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/1308/])
Revert "AMBARI-20488 Config types are validated before the cluster (lpuskas: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7bb1e3335d41ab7adaf0c66ae5fd8df454178cd7])
* (delete) 
ambari-server/src/main/java/org/apache/ambari/server/topology/validators/RequiredPasswordValidator.java
* (delete) 
ambari-server/src/test/java/org/apache/ambari/server/topology/validators/ClusterConfigTypeValidatorTest.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/RequiredPasswordValidator.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequestTest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequest.java
* (delete) 
ambari-server/src/main/java/org/apache/ambari/server/topology/validators/ClusterConfigTypeValidator.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: 2.5.1
>
>         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