protected void createOperationLog() {
    if (parentSession.isOperationLogEnabled()) {
      File operationLogFile = new File(parentSession.getOperationLogSessionDir(), queryState.getQueryId());
      operationLog = new OperationLog(opHandle.toString(), operationLogFile, parentSession.getHiveConf());
      isOperationLogEnabled = true;
    }
  }
Wait until the operation terminates and returns false if timeout.
@param timeOutMs - timeout in milli-seconds
@return true if operation is terminated or false if timed-out
@throws InterruptedException
service/src/java/org/apache/hive/service/cli/operation/Operation.java