You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aurora.apache.org by "Bill Farner (JIRA)" <ji...@apache.org> on 2014/01/24 00:20:37 UTC

[jira] [Created] (AURORA-83) Killing a job attempts to transition non-active tasks

Bill Farner created AURORA-83:
---------------------------------

             Summary: Killing a job attempts to transition non-active tasks
                 Key: AURORA-83
                 URL: https://issues.apache.org/jira/browse/AURORA-83
             Project: Aurora
          Issue Type: Bug
          Components: Client, Scheduler
            Reporter: Bill Farner
            Priority: Minor


The client exposes a {{kill}} subcommand to kill jobs, which currently applies to cron and non-cron jobs.  This is translated into a {{killTasks}} RPC, and the scheduler internally inspects the query to determine if this is a request to kill a whole job.  Acting on this RPC for a job means that the scheduler attempts to transition a slew of tasks to {{KILLING}} state.  This is benign, but inefficient and can result in lots of log noise.

In the short term, the scheduler should restrict non-cron job-scoped kills to only active tasks.  Longer-term, we should expose a more explicit way for the client to ask for a cron job to be unscheduled.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)