Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4615718917 for ; Mon, 11 Jan 2016 17:09:40 +0000 (UTC) Received: (qmail 77029 invoked by uid 500); 11 Jan 2016 17:09:40 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 76917 invoked by uid 500); 11 Jan 2016 17:09:40 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 76872 invoked by uid 99); 11 Jan 2016 17:09:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2016 17:09:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D21CF2C1F57 for ; Mon, 11 Jan 2016 17:09:39 +0000 (UTC) Date: Mon, 11 Jan 2016 17:09:39 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-14600) Ability to set rack_info with blueprint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-14600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092289#comment-15092289 ] Hudson commented on AMBARI-14600: --------------------------------- SUCCESS: Integrated in Ambari-branch-2.2 #173 (See [https://builds.apache.org/job/Ambari-branch-2.2/173/]) AMBARI-14600. Support for rack information from cluster creation (smohanty: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=107e46da867929b7b11e0d41907ca10c2c4d136d]) * ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql * ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog221.java * ambari-server/src/main/java/org/apache/ambari/server/topology/HostGroupInfo.java * ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql * ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql * ambari-server/src/main/java/org/apache/ambari/server/topology/TopologyManager.java * ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequest.java * ambari-server/src/main/java/org/apache/ambari/server/topology/PersistedStateImpl.java * ambari-server/src/main/java/org/apache/ambari/server/orm/entities/TopologyHostInfoEntity.java * ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql * ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql * ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql > Ability to set rack_info with blueprint > --------------------------------------- > > Key: AMBARI-14600 > URL: https://issues.apache.org/jira/browse/AMBARI-14600 > Project: Ambari > Issue Type: Improvement > Components: ambari-server > Affects Versions: 1.2.1 > Reporter: Laszlo Puskas > Assignee: Laszlo Puskas > Fix For: 1.2.1 > > Attachments: AMBARI-14600.v2.patch > > Original Estimate: 72h > Remaining Estimate: 72h > > Rack information (rack_info) can be set up with API call: > {code} > { > "RequestInfo": { > "context": "Set Rack", > "query": "Hosts/host_name.in(host-10-0-0-4.node.dc1.consul)" > }, > "Body": { > "Hosts": { > "rack_info": "/dc1/rack1" > } > } > } > {code} > If the cluster was created with a blueprint and the rack information is set up afterwards with the above API call, then the services needs to be restarted. It would be better if we could set up rack_info immediately with blueprint something like this: > {code} > { > "blueprint" : "multi-node-hdfs-yarn", > "default_password" : "my-super-secret-password", > "host_groups" :[ > { > "name" : "master", > "hosts" : [ > { > "fqdn" : "amb1.service.consul", > "rack_info": "/dc1/rack1" > } > ] > }, > { > "name" : "slave_1", > "hosts" : [ > { > "fqdn" : "amb2.service.consul", > "rack_info": "/dc1/rack1" > } > ] > } > ] > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)