You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "5feixiang (JIRA)" <ji...@apache.org> on 2016/11/24 07:18:58 UTC

[jira] [Resolved] (HDFS-11171) Add localBytesRead and localReadTime for datanode metrics to calculate local read rate which is useful to compare .

     [ https://issues.apache.org/jira/browse/HDFS-11171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

5feixiang resolved HDFS-11171.
------------------------------
    Resolution: Fixed

> Add localBytesRead and localReadTime for datanode metrics to calculate local read rate which is useful to compare .
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-11171
>                 URL: https://issues.apache.org/jira/browse/HDFS-11171
>             Project: Hadoop HDFS
>          Issue Type: Wish
>          Components: datanode
>            Reporter: 5feixiang
>            Priority: Minor
>              Labels: metrics
>         Attachments: localReadMetrics.patch
>
>
> Current dfs context metrics only contains bytesRead ,remoteBytesRead and totalReadTime.We can find  that bytesRead= remoteBytesRead +balance remote copyBytesRead+localBytesRead, so we can add  localBytesRead and localReadTime to calcute local read rate which is usefu to compate local read rate between short-circuit read and tcp-socket read.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org