public void cleanUpInputFileChanged() throws HiveException { this.cleanUpInputFileChangedOp(); if (CollectionUtils.isNotEmpty(this.childOperators)) { for (Operator<? extends OperatorDesc> op : this.childOperators) { op.cleanUpInputFileChanged(); } } }
public void cleanUpInputFileChanged() throws HiveException { this.cleanUpInputFileChangedOp(); if(this.childOperators != null) { for (int i = 0; i<this.childOperators.size();i++) { Operator<? extends OperatorDesc> op = this.childOperators.get(i); op.cleanUpInputFileChanged(); } } }
public void cleanUpInputFileChanged() throws HiveException { this.cleanUpInputFileChangedOp(); if(this.childOperators != null) { for (int i = 0; i<this.childOperators.size();i++) { Operator<? extends Serializable> op = this.childOperators.get(i); op.cleanUpInputFileChanged(); } } }
public void cleanUpInputFileChanged() throws HiveException { this.cleanUpInputFileChangedOp(); if(this.childOperators != null) { for (int i = 0; i<this.childOperators.size();i++) { Operator<? extends OperatorDesc> op = this.childOperators.get(i); op.cleanUpInputFileChanged(); } } }
@Override public void cleanUpInputFileChangedOp() throws HiveException { super.cleanUpInputFileChangedOp(); Path fpath = getExecContext().getCurrentInputPath(); String nominalPath = getNominalPath(fpath); Map<Operator<?>, MapOpCtx> contexts = opCtxMap.get(nominalPath); if (isLogInfoEnabled) { StringBuilder builder = new StringBuilder(); for (MapOpCtx context : contexts.values()) { if (builder.length() > 0) { builder.append(", "); } builder.append(context.alias); } if (isLogDebugEnabled) { LOG.debug("Processing alias(es) " + builder.toString() + " for file " + fpath); } } // Add alias, table name, and partitions to hadoop conf so that their // children will inherit these for (Entry<Operator<?>, MapOpCtx> entry : contexts.entrySet()) { Operator<?> operator = entry.getKey(); MapOpCtx context = entry.getValue(); operator.setInputContext(nominalPath, context.tableName, context.partName); } currentCtxs = contexts.values().toArray(new MapOpCtx[contexts.size()]); }