@Override public void close() throws HiveSQLException { cleanup(OperationState.CLOSED); cleanupOperationLog(0); }
@Override public void cancel() throws HiveSQLException { cleanup(OperationState.CANCELED); }
@Override public void cancel(OperationState stateAfterCancel) throws HiveSQLException { String queryId = null; if (stateAfterCancel == OperationState.CANCELED) { queryId = queryState.getQueryId(); LOG.info("Cancelling the query execution: " + queryId); } cleanup(stateAfterCancel); cleanupOperationLog(operationLogCleanupDelayMs); if (stateAfterCancel == OperationState.CANCELED) { LOG.info("Successfully cancelled the query: " + queryId); } }
@Override public void cancel() throws HiveSQLException { cleanup(OperationState.CANCELED); }
@Override public void close() throws HiveSQLException { cleanup(OperationState.CLOSED); cleanupOperationLog(); }
@Override public void cancel() throws HiveSQLException { cleanup(OperationState.CANCELED); }
@Override public void close() throws HiveSQLException { cleanup(OperationState.CLOSED); cleanupOperationLog(0); }
@Override public void cancel() throws HiveSQLException { cleanup(OperationState.CANCELED); }
@Override public void close() throws HiveSQLException { cleanup(OperationState.CLOSED); cleanupOperationLog(); }
@Override public void close() throws HiveSQLException { cleanup(OperationState.CLOSED); cleanupOperationLog(); }
@Override public void close() throws HiveSQLException { cleanup(OperationState.CLOSED); cleanupOperationLog(); }
@Override public void cancel(OperationState stateAfterCancel) throws HiveSQLException { String queryId = null; if (stateAfterCancel == OperationState.CANCELED) { queryId = queryState.getQueryId(); LOG.info("Cancelling the query execution: " + queryId); } cleanup(stateAfterCancel); cleanupOperationLog(operationLogCleanupDelayMs); if (stateAfterCancel == OperationState.CANCELED) { LOG.info("Successfully cancelled the query: " + queryId); } }