public void closeOperator() throws HiveException { if (operator != null) { operator.close(false); operator = null; } }
LOG.debug("Closing child = " + op); op.close(abort);
public void closeOperator() throws HiveException { if (operator != null) { operator.close(false); operator = null; } }
op.close(abort);
reducer.close(abort); ReportStats rps = new ReportStats(rp, jc); reducer.preorderMap(rps);
reducer.close(abort); ReportStats rps = new ReportStats(rp, jc); reducer.preorderMap(rps);
MergeQueue mergeQueue = entry.getValue(); Operator forwardOp = localWork.getAliasToWork().get(alias); forwardOp.close(abort); mergeQueue.clearFetchContext();
source.close(false);
source.close(false);
dummyOp.close(abort);
dummyOp.close(abort);
dummyOp.close(abort);
dummyOp.close(abort);
@Override void close() { if (cache != null && cacheKey != null) { cache.release(cacheKey); } // check if there are IOExceptions if (!isAborted()) { setAborted(execContext.getIoCxt().getIOExceptions()); } // detecting failed executions by exceptions thrown by the operator tree try { if (mergeOp == null || mfWork == null) { return; } boolean abort = isAborted(); mergeOp.close(abort); ExecMapper.ReportStats rps = new ExecMapper.ReportStats(reporter, jconf); mergeOp.preorderMap(rps); } catch (Exception e) { if (!isAborted()) { // signal new failure to map-reduce l4j.error("Hit error while closing operators - failing tree"); throw new RuntimeException("Hive Runtime Error while closing operators", e); } } finally { Utilities.clearWorkMap(jconf); MapredContext.close(); } }
@Override void close() { if (cache != null && cacheKey != null) { cache.release(cacheKey); } // check if there are IOExceptions if (!isAborted()) { setAborted(execContext.getIoCxt().getIOExceptions()); } // detecting failed executions by exceptions thrown by the operator tree try { if (mergeOp == null || mfWork == null) { return; } boolean abort = isAborted(); mergeOp.close(abort); ExecMapper.ReportStats rps = new ExecMapper.ReportStats(reporter, jconf); mergeOp.preorderMap(rps); } catch (Exception e) { if (!isAborted()) { // signal new failure to map-reduce l4j.error("Hit error while closing operators - failing tree"); throw new RuntimeException("Hive Runtime Error while closing operators", e); } } finally { Utilities.clearWorkMap(jconf); MapredContext.close(); } }
if (dummyOps != null) { for (Operator<? extends OperatorDesc> dummyOp : dummyOps){ dummyOp.close(abort);
selectOp.close(false);