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

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

Commit 7bdd7e10101b33d63f3547fa2ec7aa3015ef24cf in impala's branch 
refs/heads/master from stiga-huang
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=7bdd7e101 ]

IMPALA-13518: Show target name of COMMIT_TXN events in logs

The message of a COMMIT_TXN event just contains the transaction id
(txnid). In the logs of top-10 expensive events and top-10 targets that
contribute to the lag, we show the target as CLUSTER_WIDE.

However, when processing the events, catalogd actually finds
the involved tables and reloads them. It'd be helpful to show the names
of the tables involved in the transaction.

This patch overrides the getTargetName() method in CommitTxnEvent to
show the table names. They are collected after the event is processed.

Tests:
 - Add tests in MetastoreEventsProcessorTest

Change-Id: I4a7cb5e716453290866a4c3e74c0d269f621144f
Reviewed-on: http://gerrit.cloudera.org:8080/22036
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Csaba Ringhofer <[email protected]>
Reviewed-by: Sai Hemanth Gantasala <[email protected]>
Reviewed-by: Michael Smith <[email protected]>


> Show target name of COMMIT_TXN events in logs
> ---------------------------------------------
>
>                 Key: IMPALA-13518
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13518
>             Project: IMPALA
>          Issue Type: Task
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Major
>             Fix For: Impala 4.5.0
>
>
> IMPALA-12460 adds logs about Top-10 expensive events and Top-10 expensive 
> targets. However, for COMMIT_TXN events, the target is just "CLUSTER_WIDE":
> {noformat}
> Top 9 targets in event processing: (target=CLUSTER_WIDE, duration_ms=955792) 
> {noformat}
> It'd be helpful to show the name of the tables involved in the transaction.



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