[
https://issues.apache.org/jira/browse/AURORA-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jake Farrell reopened AURORA-395:
---------------------------------
> Scheduler should not send SANDBOX_DELETED tasks to GC executor
> --------------------------------------------------------------
>
> Key: AURORA-395
> URL: https://issues.apache.org/jira/browse/AURORA-395
> Project: Aurora
> Issue Type: Bug
> Components: Scheduler
> Reporter: Bill Farner
> Assignee: Bill Farner
> Fix For: 0.5.0
>
>
> The scheduler is indiscriminately gathering all tasks for the host, including
> those in {{SANDBOX_DELETED}} state:
> {noformat}
> private TaskInfo makeGcTask(String hostName, SlaveID slaveId) {
> Set<IScheduledTask> tasksOnHost =
> Storage.Util.weaklyConsistentFetchTasks(storage,
> Query.slaveScoped(hostName));
> AdjustRetainedTasks message = new AdjustRetainedTasks()
> .setRetainedTasks(Maps.transformValues(Tasks.mapById(tasksOnHost),
> Tasks.GET_STATUS));
> tasksCreated.incrementAndGet();
> return makeGcTask(hostName, slaveId, message);
> }
> {noformat}
> Which will include {{SANDBOX_DELETED}} tasks. These should be omitted from
> AdjustRetainedTasks messages.
--
This message was sent by Atlassian JIRA
(v6.2#6252)