You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Amar Kamat (JIRA)" <ji...@apache.org> on 2009/01/09 16:22:59 UTC

[jira] Created: (HADOOP-5004) 'job -kill' from command line should inform if the job doesn't exit

'job -kill' from command line should inform if the job doesn't exit
-------------------------------------------------------------------

                 Key: HADOOP-5004
                 URL: https://issues.apache.org/jira/browse/HADOOP-5004
             Project: Hadoop Core
          Issue Type: Bug
          Components: mapred
    Affects Versions: 0.21.0
            Reporter: Amar Kamat
             Fix For: 0.21.0


Killing an invalid job from command line succeeds with a message stating "job killed". 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5004) 'job -kill' from command line should inform if the job doesn't exist

Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amar Kamat updated HADOOP-5004:
-------------------------------

    Summary: 'job -kill' from command line should inform if the job doesn't exist  (was: 'job -kill' from command line should inform if the job doesn't exit)

> 'job -kill' from command line should inform if the job doesn't exist
> --------------------------------------------------------------------
>
>                 Key: HADOOP-5004
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5004
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.21.0
>            Reporter: Amar Kamat
>             Fix For: 0.21.0
>
>
> Killing an invalid job from command line succeeds with a message stating "job killed". 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5004) 'job -kill' from command line should inform if the job doesn't exist

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662944#action_12662944 ] 

Steve Loughran commented on HADOOP-5004:
----------------------------------------

we'd need JobTracker.killJob() to return something other than void() in such a situation, or throw a subclass of IOException. 

Having the client look for the job and failing if it is not there would leave open a race condition.

> 'job -kill' from command line should inform if the job doesn't exist
> --------------------------------------------------------------------
>
>                 Key: HADOOP-5004
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5004
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.21.0
>            Reporter: Amar Kamat
>             Fix For: 0.21.0
>
>
> Killing an invalid job from command line succeeds with a message stating "job killed". 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.