Issue Details (XML | Word | Printable)

Key: HADOOP-4369
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Brian Bockelman
Reporter: Brian Bockelman
Votes: 0
Watchers: 2
Operations

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

Metric Averages are not averages

Created: 08/Oct/08 12:04 AM   Updated: 04/Nov/08 06:48 PM
Return to search
Component/s: metrics
Affects Version/s: 0.18.1
Fix Version/s: 0.18.2

Time Tracking:
Original Estimate: 0.17h
Original Estimate - 0.17h
Remaining Estimate: 0.17h
Remaining Estimate - 0.17h
Time Spent: Not Specified
Remaining Estimate - 0.17h

File Attachments:
  Size
Text File Licensed for inclusion in ASF works hadoop-4369.patch 2008-10-08 12:05 AM Brian Bockelman 0.7 kB

Hadoop Flags: Reviewed
Resolution Date: 20/Oct/08 11:36 PM


 Description  « Hide
Metrics averages are not averages; instead of updating the metric with the average number periodically, Hadoop metrics increments the metric.

I.e., each update we have value = old_value + current average. Instead, we want each update to have value = current_average.

Patch will be attached momentarily.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Brian Bockelman added a comment - 08/Oct/08 12:05 AM
Patch to make averages actually averages in the Hadoops metric package.

Owen O'Malley added a comment - 10/Oct/08 10:12 PM
0.18.1 has already been released.

Johan Oskarsson added a comment - 20/Oct/08 09:47 AM
For some reason this hasn't been run through hudson, could you resubmit the patch Brian?

Robert Chansler added a comment - 20/Oct/08 05:48 PM
See if Hudson will do the test.

In any case, Nicholas will review the change.

Promote for 19.


Tsz Wo (Nicholas), SZE added a comment - 20/Oct/08 05:59 PM
+1 patch looks good

Tsz Wo (Nicholas), SZE added a comment - 20/Oct/08 05:59 PM
re-submitting ...

Tsz Wo (Nicholas), SZE added a comment - 20/Oct/08 10:03 PM
 
    [exec] -1 overall.  

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

     [exec]     -1 tests included.  The patch doesn't appear to include any new or modified tests.
     [exec]                         Please justify why no tests are needed for this patch.

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

     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

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

     [exec]     +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

The change is simple. We don't need a new test here.


Tsz Wo (Nicholas), SZE added a comment - 20/Oct/08 11:36 PM
It passed all tests in my local machine.

I just committed this. Thanks, Brian.


Hudson added a comment - 23/Oct/08 09:56 PM