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

Deadlock with unknown lock holder in JVM in java.security.Provider.getService()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: Impala 3.0
    • Fix Version/s: Not Applicable
    • Component/s: Backend
    • Labels:

      Description

      We've seen several instances of these mystery deadlocks in impalad's embedded JVM. The signature is a deadlock stemming from sun.security.provider.Sun being locked by an unknown owner.

      Found one Java-level deadlock:
      =============================
      "Thread-24":
        waiting to lock monitor 0x0000000012364688 (object 0x000000008027ef30, a sun.security.provider.Sun),
        which is held by UNKNOWN_owner_addr=0x0000000014120800
      

      If this happens in HDFS, it causes HDFS I/O to hang and queries to get stuck. If it happens in the Kudu client it also causes hangs.

        Attachments

        1. vb1220-jstack2.out
          131 kB
          Tim Armstrong

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                joemcdonnell Joe McDonnell
                Reporter:
                tarmstrong Tim Armstrong
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: