Hi,

A looked over the class org.apache.hadoop.metrics.spi.AbstractMetricsContext and i have a question: why in the update(MetricsRecordImpl record) metricUpdates Map is not cleared after the updates are merged in metricMap. Because of this on every update() "old" increments are merged in metricMap. Is this the right behavior? If i want to increment only one metric in the record using current implementation is not possible without modifying other metrics that are incremented rare.


Thanks
Ion

Reply via email to