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 "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2008/08/08 07:01:44 UTC

[jira] Created: (HADOOP-3924) Add a 'Killed' job status

Add a 'Killed' job status
-------------------------

                 Key: HADOOP-3924
                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
             Project: Hadoop Core
          Issue Type: New Feature
          Components: mapred
         Environment: all
            Reporter: Alejandro Abdelnur
            Priority: Critical


It is not possible, via APIs, to know if a job has been killed, only that has not been successful.


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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Status: Open  (was: Patch Available)

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Assigned: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan reassigned HADOOP-3924:
--------------------------------------------

    Assignee: Subramaniam Krishnan

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Attachment: patch-3924_v5.txt

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Attachment: patch-3924_v7.txt

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Devaraj Das updated HADOOP-3924:
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.19.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I just committed this. Thanks Subramaniam!

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>             Fix For: 0.19.0
>
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Arun C Murthy updated HADOOP-3924:
----------------------------------

    Status: Open  (was: Patch Available)

Some comments:

1. As Sharad pointed out, this still has to fix the FairScheduler.
2. If possible, can you please make a JobStatus.State enum? Currently we have a bunch of 'private static final int's.
3. JobInProgress.terminateJob should take the actual state rather than a 'boolean' i.e. KILLED/FAILED.
4. We should *not* introduce a _public_ API in JobInProgress to 'fail' the job. The only one necessary is the one to 'kill' it. JobInProgress.failJob should be package private.


> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Reopened: (HADOOP-3924) Add a 'Killed' job status

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

Nigel Daley reopened HADOOP-3924:
---------------------------------


Patch has been reverted.  

When you make changes to a contrib component, please ensure you compile it!  The eclipse-plugin requires eclipse.home to be defined otherwise it doesn't get compiled:

ant -Declipse.home=/path/to/eclipse tar

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>             Fix For: 0.19.0
>
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632147#action_12632147 ] 

Amareshwari Sriramadasu commented on HADOOP-3924:
-------------------------------------------------

Ran test-patch on behalf of Subramaniam. Here is the result:
{noformat}
     [exec] +1 overall.
     [exec]
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec]
     [exec]     +1 tests included.  The patch appears to include 6 new or modified tests.
     [exec]
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec]
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
     [exec]
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
{noformat}

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Status: Patch Available  (was: Open)


Thanks Amareshwari for the comments.
Uploaded a updated patch that incorporates all the comments.

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Arun C Murthy updated HADOOP-3924:
----------------------------------

    Status: Patch Available  (was: Reopened)

Subramaniam's patch without changes to eclipse plugin.

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>             Fix For: 0.19.0
>
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt, patch-3924_v9.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Amareshwari Sriramadasu updated HADOOP-3924:
--------------------------------------------

    Hadoop Flags: [Reviewed]

+1 Patch looks good

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632745#action_12632745 ] 

Nigel Daley commented on HADOOP-3924:
-------------------------------------

This commit has broken trunk!  I am going to revert it.

All the patches waiting to be tested have failed due to the eclipse plugin compilation failing.

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>             Fix For: 0.19.0
>
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632825#action_12632825 ] 

Arun C Murthy commented on HADOOP-3924:
---------------------------------------

The patch isn't there yet:

1. JobInProgress.terminateJob should only be a private method, and JIP.kill and JIP.fail (new method) should use it.
2. There are too many pieces of newly commented code.
3. We should remove the change to the eclipse plugin for now.

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>             Fix For: 0.19.0
>
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631674#action_12631674 ] 

Hadoop QA commented on HADOOP-3924:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12390190/patch-3924_v3.txt
  against trunk revision 696149.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 6 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3281/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3281/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3281/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3281/console

This message is automatically generated.

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Attachment: patch-3924_v6.txt

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Arun C Murthy updated HADOOP-3924:
----------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Subramaniam!

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>             Fix For: 0.19.0
>
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt, patch-3924_v9.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632641#action_12632641 ] 

Amareshwari Sriramadasu commented on HADOOP-3924:
-------------------------------------------------

+1 for the patch

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Hadoop Flags:   (was: [Reviewed])
          Status: Patch Available  (was: Open)


Updated with Arun's & Sharad's comments..thanks.

Not updating JobStatus to enum right now as it affects too many files, have raised a separate JIRA ([Hadoop-4214]) for the same.


> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632827#action_12632827 ] 

Arun C Murthy commented on HADOOP-3924:
---------------------------------------

4. It doesn't bump the JobSubmissionProtocol version, although there is a comment for that.

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>             Fix For: 0.19.0
>
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

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

Hudson commented on HADOOP-3924:
--------------------------------

Integrated in Hadoop-trunk #611 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/611/])

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>             Fix For: 0.19.0
>
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt, patch-3924_v9.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

Posted by "Sharad Agarwal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632172#action_12632172 ] 

Sharad Agarwal commented on HADOOP-3924:
----------------------------------------

Since this patch forks the FAILED status into FAILED and KILLED, there may be potential impact at places where FAILED is currently being used, so doing a grep on JobStatus.FAILED on trunk reveals some more places which needs to be aware of KILLED status:
FairScheduler.update() 
TestFairScheduler.testNonRunningJobsAreIgnored()

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Attachment: patch-3924_v2.txt

