You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Maxim Khutornenko (JIRA)" <ji...@apache.org> on 2014/04/23 00:02:15 UTC

[jira] [Created] (AURORA-345) killTasks should not fail with "No jobs to kill" error

Maxim Khutornenko created AURORA-345:
----------------------------------------

             Summary: killTasks should not fail with "No jobs to kill" error
                 Key: AURORA-345
                 URL: https://issues.apache.org/jira/browse/AURORA-345
             Project: Aurora
          Issue Type: Task
          Components: Scheduler
            Reporter: Maxim Khutornenko
            Assignee: Maxim Khutornenko


The way it's currently implemented the killTasks fails with INVALID_REQUEST when a provided query does not result in any tasks to kill. This complicates client processing (i.e. requires querying for tasks before killing) and is prone to race errors.

Propose converting INVALID_REQUEST to OK but keeping the original message.



--
This message was sent by Atlassian JIRA
(v6.2#6252)