You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2025/10/24 15:17:00 UTC
[jira] [Comment Edited] (HDDS-7613) Provide method to get read metrics via hdfsFileGetReadStatistics
[ https://issues.apache.org/jira/browse/HDDS-7613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18032800#comment-18032800 ]
Michael Smith edited comment on HDDS-7613 at 10/24/25 3:16 PM:
---------------------------------------------------------------
I understand. We'd like some way to get similar statistics from Ozone. If you have an API for that, please point me to the documentation.
was (Author: JIRAUSER288956):
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org