Yiqun Lin created HDFS-11281: -------------------------------- Summary: The metric of fileIoErrorRate not counted in DataNodeVolumeMetrics Key: HDFS-11281 URL: https://issues.apache.org/jira/browse/HDFS-11281 Project: Hadoop HDFS Issue Type: Bug Affects Versions: 3.0.0-alpha2 Reporter: Yiqun Lin Assignee: Yiqun Lin Priority: Minor
The metric of fileIoErrorRate not counted in {{DataNodeVolumeMetrics}}. The relevant codes: {code} public void addFileIoError(final long latency) { totalFileIoErrors.incr(); metadataOperationRate.add(latency); } {code} Here the metric {{metadataOperationRate}} should be {{fileIoErrorRate}}. Two reasons: 1.metadataOperationRate has been counted in {{addMetadastaOperationLatency}}. 2.{{fileIoErrorRate}} is never counted in the class {{DataNodeVolumeMetrics}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org