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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • Impala 3.0
    • Not Applicable
    • Backend

    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

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

              Dates

                Created:
                Updated:
                Resolved: