Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-844

Metrics messages are sent on a fixed-delay schedule instead of a fixed-rate schedule

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: metrics
    • Labels:
      None

      Description

      This potentially affects all metrics implementation packages which use a server that expects data to be sent at a particular rate. It means that with counter metrics you will see a spurious periodic dip in the metric, because the rate at which metrics are sent is not quite keeping up with what the server expects.

      The fix is trivial. In org.apache.hadoop.metrics.spi.AbstractMetricsContext, the call to Timer.schedule should be changes to Timer.scheduleAtFixedRate (which takes the same arguments).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dbowen David Bowen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: