ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower" <tbeerbo...@hortonworks.com>
Subject Re: Review Request 22473: Blueprints don't support cluster creation when using existing DB
Date Wed, 11 Jun 2014 21:21:59 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22473/#review45431
-----------------------------------------------------------

Ship it!


Ship It!

- Tom Beerbower


On June 11, 2014, 8:22 p.m., John Speidel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/22473/
> -----------------------------------------------------------
> 
> (Updated June 11, 2014, 8:22 p.m.)
> 
> 
> Review request for Ambari, Nate Cole, Sid Wagle, and Tom Beerbower.
> 
> 
> Bugs: AMBARI-6041
>     https://issues.apache.org/jira/browse/AMBARI-6041
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> When deploying a cluster via a blueprint where the MYSQL_SERVER component is not included
in the topology but instead already exists, a 400 response is returned to the user even if
the user properly configured the necessary configurations for an existing server.
> { "status" : 400, "message" : "Unable to update configuration properties with topology
information. Component 'MYSQL_SERVER' is not mapped to any host group or is mapped to multiple
groups." }
> This occurs when deploying the cluster when the configurations are updated with topology
related information. For components that may be external, we need to check if the user updated
the default hostname or port in the corresponding configuration and if they have, don't do
any topology update on the property.
> 
> *Note: This patch doesn't include any refactoring which is badly needed in the blueprint
processing code due to code freeze constraints. This work will be done immediately after Ambari
1.6.1 branches.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BaseBlueprintProcessor.java
3f5a7c4 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterResourceProvider.java
054bd98 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/metainfo.xml 36338ff

>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/metainfo.xml 636ecd3

>   ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintResourceProviderTest.java
6d94183 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterResourceProviderTest.java
913abac 
> 
> Diff: https://reviews.apache.org/r/22473/diff/
> 
> 
> Testing
> -------
> 
> Functional Tests:
> Created new cluster with external hive database
> Created new cluster with managed MYSQL_SERVER as hive database
> 
> Unit tests:
> New unit tests
> All unit tests pass
> 
> Results :
> 
> Tests run: 1661, Failures: 0, Errors: 0, Skipped: 13
> 
> ...
> 
> Total run:572
> Total errors:0
> Total failures:0
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18:29.864s
> [INFO] Finished at: Wed Jun 11 16:06:06 EDT 2014
> [INFO] Final Memory: 21M/123M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> John Speidel
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message