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 02253179F2 for ; Mon, 29 Sep 2014 17:39:34 +0000 (UTC) Received: (qmail 65852 invoked by uid 500); 29 Sep 2014 17:39:33 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 65819 invoked by uid 500); 29 Sep 2014 17:39:33 -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 65807 invoked by uid 99); 29 Sep 2014 17:39:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 17:39:33 +0000 Date: Mon, 29 Sep 2014 17:39:33 +0000 (UTC) From: "Dmitry Lysnichenko (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-7542) START/STOP should be standart commands for all components MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Dmitry Lysnichenko created AMBARI-7542: ------------------------------------------ Summary: START/STOP should be standart commands for all components Key: AMBARI-7542 URL: https://issues.apache.org/jira/browse/AMBARI-7542 Project: Ambari Issue Type: Bug Components: ambari-server Affects Versions: 1.7.0 Reporter: Dmitry Lysnichenko Assignee: Dmitry Lysnichenko Fix For: 1.7.0 INSTALL/START/STOP/CONFIGURE should be standart commands for all components. They should not be defined at metainfo.xml. Actual result: Send STOP/START custom command to RS. Result: {noformat} { "order_id" : 2, "request_type" : "POST", "request_uri" : "/api/v1/clusters/c1/requests", "request_body" : "{\"RequestInfo\":{\"context\":\"Decommission RegionServer - Stop RegionServer\",\"command\":\"STOP\",\"exclusive\":\"true\",\"operation_level\":{\"level\":\"HOST_COMPONENT\",\"cluster_name\":\"c1\",\"host_name\":\"c6402.ambari.apache.org\",\"service_name\":\"HBASE\"}},\"Requests/resource_filters\":[{\"service_name\":\"HBASE\",\"component_name\":\"HBASE_REGIONSERVER\",\"hosts\":\"c6402.ambari.apache.org\"}]}", "request_status" : "FAILED", "return_code" : 500, "response_message" : "An internal system exception occurred: Unsupported action STOP for Service: HBASE and Component: HBASE_REGIONSERVER" }, {noformat} Desired result: Stop command should have been passed successfuly -- This message was sent by Atlassian JIRA (v6.3.4#6332)