aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David McLaughlin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AURORA-1965) LaunchException needs transient task timeout for reschedule
Date Thu, 25 Jan 2018 18:52:00 GMT

     [ https://issues.apache.org/jira/browse/AURORA-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David McLaughlin resolved AURORA-1965.
--------------------------------------
    Resolution: Fixed

> LaunchException needs transient task timeout for reschedule
> -----------------------------------------------------------
>
>                 Key: AURORA-1965
>                 URL: https://issues.apache.org/jira/browse/AURORA-1965
>             Project: Aurora
>          Issue Type: Bug
>            Reporter: Santhosh Kumar Shanmugham
>            Assignee: David McLaughlin
>            Priority: Minor
>
> In {{TaskAssignerImpl}} a {{LaunchException}} either due to race-condition for grabbing
{{Offer}} or Scheduler Driver {{acceptOffers}} failure will result in the task being help
up in {{ASSIGNED}} state, until transient task timeout kicks in to move the task to LOST,
resulting in a reschedule.
> [https://github.com/apache/aurora/blob/dbe71374399d86d77baa35efbeca4fffa34f380e/src/main/java/org/apache/aurora/scheduler/scheduling/TaskAssignerImpl.java#L135]
> The impact of this is minimal due to fact that multiple conditions need to align for
this situation to happen.
> This happens since the call to {{changeState}} fails since the supplied current state
(PENDING) in the method call is different from the actual state of the task (ASSIGNED).
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message