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

[jira] [Updated] (AURORA-996) Aurora client batch job kill does not filter active tasks

     [ https://issues.apache.org/jira/browse/AURORA-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Farner updated AURORA-996:
-------------------------------
    Assignee: Maxim Khutornenko

> Aurora client batch job kill does not filter active tasks
> ---------------------------------------------------------
>
>                 Key: AURORA-996
>                 URL: https://issues.apache.org/jira/browse/AURORA-996
>             Project: Aurora
>          Issue Type: Bug
>          Components: Client
>            Reporter: Maxim Khutornenko
>            Assignee: Maxim Khutornenko
>            Priority: Blocker
>
> Aurora client batched kill does not filter for active tasks and attempts to kill any unique instance IDs it can find (including completed tasks):
> For example, a job kill that does not exist any longer but used to have 4 instances:
> {noformat}
> vagrant@vagrant-ubuntu-trusty-64:~$ aurora job killall devcluster/www-data/prod/hello 
>  INFO] Checking status of devcluster/www-data/prod/hello
>  INFO] 
>  INFO] Killing tasks for job: devcluster/www-data/prod/hello
>  INFO] Instances to be killed: [0]
>  INFO] No tasks to kill.
> Successfully killed instances [0]
>  INFO] Killing tasks for job: devcluster/www-data/prod/hello
>  INFO] Instances to be killed: [1]
>  INFO] No tasks to kill.
> Successfully killed instances [1]
>  INFO] Killing tasks for job: devcluster/www-data/prod/hello
>  INFO] Instances to be killed: [2]
>  INFO] No tasks to kill.
> Successfully killed instances [2]
>  INFO] Killing tasks for job: devcluster/www-data/prod/hello
>  INFO] Instances to be killed: [3]
>  INFO] No tasks to kill.
> Successfully killed instances [3]
>  INFO] Killing tasks for job: devcluster/www-data/prod/hello
>  INFO] Instances to be killed: [4]
>  INFO] No tasks to kill.
> Successfully killed instances [4]
> Job killall succeeded
> {noformat}
> Checking history it appears that this bug has been in place since inception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)