hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4431) killing already completed job gives ambiguous message as "Killed job <job id>"
Date Sat, 04 Aug 2012 09:24:02 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428590#comment-13428590
] 

Harsh J commented on MAPREDUCE-4431:
------------------------------------

bq. In case the job was already killed, should we perhaps return 0 exitCode (since the kill
was (already) successful?

On second thought, lets not do this, as it would be in violation of what a command's run means.
Only if the command were truly successful for that very instance we should return 0. So +1
and committing shortly.
                
> killing already completed job gives ambiguous message as "Killed job <job id>"
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4431
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4431
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Nishan Shetty
>            Assignee: Devaraj K
>            Priority: Minor
>         Attachments: MAPREDUCE-4431-1.patch, MAPREDUCE-4431.patch
>
>
> If we try to kill the already completed job by the following command it gives ambiguous
message as "Killed job <job id>"
> ./mapred job -kill <already completed job id>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message