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

Eric Payne commented on MAPREDUCE-2789:
---------------------------------------

Sorry about the last comment.

I would like to propose that we reformat the output of {{bin/mapred job 
-list}}. In 0.20, the output has a lot of text surrounding the SchedulingInfo 
metrics. In 0.23, we will be adding mroe more metrics, and I think that the 
output should have a more tabular format rather than string based.

Here's what I'm talking about:

0.20 Formatted output of {{bin/mapred job -list}}:
{noformat}
JobId                   State   StartTime       UserName    Priority    
SchedulingInfo
job_201106250538_52673  2       1316470290916   gmon        NORMAL      0 
running map tasks using 0 map slots.
                                                                        0 
additional slots reserved.
                                                                        0 
running reduce tasks using 0 reduce slots.
                                                                        0 
additional slots reserved.
{noformat}

Current 0.23 Formatted output of {{bin/mapred job -list}}:
{noformat}
JobId                   State        StartTime       UserName    Queue   
Priority    SchedulingInfo
job_1316617280602_0001  SUCCEEDED    1316623818863   ericp       default NORMAL 
     10.74.90.193:19888/yarn/job/job_1316617280602_1_1
{noformat}

\\
\\
Jira MAPREDUCE-2790 (which is related to this jira) is proposing to
# Add a column header named {{AMInfo}}
# move the value currently contained in {{SchedulerInfo}} to the new {{AMInfo}} 
column
# Put a string into the {{SchedulerInfo}} field similar to that which existed 
in 0.20.

I think that the {{SchedulerInfo}} field is already kind of messy with so much 
verbage surrounding the metrics. And, as we add new fields to this output, it 
makes it even more confusing.

So, here is my proposal for a modified format:
{noformat}
                                   User                   Map   Reduce          
 Reserved             Reserved
JobId           State   StartTime  Name  Queue   Priority Tasks Tasks 
Containers Containers Resources Resources AMInfo
job_131646_0001 RUNNING 1316467125 ericp default NORMAL   3      1    4         
 1          4M        1M        10.74.90.193:19888/yarn/job/job_131646_1_1
job_135790_0002 RUNNING 1316813579 admin priqueu NORMAL   7      2    9         
 3          7M        3M        10.74.90.193:19888/yarn/job/job_135790_1_1
{noformat}

Please let me know what you think.

> [MR:279] Update the scheduling info on CLI
> ------------------------------------------
>
>                 Key: MAPREDUCE-2789
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2789
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Ramya Sunil
>            Assignee: Eric Payne
>             Fix For: 0.23.0
>
>
> The scheduling information such as number of containers running, memory usage 
> and reservations per job is not available on bin/mapred job -list CLI.

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

        

Reply via email to