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

Ravi Prakash updated MAPREDUCE-2790:
------------------------------------

    Attachment: MAPREDUCE-2790.v3.txt

@Bobby, Jeff, Arun : Thanks for your comments. :) I am uploading a new patch 
which addresses most of your comments. I have removed the new constructors and 
am making do with get/set methods. The switcheroo has been removed ( I renamed 
the methods and their return values appropriately )
@Arun: Thanks! :) I checked ant binary and it built successfully. I have 
reverted the constructors to as they were. The changes I have made are:
1. Include scheduling info into the stream of information passed from 
RMAppImpl->ApplicationReport->JobStatus->CLI 
2. Changed JobStatus.getSchedulingInfo to return a string similar to 0.20.x and 
added JobStatus.getApplicationManagerInfo to return the AM tracking URL.

Some examples of the output
{noformat}
JobId   State   StartTime       UserName        Queue   Priority        
SchedulingInfo  AM info
job_1315930710975_0001  PREP    1315930881447   raviprak        default NORMAL  
0 container(s) just finished on 0 node(s)
{noformat}

{noformat}
JobId   State   StartTime       UserName        Queue   Priority        
SchedulingInfo  AM info
job_1315930710975_0001  RUNNING 1315930881447   raviprak        default NORMAL  
0 container(s) just finished on 1 node(s)       127.0.0.1:39443
{noformat}

{noformat}
JobId   State   StartTime       UserName        Queue   Priority        
SchedulingInfo  AM info
job_1315930710975_0001  SUCCEEDED       1315930881447   raviprak        default 
NORMAL  0 container(s) just finished on 1 node(s)       
127.0.0.1:19888/yarn/job/job_1315930710975_1_1
{noformat}

Please let me know if the output can be improved in anyway.

> [MR-279] Add additional field for storing the AM/job history info on CLI
> ------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2790
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2790
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ramya Sunil
>            Assignee: Ravi Prakash
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-2790.v1.txt, MAPREDUCE-2790.v2.txt, 
> MAPREDUCE-2790.v3.txt
>
>
> bin/mapred job [-list [all]] displays the AM or job history location in the 
> "SchedulingInfo" field. An additional column has to be added to display the 
> AM/job history information. Currently, the output reads:
> {noformat}
> JobId   State   StartTime       UserName        Queue   Priority        
> SchedulingInfo
> jobID  FAILED       0           ramya           default NORMAL      AM 
> information/job history location
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to