You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Iyappan Srinivasan (JIRA)" <ji...@apache.org> on 2009/09/17 08:35:57 UTC

[jira] Created: (MAPREDUCE-994) bin/hadoop job -counter help options do not give information on permissible values.

bin/hadoop job -counter help options do not give information on permissible values.
-----------------------------------------------------------------------------------

                 Key: MAPREDUCE-994
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-994
             Project: Hadoop Map/Reduce
          Issue Type: Bug
            Reporter: Iyappan Srinivasan
            Priority: Minor


Right now,  bin/hadoop job -counter  gives this output

bin/hadoop job -counter 
DEPRECATED: Use of this script to execute mapred command is deprecated.
Instead use the mapred command for it.

Usage: CLI [-counter <job-id> <group-name> <counter-name>]

What are these group names and what are the counter-names is not explained. All permissible values of group-name> and <counter-name> should be specified.

Group_name Ex: 
org.apache.hadoop.mapreduce.TaskCounter 

Counter name example:
REDUCE_INPUT_RECORDS


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


[jira] Commented: (MAPREDUCE-994) bin/hadoop job -counter help options do not give information on permissible values.

Posted by "Meng Mao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828928#action_12828928 ] 

Meng Mao commented on MAPREDUCE-994:
------------------------------------

I agree, though currently the usage output is simply:
$ hadoop job -counter
Usage: JobClient [-counter <job-id> <group-name> <counter-name>]

I couldn't the example of
hadoop job -counter org.apache.hadoop.mapreduce.TaskCounter REDUCE_INPUT_RECORDS
to work. Is it working for others? Access to the various MapReduce counters would be highly desirable.


> bin/hadoop job -counter help options do not give information on permissible values.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-994
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-994
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Iyappan Srinivasan
>            Priority: Minor
>
> Right now,  bin/hadoop job -counter  gives this output
> bin/hadoop job -counter 
> DEPRECATED: Use of this script to execute mapred command is deprecated.
> Instead use the mapred command for it.
> Usage: CLI [-counter <job-id> <group-name> <counter-name>]
> What are these group names and what are the counter-names is not explained. All permissible values of group-name> and <counter-name> should be specified.
> Group_name Ex: 
> org.apache.hadoop.mapreduce.TaskCounter 
> Counter name example:
> REDUCE_INPUT_RECORDS

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