public void releaseLocksAndCommitOrRollback(boolean commit) throws LockException {
    releaseLocksAndCommitOrRollback(commit, driverContext.getTxnManager());
  }
@return The current FetchTask associated with the Driver's plan, if any.
ql/src/java/org/apache/hadoop/hive/ql/Driver.java