ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11266) Blueprint API: Move host_count and host_predicate fields up one level
Date Wed, 20 May 2015 23:13:00 GMT

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

Hudson commented on AMBARI-11266:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2662 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2662/])
AMBARI-11266.  Blueprint API: Move 'host_count' and 'host_predicate' up one level (jspeidel:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=80e2477317b2f11b3635872014604a258044288c)
* ambari-server/src/main/java/org/apache/ambari/server/topology/TopologyRequest.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequestTest.java
* ambari-server/src/main/java/org/apache/ambari/server/topology/PersistedStateImpl.java
* ambari-server/src/main/java/org/apache/ambari/server/topology/LogicalRequest.java
* ambari-server/src/test/java/org/apache/ambari/server/topology/TopologyManagerTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ScaleClusterRequest.java
* ambari-server/src/test/java/org/apache/ambari/server/topology/ClusterTopologyImplTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ExportBlueprintRequest.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ScaleClusterRequestTest.java


> Blueprint API: Move host_count and host_predicate fields up one level
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-11266
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11266
>             Project: Ambari
>          Issue Type: Task
>          Components: blueprints
>    Affects Versions: 2.1.0
>            Reporter: John Speidel
>            Assignee: John Speidel
>             Fix For: 2.1.0
>
>
> Recently, during 2.1 development, API additions were made that allow a host count and
host predicate to be specified for blueprint provision and scaling requests.  
> The additions are documented in the Apache Jira: https://issues.apache.org/jira/browse/AMBARI-10750
> After some consideration and discussion, it has become clear that the host_count and
host_predicate fields need to move up one level form their current location under hosts. 
Only explicitly specified hosts will be contained within "hosts".
> For example:
> {code}
> {
>   "blueprint" : "bp1",
>   "host_groups" :[
>     { 
>       "name" : "master",  
>       "hosts" : [          
>         { 
>           "fqdn" : "john2.novalocal"
>         }
>       ]
>     },  
>     { 
>       "name" : "slave",   
>       "host_count" : "5",
>       "host_predicate" : "Hosts/cpu_count>1"   
>     }
>   ]
> }
> {code}



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

Mime
View raw message