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

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

                Author: ASF GitHub Bot
            Created on: 13/May/19 22:49
            Start Date: 13/May/19 22:49
    Worklog Time Spent: 10m 
      Work Description: yifanmai commented on issue #7994: [BEAM-562] Add 
DoFn.setup and DoFn.teardown to Python SDK
URL: https://github.com/apache/beam/pull/7994#issuecomment-492014599
 
 
   Failing at `:beam-sdks-python:crossLanguageTests`, which is suspicious since 
it works for me when run locally.
   
   ```
   13:26:16 [grpc-default-executor-0] ERROR 
org.apache.beam.runners.fnexecution.jobsubmission.InMemoryJobService - 
Encountered Unexpected Exception for Invocation 
job_de1c9355-5fa3-48c7-bedd-29035031739a
   13:26:16 org.apache.beam.vendor.grpc.v1p13p1.io.grpc.StatusException: 
NOT_FOUND
   13:26:16     at 
org.apache.beam.vendor.grpc.v1p13p1.io.grpc.Status.asException(Status.java:534)
   13:26:16     at 
org.apache.beam.runners.fnexecution.jobsubmission.InMemoryJobService.getInvocation(InMemoryJobService.java:341)
   13:26:16     at 
org.apache.beam.runners.fnexecution.jobsubmission.InMemoryJobService.getStateStream(InMemoryJobService.java:262)
   13:26:16     at 
org.apache.beam.model.jobmanagement.v1.JobServiceGrpc$MethodHandlers.invoke(JobServiceGrpc.java:770)
   13:26:16     at 
org.apache.beam.vendor.grpc.v1p13p1.io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:171)
   13:26:16     at 
org.apache.beam.vendor.grpc.v1p13p1.io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
   13:26:16     at 
org.apache.beam.vendor.grpc.v1p13p1.io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
   13:26:16     at 
org.apache.beam.vendor.grpc.v1p13p1.io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40)
   13:26:16     at 
org.apache.beam.vendor.grpc.v1p13p1.io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86)
   13:26:16     at 
org.apache.beam.vendor.grpc.v1p13p1.io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:283)
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: 241383)
    Time Spent: 10h 10m  (was: 10h)

> DoFn Reuse: Add new methods to DoFn
> -----------------------------------
>
>                 Key: BEAM-562
>                 URL: https://issues.apache.org/jira/browse/BEAM-562
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: Ahmet Altay
>            Assignee: Yifan Mai
>            Priority: Major
>              Labels: sdk-consistency
>          Time Spent: 10h 10m
>  Remaining Estimate: 0h
>
> Java SDK added setup and teardown methods to the DoFns. This makes DoFns 
> reusable and provide performance improvements. Python SDK should add support 
> for these new DoFn methods:
> Proposal doc: 
> https://docs.google.com/document/d/1LLQqggSePURt3XavKBGV7SZJYQ4NW8yCu63lBchzMRk/edit?ts=5771458f#



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

Reply via email to