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

2018-12-11 Thread bharath v (JIRA)
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)

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



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

2018-12-11 Thread bharath v (JIRA)
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)