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 18:53:18 UTC
[jira] [Updated] (AMBARI-15202) Status commands temporary break
host component state machine
[ https://issues.apache.org/jira/browse/AMBARI-15202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Myroslav Papirkovskyy updated AMBARI-15202:
-------------------------------------------
Attachment: AMBARI-15202.patch
> 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
>
> Attachments: AMBARI-15202.patch
>
>
> 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)