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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.10.0
    • metrics
    • 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

        1. hadoop-844.patch
          1 kB
          David Bowen

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: