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

Hive1: Tez Session failed to return if background thread is interrupted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.1
    • 1.3.0
    • None
    • None

    Description

      user canceled the query which interrupts the background thread, because of this interrupt background thread fail to put the session back to the pool.

      2018-08-14 15:55:27,581 ERROR exec.Task (TezTask.java:execute(226)) - Failed to execute tez graph.
      java.lang.InterruptedException
              at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1220)
              at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:335)
              at java.util.concurrent.ArrayBlockingQueue.put(ArrayBlockingQueue.java:350)
              at org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager.returnSession(TezSessionPoolManager.java:176)
      

      we need a similar fix as HIVE-15731

      Attachments

        1. HIVE-20415.4-branch-1.2.patch
          2 kB
          Rajkumar Singh
        2. HIVE-20415.3-branch-1.2.patch
          2 kB
          Rajkumar Singh
        3. HIVE-20415.2-branch-1.patch
          2 kB
          Rajkumar Singh
        4. HIVE-20415.1-branch-1.patch
          2 kB
          Rajkumar Singh

        Activity

          People

            Rajkumar Singh Rajkumar Singh
            Rajkumar Singh Rajkumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: