[ https://issues.apache.org/jira/browse/HDFS-11171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
5feixiang updated HDFS-11171: ----------------------------- Comment: was deleted (was: How can I calculate local read bytes and time of short-circuit?) > 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 > Fix For: 2.7.1 > > > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org