johnyangk commented on a change in pull request #122: [NEMO-213] Use Beam's 
DoFnRunners to execute DoFn
URL: https://github.com/apache/incubator-nemo/pull/122#discussion_r223654036
 
 

 ##########
 File path: 
compiler/frontend/beam/src/main/java/org/apache/nemo/compiler/frontend/beam/PipelineTranslator.java
 ##########
 @@ -64,14 +73,18 @@
   private final Map<Class<? extends PTransform>, Method> 
primitiveTransformToTranslator = new HashMap<>();
   private final Map<Class<? extends PTransform>, Method> 
compositeTransformToTranslator = new HashMap<>();
 
+  private static final AtomicReference<Pipeline> PIPELINE = new 
AtomicReference<>();
+
   /**
    * Static translator method.
    * @param pipeline Top-level Beam transform hierarchy, usually given by 
{@link PipelineVisitor}
    * @param pipelineOptions {@link PipelineOptions}
    * @return Nemo IR DAG
    */
-  public static DAG<IRVertex, IREdge> translate(final CompositeTransformVertex 
pipeline,
+  public static DAG<IRVertex, IREdge> translate(final Pipeline p,
 
 Review comment:
   final Pipeline p -> final Pipeline pipeline?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to