[
https://issues.apache.org/jira/browse/HDDS-7613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18032672#comment-18032672
]
Sammi Chen commented on HDDS-7613:
----------------------------------
getReadStatistics (for
https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c#L198)
is calling into
DFSInputStream.java(https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java)
getReadStatistics() and clearReadStatistics(). These two functions are HDFS
specific, not from any interface or FSInputStream class.
> Provide method to get read metrics via hdfsFileGetReadStatistics
> ----------------------------------------------------------------
>
> Key: HDDS-7613
> URL: https://issues.apache.org/jira/browse/HDDS-7613
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Michael Smith
> Priority: Major
> Labels: non_1.4.0_blocker
>
> Impala collects metrics on "local bytes read" and "erasure-coded bytes read"
> using hdfsFileGetReadStatistics (see
> https://github.com/apache/impala/blob/4.2.0/be/src/runtime/io/hdfs-file-reader.cc#L398-L424).
> Attempting to call hdfsFileGetReadStatistics with an Ozone filesystem
> crashes, probably because the Ozone filesystem doesn't implement
> getReadStatistics (for
> https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c#L198).
> It would be helpful to have some way to get client read statistics like this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]