Package eu.stratosphere.nephele.jobgraph

Examples of eu.stratosphere.nephele.jobgraph.JobID


    }
  }

  @Test
  public void testFileReuseForNextTask() {
    JobID jobID = new JobID();
    String filePath = f.toURI().toString();
    fileCache.createTmpFile("test_file", filePath, jobID);
    try {
      Thread.sleep(1000);
    } catch (InterruptedException e) {
View Full Code Here


  private static class MockInputGate extends InputGate<Record> {
   
    private MutableObjectIterator<Record> it;

    public MockInputGate(int id, MutableObjectIterator<Record> it) {
      super(new JobID(), new GateID(), id);
      this.it = it;
    }
View Full Code Here

    private RecordDeserializer<Record> deserializer;

    private Record record;

    public MockOutputGate(int index, List<Record> outList) {
      super(new JobID(), new GateID(), index);
      this.out = outList;
      this.deserializer = new AdaptiveSpanningRecordDeserializer<Record>();
      this.record = new Record();
    }
View Full Code Here

  @SuppressWarnings("unchecked")
  @Override
  public void read(DataInput in) throws IOException {
    this.useUserClassLoader = in.readBoolean();
    jobID = new JobID();
    jobID.read(in);
    int numberOfMapEntries = in.readInt();
    this.accumulators = new HashMap<String, Accumulator<?, ?>>(
        numberOfMapEntries);
View Full Code Here

    final List<Task> tasksToStart = new ArrayList<Task>();

    // Make sure all tasks are fully registered before they are started
    for (final TaskDeploymentDescriptor tdd : tasks) {

      final JobID jobID = tdd.getJobID();
      final ExecutionVertexID vertexID = tdd.getVertexID();
      RuntimeEnvironment re;

      // retrieve the registered cache files from job configuration and create the local tmp file.
      Map<String, FutureTask<Path>> cpTasks = new HashMap<String, FutureTask<Path>>();
View Full Code Here

  /**
   * Default constructor for serialization/deserialization.
   */
  public TaskDeploymentDescriptor() {

    this.jobID = new JobID();
    this.vertexID = new ExecutionVertexID();
    this.taskName = null;
    this.indexInSubtaskGroup = 0;
    this.currentNumberOfSubtasks = 0;
    this.jobConfiguration = new Configuration();
View Full Code Here

  @Override
  public void read(final DataInput in) throws IOException {
    super.read(in);

    // Read the job ID
    this.jobID = new JobID();
    this.jobID.read(in);

    // Read the job name
    this.jobName = StringRecord.readString(in);
View Full Code Here

  /**
   * Constructs a new management graph with a random job ID.
   */
  public ManagementGraph() {
    this.jobID = new JobID();
  }
View Full Code Here

  @Override
  public void read(final DataInput in) throws IOException {
    super.read(in);

    this.jobID = new JobID();
    this.jobID.read(in);

    this.profilingTimestamp = in.readLong();
  }
View Full Code Here

  public void read(final DataInput in) throws IOException {

    boolean isNotNull = in.readBoolean();

    if (isNotNull) {
      this.jobID = new JobID();
      this.jobID.read(in);
    } else {
      this.jobID = null;
    }
View Full Code Here

TOP

Related Classes of eu.stratosphere.nephele.jobgraph.JobID

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.