Package eu.stratosphere.nephele.jobgraph

Examples of eu.stratosphere.nephele.jobgraph.JobVertexID


   * to be called directly.
   */
  public VertexEvent() {
    super();

    this.jobVertexID = new JobVertexID();
    this.jobVertexName = null;
    this.totalNumberOfSubtasks = -1;
    this.indexOfSubtask = -1;
    this.currentExecutionState = ExecutionState.CREATED;
    this.description = null;
View Full Code Here


    public void executionStateChanged(final JobID jobID, final ExecutionVertexID vertexID,
        final ExecutionState newExecutionState, final String optionalMessage) {

      final long timestamp = System.currentTimeMillis();

      final JobVertexID jobVertexID = this.vertex.getGroupVertex().getJobVertexID();
      final String taskName = this.vertex.getGroupVertex().getName();
      final int totalNumberOfSubtasks = this.vertex.getGroupVertex().getCurrentNumberOfGroupMembers();
      final int indexInSubtaskGroup = this.vertex.getIndexInVertexGroup();

      // Create a new vertex event
View Full Code Here

  @Test
  public void testVertexEvent() {

    try {

      final VertexEvent orig = new VertexEvent(23423423L, new JobVertexID(), "Test Vertex", 2, 0,
        ExecutionState.READY, "Test Description");
      final VertexEvent copy = (VertexEvent) CommonTestUtils.createCopy(orig);

      assertEquals(orig.getTimestamp(), copy.getTimestamp());
      assertEquals(orig.getJobVertexID(), copy.getJobVertexID());
View Full Code Here

TOP

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

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.