Attaching the updated file based on Amareshwari's comments:

1) Removed commented code from TC
2) Bumped up JobSubmissionProtocol version
3) Add a logKilled function in Job History logger to log killed jobs
4) Updated JobDetails.jsp to show Killed Jobs also.
5) Cleaned-up the import mismatch in JT.java

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Status: Patch Available  (was: Open)

Fixed ctrl-c, ctrl-v errors in the Test Case.

All the TCs passed and the Output of test-patch is:
[exec] +1 overall.
     [exec]
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec]
     [exec]     +1 tests included.  The patch appears to include 9 new or modified tests.
     [exec]
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec]
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
     [exec]
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
     [exec]

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620838#action_12620838 ] 

Alejandro Abdelnur commented on HADOOP-3924:
--------------------------------------------

{{JobStatus}} should have a KILLED status.

{{RunnningJob}} should expose either the {{JobStatus}} or a new method {{isKilled}}

Maybe making {{JobStatus}} and enum and exposing that via the {{RunningJob}} would be a more elegant solution.

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Priority: Critical
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632086#action_12632086 ] 

Amareshwari Sriramadasu commented on HADOOP-3924:
-------------------------------------------------

Minor comments:
1. In terminateJob method, two if-else checks can be collapsed into one if-else.
2. There are lines exceeding 80 characters in JobTracker.java and JobHistory.java. And JobClient has unnecessary java.util.Date and DateFormat imports added.

Otherthan that, the patch looks good.

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Attachment: patch-3924_v8.txt

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Status: Patch Available  (was: Open)

Attached the patch with the following changes:

1) Added a new Job Status - KILLED.
1) Updated killJob() & kill() to terminateJob(boolean isFailed) & terminate(boolean isFailed).
2) Added fail() & kill() which call the above methods with the appropriate flag.
3) Added isKilled() & getJobStatu() which returns an int status in RunningJob
4) Of course, a TC that checks whether the Status of a Failed Job & Killed Job are set correctly.

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631243#action_12631243 ] 

Amareshwari Sriramadasu commented on HADOOP-3924:
-------------------------------------------------

Some comments:
1. There is some commented code in the testcase.
2.  I think private methods killJob and failJob are not needed. terminateJob(boolean) can be called inplace of them directly, though it makes sense to have public methods kill() and fail().
3. Should this change JobSubmissionProtocol version number for the change in JobStatus?
4. Change in JobTracker is not needed in this patch.

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Attachment: patch-3924_v4.txt

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Status: Open  (was: Patch Available)

Will upload a updated patch that incorporates Amareshwari's comments.

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Attachment: patch-3924_v1.txt

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

Posted by "Sharad Agarwal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632161#action_12632161 ] 

Sharad Agarwal commented on HADOOP-3924:
----------------------------------------

I noticed that there is a contrib class org.apache.hadoop.eclipse.server.HadoopJob which uses JobStatus. Should we add Killed status to JobState enum as well, to be consistent ? Also getState() and update(JobStatus status) needs to be taken care of for the possible impact.

minor: TestJobKillAndFail doesn't need to have reducer defined, as it is never used. just set the no of reducers to 0. also there is some duplicate code in runJobFail and runJobKill which becomes the candidate to move to a single method, something like:
private RunningJob runJob(String jobName, Class<? extends Mapper> mapper)




> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632835#action_12632835 ] 

Arun C Murthy commented on HADOOP-3924:
---------------------------------------

Unfortunately this patch conflicts horribly with recent changes to trunk too... sigh.

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>             Fix For: 0.19.0
>
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Arun C Murthy updated HADOOP-3924:
----------------------------------

    Attachment: patch-3924_v9.txt

Updated to reflect recent changes to trunk, I believe Amareshwari has run 'ant test test-patch' on this.

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>             Fix For: 0.19.0
>
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt, patch-3924_v9.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Commented: (HADOOP-3924) Add a 'Killed' job status

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632870#action_12632870 ] 

Arun C Murthy commented on HADOOP-3924:
---------------------------------------

I'm sorry, I've been looking at the wrong version of this patch! I take back my comments here:
http://issues.apache.org/jira/browse/HADOOP-3924?focusedCommentId=12632825#action_12632825

But this patch doesn't apply to trunk...

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>             Fix For: 0.19.0
>
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt, patch-3924_v4.txt, patch-3924_v5.txt, patch-3924_v6.txt, patch-3924_v7.txt, patch-3924_v8.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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


[jira] Updated: (HADOOP-3924) Add a 'Killed' job status

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

Subramaniam Krishnan updated HADOOP-3924:
-----------------------------------------

    Attachment: patch-3924_v3.txt


Sync-ed with trunk

> Add a 'Killed' job status
> -------------------------
>
>                 Key: HADOOP-3924
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3924
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Subramaniam Krishnan
>            Priority: Critical
>         Attachments: patch-3924_v1.txt, patch-3924_v2.txt, patch-3924_v3.txt
>
>
> It is not possible, via APIs, to know if a job has been killed, only that has not been successful.

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