HDFS-16311. Metric metadataOperationRate calculation error in DataNodeVolumeMetrics (#3636)
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit 1c1cf64616
)
This commit is contained in:
parent
808da62cfa
commit
c4e8826194
|
@ -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