Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.18.0
    • Fix Version/s: 0.18.0
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Added command line tool "job -counter <job-id> <group-name> <counter-name>" to access counters.

      Description

      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>

      1. hadoop-3230.patch
        6 kB
        Tom White
      2. hadoop-3230-v2.patch
        6 kB
        Tom White
      3. hadoop-3230-v3.patch
        6 kB
        Tom White

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Patch Available Patch Available Open Open
          3d 9h 44m 2 Tom White 05/Jun/08 19:47
          Open Open Patch Available Patch Available
          52d 22h 52m 3 Tom White 05/Jun/08 19:47
          Patch Available Patch Available Resolved Resolved
          23h 2m 1 Owen O'Malley 06/Jun/08 18:50
          Resolved Resolved Closed Closed
          77d 1h 1 Nigel Daley 22/Aug/08 19:50
          Nigel Daley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Robert Chansler made changes -
          Release Note Introduces a way to get counter information using the hadoop cmdline tool - bin/hadoop job -counter <job-id> <group-name> <counter-name> Added command line tool "job -counter <job-id> <group-name> <counter-name>" to access counters.
          Devaraj Das made changes -
          Release Note Introduces a way to get counter information using the hadoop cmdline tool - bin/hadoop job -counter <job-id> <group-name> <counter-name>
          Owen O'Malley made changes -
          Fix Version/s 0.18.0 [ 12312972 ]
          Owen O'Malley made changes -
          Resolution Fixed [ 1 ]
          Hadoop Flags [Reviewed]
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hide
          Owen O'Malley added a comment -

          I just committed this. Thanks, Tom!

          Show
          Owen O'Malley added a comment - I just committed this. Thanks, Tom!
          Hide
          Tom White added a comment -

          Test failures are unrelated (and have since been fixed).

          Show
          Tom White added a comment - Test failures are unrelated (and have since been fixed).
          Hide
          Hadoop QA added a comment -

          -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.

          Show
          Hadoop QA added a comment - -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 made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Tom White made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Tom White made changes -
          Attachment hadoop-3230-v3.patch [ 12383489 ]
          Hide
          Tom White added a comment -

          Fixed deprecation warning. (Test failures are unrelated.)

          Show
          Tom White added a comment - Fixed deprecation warning. (Test failures are unrelated.)
          Hide
          Hadoop QA added a comment -

          -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.

          Show
          Hadoop QA added a comment - -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.
          Owen O'Malley made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Owen O'Malley made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Hide
          Owen O'Malley added a comment -

          This was missed by hadoop-qa.

          Show
          Owen O'Malley added a comment - This was missed by hadoop-qa.
          Tom White made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Tom White made changes -
          Attachment hadoop-3230-v2.patch [ 12383213 ]
          Hide
          Tom White added a comment -

          Merged with trunk.

          Show
          Tom White added a comment - Merged with trunk.
          Tom White made changes -
          Attachment hadoop-3230.patch [ 12380602 ]
          Hide
          Tom White added a comment -

          Patch for review.

          Show
          Tom White added a comment - Patch for review.
          Tom White made changes -
          Field Original Value New Value
          Link This issue is blocked by HADOOP-1915 [ HADOOP-1915 ]
          Tom White created issue -

            People

            • Assignee:
              Tom White
              Reporter:
              Tom White
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development