You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Myroslav Papirkovskyy (JIRA)" <ji...@apache.org> on 2016/02/26 12:45:18 UTC

[jira] [Created] (AMBARI-15202) Status commands temporary break host component state machine

Myroslav Papirkovskyy created AMBARI-15202:
----------------------------------------------

             Summary: Status commands temporary break host component state machine
                 Key: AMBARI-15202
                 URL: https://issues.apache.org/jira/browse/AMBARI-15202
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 1.6.0
            Reporter: Myroslav Papirkovskyy
            Assignee: Myroslav Papirkovskyy
            Priority: Critical
             Fix For: 2.2.2


This occurs when status command response is received after start of next stage which modifies sch state (quite often on starting services during install).

# status command is sent to agent (happens every 60 seconds)
# start commands are scheduled, generated event which move sch from INSTALLED to STARTING
# status command response received from agent. sch status directly set to INSTALLED bypassing state machine
# All subsequent task reports from agent trigger InvalidTransitionException, as OP_INPROGRESS event tries to do STARTING -> STARTING transition.
# However at task end we support INSTALLED -> STARTED transition for STARTED event. So tasks finish normally.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)