Examples of DistributionPattern


Examples of eu.stratosphere.nephele.jobgraph.DistributionPattern

        if (channelType == null) {
          userDefinedChannelType = false;
          channelType = ChannelType.NETWORK;
        }

        final DistributionPattern distributionPattern = edge.getDistributionPattern();

        // Connect the corresponding group vertices and copy the user settings from the job edge
        final ExecutionGroupEdge groupEdge = sgv.wireTo(tgv, edge.getIndexOfInputGate(), i, channelType,
          userDefinedChannelType,distributionPattern);
View Full Code Here

Examples of eu.stratosphere.nephele.jobgraph.DistributionPattern

        }
      } else {
        // predecessor is its own vertex
        sourceVertexConfig = new TaskConfig(sourceVertex.getConfiguration());
      }
      DistributionPattern pattern = connectJobVertices(
        inConn, inputIndex, sourceVertex, sourceVertexConfig, targetVertex, targetVertexConfig, isBroadcast);
     
      // accounting on channels and senders
      numChannelsTotal++;
      if (inConn.isOnDynamicPath()) {
View Full Code Here

Examples of eu.stratosphere.nephele.jobgraph.DistributionPattern

      final AbstractJobVertex targetVertex, final TaskConfig targetConfig, boolean isBroadcast)
  throws JobGraphDefinitionException, CompilerException
  {
    // ------------ connect the vertices to the job graph --------------
    final ChannelType channelType;
    final DistributionPattern distributionPattern;

    switch (channel.getShipStrategy()) {
      case FORWARD:
      case PARTITION_LOCAL_HASH:
        distributionPattern = DistributionPattern.POINTWISE;
View Full Code Here

Examples of org.apache.flink.runtime.jobgraph.DistributionPattern

        }
      } else {
        // predecessor is its own vertex
        sourceVertexConfig = new TaskConfig(sourceVertex.getConfiguration());
      }
      DistributionPattern pattern = connectJobVertices(
        inConn, inputIndex, sourceVertex, sourceVertexConfig, targetVertex, targetVertexConfig, isBroadcast);
     
      // accounting on channels and senders
      numChannelsTotal++;
      if (inConn.isOnDynamicPath()) {
View Full Code Here

Examples of org.apache.flink.runtime.jobgraph.DistributionPattern

      final AbstractJobVertex sourceVertex, final TaskConfig sourceConfig,
      final AbstractJobVertex targetVertex, final TaskConfig targetConfig, boolean isBroadcast)
  throws CompilerException
  {
    // ------------ connect the vertices to the job graph --------------
    final DistributionPattern distributionPattern;

    switch (channel.getShipStrategy()) {
      case FORWARD:
        distributionPattern = DistributionPattern.POINTWISE;
        break;
View Full Code Here

Examples of org.apache.flink.runtime.jobgraph.DistributionPattern

  //  Graph building
  // --------------------------------------------------------------------------------------------
 
  public void connectSource(int inputNumber, IntermediateResult source, JobEdge edge, int consumerNumber) {
   
    final DistributionPattern pattern = edge.getDistributionPattern();
    final IntermediateResultPartition[] sourcePartitions = source.getPartitions();
   
    ExecutionEdge[] edges = null;
   
    switch (pattern) {
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.