Package eu.stratosphere.nephele.jobmanager.splitassigner

Examples of eu.stratosphere.nephele.jobmanager.splitassigner.InputSplitWrapper


  public InputSplit getNextInputSplit() {

    try {

      synchronized (this.globalInputSplitProvider) {
        final InputSplitWrapper wrapper = this.globalInputSplitProvider.requestNextInputSplit(this.jobID,
          this.executionVertexID, new IntegerRecord(this.sequenceNumber.getAndIncrement()));
        return wrapper.getInputSplit();
      }

    } catch (IOException ioe) {
      // Convert IOException into a RuntimException and let the regular fault tolerance routines take care of the
      // rest
View Full Code Here


    if (vertex == null) {
      LOG.error("Cannot find execution vertex for vertex ID " + vertexID);
      return null;
    }

    return new InputSplitWrapper(jobID, this.inputSplitManager.getNextInputSplit(vertex, sequenceNumber.getValue()));
  }
View Full Code Here

TOP

Related Classes of eu.stratosphere.nephele.jobmanager.splitassigner.InputSplitWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.