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)

Reply via email to