Issue Details (XML | Word | Printable)

Key: HADOOP-3230
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Tom White
Reporter: Tom White
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

Add command line access to named counters

Created: 10/Apr/08 11:11 AM   Updated: 22/Aug/08 07:50 PM
Component/s: scripts
Affects Version/s: 0.18.0
Fix Version/s: 0.18.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works hadoop-3230-v2.patch 2008-06-02 10:02 AM Tom White 6 kB
Text File Licensed for inclusion in ASF works hadoop-3230-v3.patch 2008-06-05 07:47 PM Tom White 6 kB
Text File Licensed for inclusion in ASF works hadoop-3230.patch 2008-04-21 01:46 PM Tom White 6 kB
Issue Links:
Blocker
 

Hadoop Flags: Reviewed
Release Note: Added command line tool "job -counter <job-id> <group-name> <counter-name>" to access counters.
Resolution Date: 06/Jun/08 06:50 PM


 Description  « Hide
It would be convenient to be able to access counters by name from the command line. Example usage:

bin/hadoop job -counter <job-id> <group-name> <counter-name>



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Tom White added a comment - 21/Apr/08 01:46 PM
Patch for review.

Tom White added a comment - 02/Jun/08 10:02 AM
Merged with trunk.

Owen O'Malley added a comment - 04/Jun/08 05:31 PM
This was missed by hadoop-qa.

Hadoop QA added a comment - 04/Jun/08 11:02 PM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12383213/hadoop-3230-v2.patch
against trunk revision 663370.

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

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

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

-1 javac. The applied patch generated 448 javac compiler warnings (more than the trunk's current 447 warnings).

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

+1 release audit. The applied patch does not increase the total number of release audit warnings.

-1 core tests. The patch failed core unit tests.

-1 contrib tests. The patch failed contrib unit tests.

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

This message is automatically generated.


Tom White added a comment - 05/Jun/08 07:47 PM
Fixed deprecation warning. (Test failures are unrelated.)

Hadoop QA added a comment - 06/Jun/08 03:14 AM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12383489/hadoop-3230-v3.patch
against trunk revision 663762.

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

+1 tests included. The patch appears to include 3 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 release audit. The applied patch does not increase the total number of release audit warnings.

-1 core tests. The patch failed core unit tests.

-1 contrib tests. The patch failed contrib unit tests.

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

This message is automatically generated.


Tom White added a comment - 06/Jun/08 10:57 AM
Test failures are unrelated (and have since been fixed).

Owen O'Malley added a comment - 06/Jun/08 06:49 PM
I just committed this. Thanks, Tom!