[
https://issues.apache.org/jira/browse/HDFS-11171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15707801#comment-15707801
]
5feixiang commented on HDFS-11171:
----------------------------------
Now I have not find the good method to get short-circuit read bytes and time in
datanode side because client get FS descriptor from datanode and directly read
from blockļ¼So now can only get metrics from client side.
> add metric to report client shortcircuit reads
> ----------------------------------------------
>
> Key: HDFS-11171
> URL: https://issues.apache.org/jira/browse/HDFS-11171
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode
> Affects Versions: 2.7.1
> Reporter: 5feixiang
> Labels: metrics
>
> 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: [email protected]
For additional commands, e-mail: [email protected]