You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Chen He (JIRA)" <ji...@apache.org> on 2016/06/28 18:27:57 UTC
[jira] [Issue Comment Deleted] (AMBARI-6275) Add support for "add
hosts" with Blueprints API
[ https://issues.apache.org/jira/browse/AMBARI-6275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chen He updated AMBARI-6275:
----------------------------
Comment: was deleted
(was: curl -i -u admin:admin -X POST http://localhost:8080/api/v1/clusters/cluster/hosts/newHostName -d '{"host_group" :{"name": "slaves","cardinality" : "1+","components": [{ "name": "DATANODE" },{ "name": "NODEMANAGER" },{ "name" : "SPARK_CLIENT"},{ "name": "MAPREDUCE2_CLIENT" }]}}'
HTTP/1.1 400 Bad Request
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
User: admin
Set-Cookie: AMBARISESSIONID=14197dmov9sr5142xjo3oimzp;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/plain
Content-Length: 201
Server: Jetty(8.1.17.v20150415)
{
"status" : 400,
"message" : "The properties [host_group/name, host_group/components, host_group/cardinality] specified in the request or predicate are not supported for the resource type Host."
})
> Add support for "add hosts" with Blueprints API
> -----------------------------------------------
>
> Key: AMBARI-6275
> URL: https://issues.apache.org/jira/browse/AMBARI-6275
> Project: Ambari
> Issue Type: Epic
> Components: ambari-server
> Affects Versions: 1.7.0
> Reporter: Yusaku Sako
> Assignee: John Speidel
> Fix For: 2.1.0
>
>
> Support for "adding hosts" based on *blueprint* style *host_group* via Ambari REST API. There are two scenarios to consider for this JIRA:
> 1) Add hosts based on an existing host in the cluster (and it's *blueprint* style *host_group* component layout). This enables the user to add hosts with components similar to existing hosts in the cluster. For example: expand this cluster with these X hosts and make each of these hosts like Y host (components + configs) existing in the cluster.
> 2) Add hosts based on components + configs. This would be a verbose method that uses *blueprint* style *host_groups* and *configs* to allow you to add hosts to a cluster that do not necessarily have a component layout or config of a similar host existing in the cluster. For example: expand this cluster with these X hosts and make each of these hosts include Y components with Z configs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)