Bill Farner created AURORA-1141:
-----------------------------------
Summary: Handle new TaskState.TASK_ERROR
Key: AURORA-1141
URL: https://issues.apache.org/jira/browse/AURORA-1141
Project: Aurora
Issue Type: Task
Components: Scheduler
Reporter: Bill Farner
Priority: Critical
Mesos has introduced a new state, TASK_ERROR, which will be used starting with
0.22.0. We currently do not have a mapping for this state, meaning we will
throw an exception while handling such a status update.
>From Conversions.java:
{noformat}
public static ScheduleStatus convertProtoState(TaskState taskState) {
ScheduleStatus status = STATE_TRANSLATION.get(taskState);
Preconditions.checkArgument(status != null, "Unrecognized task state " +
taskState);
return status;
}
{noformat}
In the course of addressing this, we need a unit test that validates that this
function can successfully map all values of {{TaskState}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)