aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Huang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-1225) Modify executor state transition logic to rely on health checks (if enabled)
Date Wed, 07 Sep 2016 16:52:20 GMT

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

Kai Huang commented on AURORA-1225:
-----------------------------------

Currently, aurora_executor sends the task status update to scheduler whereas the health checker
performs the health check. When a successful required number of health checks is reached,
the task state transitions to RUNNING. Therefore, the health checker needs to notify the aurora_executor
about the state change. To solve this problem, we can implement a event-listener in aurora
executor that listens to a "TASK_RUNNING_TRANSITION" event dispatched by health checker. Here
is an example for the implementation of event dispatcher and event listener: http://code.activestate.com/recipes/577432-simple-event-dispatcher/

> Modify executor state transition logic to rely on health checks (if enabled)
> ----------------------------------------------------------------------------
>
>                 Key: AURORA-1225
>                 URL: https://issues.apache.org/jira/browse/AURORA-1225
>             Project: Aurora
>          Issue Type: Task
>          Components: Executor
>            Reporter: Maxim Khutornenko
>            Assignee: Kai Huang
>
> Executor needs to start executing user content in STARTING and transition to RUNNING
when a successful required number of health checks is reached.



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

Mime
View raw message