Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7958

Instrument catalog lock objects to dump diagnostics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 3.1.0
    • None
    • Catalog

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bharathv Bharath Vissapragada
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: