5feixiang created HDFS-11171: -------------------------------- Summary: 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
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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org