You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Janus Chow (Jira)" <ji...@apache.org> on 2023/08/29 18:00:00 UTC
[jira] [Commented] (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=17760082#comment-17760082 ]
Janus Chow commented on HDDS-7613:
----------------------------------
Hello [~MikaelSmith] , seems no assignee for this ticket for a long time, can we skip it in the 1.4.0 release?
> 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: Critical
>
> 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