You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2014/09/30 03:04:34 UTC

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

    [ https://issues.apache.org/jira/browse/AMBARI-7542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14152638#comment-14152638 ] 

Sumit Mohanty commented on AMBARI-7542:
---------------------------------------

[~dmitriusan], if it is allowed to issue START and STOP as custom commands then will they not skip the state machines? Also, if a START command is issued against multiple component types then is it still guaranteed that the role command order will be followed?

> 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)