[ 
https://issues.apache.org/jira/browse/HDDS-7613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18032800#comment-18032800
 ] 

Michael Smith commented on HDDS-7613:
-------------------------------------

I understand. We'd like some way to get similar statistics from Ozone. If you 
have an API, please point me to the documentation.

> 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]

Reply via email to