ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myroslav Papirkovskyy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-15202) Status commands temporary break host component state machine
Date Fri, 26 Feb 2016 17:53:18 GMT

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

Mime
View raw message