@Override public void start( Duct previous ) { next.start( previous ); }
@Override public void start( Duct previous ) { next.start( this ); }
public void start( Duct previous ) { next.start( this ); }
@Override public void start( Duct previous ) { for( int i = 0; i < allNext.length; i++ ) allNext[ i ].start( previous ); }
@Override public void start(Duct previous) { next.start(this); }
public void passOn( Duct next ) { startLatch.countDown(); next.start( previous ); }
public void setRecordReader(RecordReader recordReader) throws Throwable { try { next.start( this ); // input may be null iterator = source.openForRead( flowProcess, recordReader ); } catch( Throwable throwable ) { if( !( throwable instanceof OutOfMemoryError ) ) { LOG.error("caught throwable", throwable); } throw throwable; } }
return; next.start( this );
return; next.start( this );
@Override public void receive( Duct previous, int ordinal, Void value ) { next.start( this ); for( Outgoing item : values ) next.receive( this, 0, item ); next.complete( this ); } }
next.start(this);
@Override public synchronized void complete( Duct previous ) { count++; if( count < size ) return; try { Grouping grouping = new Grouping(); grouping.joinIterator = list.listIterator(); next.start( this ); next.receive( this, 0, (Outgoing) grouping ); next.complete( this ); } finally { list.clear(); count = 0; } }
next.start(this); TupleEntry tupleEntry = new TupleEntry();
next.start( this );
@Override public void run(Object input) throws Throwable { if(!this.nextStarted) { next.start(this); this.nextStarted = true; } try { Tuple tuple = (Tuple)input; tupleEntry.setTuple(tuple); flowProcess.increment( StepCounters.Tuples_Read, 1 ); flowProcess.increment(SliceCounters.Tuples_Read, 1); } catch( OutOfMemoryError error ) { handleReThrowableException("out of memory, try increasing task memory allocation", error); } catch( CascadingException exception ) { handleException(exception, null); } catch( Throwable throwable ) { handleException(new DuctException("internal error", throwable), null); } next.receive( this, tupleEntry ); } }