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