@Override
  public void closeAndReopenExpiredSession(TezSessionPoolSession oldSession) throws Exception {
    String queueName = oldSession.getQueueName();
    if (queueName == null) {
      LOG.warn("Pool session has a null queue: " + oldSession);
    }
    defaultSessionPool.replaceSession(oldSession);
  }
Closes a running (expired) pool session and reopens it.
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionPoolManager.java