You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2023/10/30 14:27:00 UTC

[jira] [Created] (IMPALA-12529) Add warning logs if acquiring table lock takes long

Quanlong Huang created IMPALA-12529:
---------------------------------------

             Summary: Add warning logs if acquiring table lock takes long
                 Key: IMPALA-12529
                 URL: https://issues.apache.org/jira/browse/IMPALA-12529
             Project: IMPALA
          Issue Type: Improvement
          Components: Catalog
            Reporter: Quanlong Huang
            Assignee: Quanlong Huang


It'd be useful to show some catalog operations are blocked by table locks by logging the time of acquiring table locks that take long.

We already have a trace level logging:
https://github.com/apache/impala/blob/78b9285da457c6853e513f3852730867d4dbe632/fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java#L531

We just need a warning log if the elapsed time exceeds a threshold, e.g. 1 second.



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