Metrics messages are sent on a fixed-delay schedule instead of a fixed-rate schedule ------------------------------------------------------------------------------------
Key: HADOOP-844 URL: http://issues.apache.org/jira/browse/HADOOP-844 Project: Hadoop Issue Type: Bug Components: metrics Reporter: David Bowen Priority: Minor 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). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira