You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2014/09/29 19:39:33 UTC

[jira] [Created] (AMBARI-7542) START/STOP should be standart commands for all components

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)