hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11281) The metric of fileIoErrorRate not counted in DataNodeVolumeMetrics
Date Thu, 29 Dec 2016 03:23:58 GMT
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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message