You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "bharath v (JIRA)" <ji...@apache.org> on 2018/12/11 21:17:00 UTC

[jira] [Created] (IMPALA-7958) Instrument catalog lock objects to dump diagnostics

bharath v created IMPALA-7958:
---------------------------------

             Summary: Instrument catalog lock objects to dump diagnostics
                 Key: IMPALA-7958
                 URL: https://issues.apache.org/jira/browse/IMPALA-7958
             Project: IMPALA
          Issue Type: Improvement
          Components: Catalog
    Affects Versions: Impala 3.1.0
            Reporter: bharath v


If a particular thread is holding a given lock for longer than X ms (configurable), we should dump the following information to the logs.

- Thread stack of the thread holding the lock
- Thread stacks of the threads blocked on this lock.

We initially need to do this for the re-entrant table lock protecting concurrent table updates. We can also do this for catalogVersionLock_ but we don't anticipate much contention around it with v2 architecture.

The idea is to root cause Catalog hangs better, especially in the context of concurrent table updates.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)