Jeff Zhang created TEZ-2060:
-------------------------------

             Summary: Reuse the DAGImpl.InitTransition in TestVertexImpl 
                 Key: TEZ-2060
                 URL: https://issues.apache.org/jira/browse/TEZ-2060
             Project: Apache Tez
          Issue Type: Bug
            Reporter: Jeff Zhang
            Priority: Minor


TestVertexImpl::setupPostDagCreation

{code}
    edges = new HashMap<String, Edge>();
    for (EdgePlan edgePlan : dagPlan.getEdgeList()) {
      EdgeProperty edgeProperty = DagTypeConverters
          .createEdgePropertyMapFromDAGPlan(edgePlan);
      edges.put(edgePlan.getId(), new Edge(edgeProperty, 
dispatcher.getEventHandler()));
    }

    parseVertexEdges();
    
    for (Edge edge : edges.values()) {
      edge.initialize();
    }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to