public void releaseResources() {
    releasePlan();
    releaseTaskQueue();
  }
Release some resources after a query is executed while keeping the result around.
ql/src/java/org/apache/hadoop/hive/ql/Driver.java