Examples of updateExecutionState()


Examples of eu.stratosphere.nephele.executiongraph.ExecutionPipeline.updateExecutionState()

        final ExecutionVertex groupMember = groupVertex.getGroupMember(i);
        if (groupMember.compareAndUpdateExecutionState(ExecutionState.SCHEDULED, ExecutionState.ASSIGNED)) {

          final ExecutionPipeline pipelineToBeDeployed = groupMember.getExecutionPipeline();
          pipelineToBeDeployed.setAllocatedResource(this.executionVertex.getAllocatedResource());
          pipelineToBeDeployed.updateExecutionState(ExecutionState.ASSIGNED);

          this.scheduler.deployAssignedPipeline(pipelineToBeDeployed);
          return;
        }
      }
View Full Code Here

Examples of eu.stratosphere.nephele.executiongraph.ExecutionVertex.updateExecutionState()

            // Replace the selected instance
            final Iterator<ExecutionVertex> it = resourceToBeReplaced.assignedVertices();
            while (it.hasNext()) {
              final ExecutionVertex vertex = it.next();
              vertex.setAllocatedResource(allocatedResource);
              vertex.updateExecutionState(ExecutionState.ASSIGNED);
            }
          }
        }

        // Deploy the assigned vertices
View Full Code Here

Examples of eu.stratosphere.nephele.executiongraph.ExecutionVertex.updateExecutionState()

    final List<ExecutionVertex> verticesToBeReplayed = new ArrayList<ExecutionVertex>();

    for (int i = 0; i < previousStage.getNumberOfOutputExecutionVertices(); ++i) {

      final ExecutionVertex vertex = previousStage.getOutputExecutionVertex(i);
      vertex.updateExecutionState(ExecutionState.ASSIGNED);
      verticesToBeReplayed.add(vertex);
    }

    deployAssignedVertices(verticesToBeReplayed);
  }
View Full Code Here

Examples of eu.stratosphere.nephele.executiongraph.ExecutionVertex.updateExecutionState()

              case READY:
              case STARTING:
              case RUNNING:
              case FINISHING:

              vertex.updateExecutionState(ExecutionState.FAILED, failureMessage);

              break;
            default:
              }
          }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.