Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Impala 3.1.0
-
None
-
ghx-label-4
Description
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.