Michael Smith created HDDS-7613:
-----------------------------------
Summary: 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: New Feature
Reporter: Michael Smith
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]