[ 
https://issues.apache.org/jira/browse/BEAM-6159?focusedWorklogId=172749&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-172749
 ]

ASF GitHub Bot logged work on BEAM-6159:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Dec/18 18:13
            Start Date: 06/Dec/18 18:13
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on a change in pull request #7015: 
[BEAM-6159] Migrate dataflow portable worker using shared library to process 
bundle 
URL: https://github.com/apache/beam/pull/7015#discussion_r239550773
 
 

 ##########
 File path: 
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/fn/control/ProcessRemoteBundleOperation.java
 ##########
 @@ -0,0 +1,102 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.beam.runners.dataflow.worker.fn.control;
+
+import com.google.common.collect.Iterables;
+import java.io.Closeable;
+import 
org.apache.beam.runners.dataflow.worker.util.common.worker.OperationContext;
+import 
org.apache.beam.runners.dataflow.worker.util.common.worker.OutputReceiver;
+import 
org.apache.beam.runners.dataflow.worker.util.common.worker.ReceivingOperation;
+import org.apache.beam.runners.fnexecution.control.BundleProgressHandler;
+import org.apache.beam.runners.fnexecution.control.OutputReceiverFactory;
+import org.apache.beam.runners.fnexecution.control.RemoteBundle;
+import org.apache.beam.runners.fnexecution.control.StageBundleFactory;
+import org.apache.beam.runners.fnexecution.state.StateRequestHandler;
+import org.apache.beam.sdk.fn.data.FnDataReceiver;
+import org.apache.beam.sdk.util.WindowedValue;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * This {@link 
org.apache.beam.runners.dataflow.worker.util.common.worker.Operation} is 
responsible
+ * for communicating with the SDK harness and asking it to process a bundle of 
work. This operation
+ * request a RemoteBundle{@link 
org.apache.beam.runners.fnexecution.control.RemoteBundle}, send data
+ * elements to SDK and receive processed results from SDK, then pass these 
elements to next
+ * Operations.
+ */
 
 Review comment:
   In a follow up PR:
   ```
    * This {@link 
org.apache.beam.runners.dataflow.worker.util.common.worker.Operation} is 
responsible
    * for communicating with the SDK harness and asking it to process a bundle 
of work. This operation
    * requests a {@link 
org.apache.beam.runners.fnexecution.control.RemoteBundle}, sends 
    * elements to SDK and receive processed results from SDK, passing these 
elements downstream.
   ```

----------------------------------------------------------------
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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 172749)
    Time Spent: 1h 10m  (was: 1h)

> Dataflow portable runner harness should use ExecutableStage to process bundle
> -----------------------------------------------------------------------------
>
>                 Key: BEAM-6159
>                 URL: https://issues.apache.org/jira/browse/BEAM-6159
>             Project: Beam
>          Issue Type: Task
>          Components: runner-dataflow
>            Reporter: Boyuan Zhang
>            Assignee: Boyuan Zhang
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to