Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-12581

Concurrent calls to BoneCP.getConnection() lock up

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.0.0
    • None
    • Transactions
    • None

    Description

      Thread 31078: (state = BLOCKED)
       - sun.misc.Unsafe.park(boolean, long) @bci=0 (Interpreted frame)
       - java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=226 (Interpreted frame)
       - java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long) @bci=68, line=2082 (Interpreted frame)
       - java.util.concurrent.LinkedBlockingQueue.poll(long, java.util.concurrent.TimeUnit) @bci=62, line=467 (Interpreted frame)
       - com.jolbox.bonecp.DefaultConnectionStrategy.getConnectionInternal() @bci=50, line=82 (Interpreted frame)
       - com.jolbox.bonecp.AbstractConnectionStrategy.getConnection() @bci=6, line=90 (Interpreted frame)
       - com.jolbox.bonecp.BoneCP.getConnection() @bci=4, line=553 (Interpreted frame)
       - com.jolbox.bonecp.BoneCPDataSource.getConnection() @bci=108, line=131 (Interpreted frame)
       - org.apache.hadoop.hive.metastore.txn.TxnHandler.getDbConn(int) @bci=16, line=973 (Interpreted frame)
       - org.apache.hadoop.hive.metastore.txn.TxnHandler.checkLock(org.apache.hadoop.hive.metastore.api.CheckLockRequest) @bci=88, line=530 (Interpreted frame)
       

      Sometimes these lock up, i.e. some sort of deadlock happens inside the connection pool

      Attachments

        Issue Links

          Activity

            People

              ekoifman Eugene Koifman
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: