You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Santhosh Kumar Shanmugham (JIRA)" <ji...@apache.org> on 2018/01/24 23:39:01 UTC
[jira] [Created] (AURORA-1965) LaunchException needs transient task
timeout for reschedule
Santhosh Kumar Shanmugham created AURORA-1965:
-------------------------------------------------
Summary: 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
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)