Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51AD610E85 for ; Fri, 21 Jun 2013 13:47:22 +0000 (UTC) Received: (qmail 91398 invoked by uid 500); 21 Jun 2013 13:47:22 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 91375 invoked by uid 500); 21 Jun 2013 13:47:21 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 91357 invoked by uid 99); 21 Jun 2013 13:47:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jun 2013 13:47:21 +0000 Date: Fri, 21 Jun 2013 13:47:21 +0000 (UTC) From: "Tom Beerbower (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-2458) Ambari API should be able to change component state from UNKNOWN to MAINTENANCE 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-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690280#comment-13690280 ] Tom Beerbower commented on AMBARI-2458: --------------------------------------- +1 on the patch. > Ambari API should be able to change component state from UNKNOWN to MAINTENANCE > ------------------------------------------------------------------------------- > > Key: AMBARI-2458 > URL: https://issues.apache.org/jira/browse/AMBARI-2458 > Project: Ambari > Issue Type: Bug > Components: controller > Affects Versions: 1.2.3 > Reporter: Nate Cole > Assignee: Nate Cole > Fix For: 1.2.5 > > Attachments: AMBARI-2458.patch > > > Use case: When ambari node renamed, agent is not running on old name and as a result all the components are in UNKNOWN state. > In order to remove component from the "old" named node, it status needs to be changed to MAINTENANCE, which is not possible in current implementation. Want to issue following: > {noformat} > PUT /api/v1/clusters/c1/hosts/host1/host_components/GANGLIA_MONITOR {"HostRoles": {"state" : "MAINTENANCE"}} > DELETE /api/v1/clusters/c1/hosts/host1/host_components/GANGLIA_MONITOR > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira