You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/11/09 00:22:00 UTC

[jira] [Commented] (IMPALA-11702) Expose more Kudu Scanner metrics for KuduScanNode

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

ASF subversion and git services commented on IMPALA-11702:
----------------------------------------------------------

Commit 7e934b1f40bee858d73cbec11a5711fc2a302362 in impala's branch refs/heads/master from zhangyifan27
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=7e934b1f4 ]

IMPALA-11702: add resource metrics for kudu scanner to profile

This patch adds some counters about kudu scanner resource metrics[1]
to profile. These counters are updated before we close kudu scanner
through kudu client's GetResourceMetrics interface[2].

The MaterializeTupleTime counter is also updated, it should only
include time spent materializing tuples and evaluating predicates.

Tests
- Ran some queries manually and checked the profiles.

[1] https://github.com/apache/kudu/blob/a2fdba62d2129d0d7d0c2d0f175e8b2a6e2d2650/src/kudu/tserver/tserver.proto#L398
[2] https://github.com/apache/kudu/blob/892bda293f238fddec47423d5c0b5be9576581f1/src/kudu/client/client.h#L2967

Change-Id: If0e84e7756ce92af48fa55672157caafcd396547
Reviewed-on: http://gerrit.cloudera.org:8080/19201
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Expose more Kudu Scanner metrics for KuduScanNode
> -------------------------------------------------
>
>                 Key: IMPALA-11702
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11702
>             Project: IMPALA
>          Issue Type: Improvement
>            Reporter: YifanZhang
>            Assignee: YifanZhang
>            Priority: Minor
>
> We can get resource metrics through the [GetResourceMetrics|https://github.com/apache/kudu/blob/892bda293f238fddec47423d5c0b5be9576581f1/src/kudu/client/client.h#L2967] interface, and add them to the profile, it will be useful for user/developers to analyze query performance. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org