HDFS-16311. Metric metadataOperationRate calculation error in DataNodeVolumeMetrics (#3636)
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
parent
8b159d296d
commit
1c1cf64616
|
@ -284,6 +284,6 @@ public class DataNodeVolumeMetrics {
|
|||
|
||||
public void addFileIoError(final long latency) {
|
||||
totalFileIoErrors.incr();
|
||||
metadataOperationRate.add(latency);
|
||||
fileIoErrorRate.add(latency);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue