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

Akira AJISAKA commented on MAPREDUCE-6479:
------------------------------------------

Thanks [~nijel] for creating the patch. Some comments from me:
1. {code}
+| -list-active-trackers | List all the active task trackers in the cluster |
+| -list-blacklisted-trackers | List the black listed task trackers in the 
cluster |
{code}
task trackers should be NodeManagers since the document is targeted for 
MapReduce on YARN.

2. {code}
+| -list-attempt-ids *job-id* *task-type* *task-state* | List the attempt-ids 
based on the task type and the status given. Valid values for task-type are 
REDUCE, MAP. Valid values for task-state are running, completed |
{code}
pending, failed, killed are also the valid values for task state. We should fix 
the following code as well:
{code:title=CLI.java}
    String taskStates = "running, completed";
{code}

3. {code}
+| -logs *job-id* *task-attempt-id* | Gets the location of the log file for a 
job if no taskAttemptId is specified, otherwise gets the log location for the 
taskAttemptId |
{code}
The command does not gets the location of the log file but dump the container 
log itself. Would you fix the description?


> Add missing commands in mapreduce document
> ------------------------------------------
>
>                 Key: MAPREDUCE-6479
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6479
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: nijel
>            Assignee: nijel
>            Priority: Minor
>         Attachments: MAPREDUCE-6479.patch
>
>
> As per initial analysis the following command details are not added in
> http://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapredCommands.html#job
> {noformat}
>         [-list-active-trackers]
>         [-list-blacklisted-trackers]
>         [-list-attempt-ids <job-id> <task-type> <task-state>]. Valid values 
> for <task-type> are MAP REDUCE. Valid values for <task-state> are running, 
> completed
>         [-logs <job-id> <task-attempt-id>]
> {noformat}
> Please let me know it is intentionally skipped ?
> if not i will update a patch to add.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to