[
https://issues.apache.org/jira/browse/BEAM-4800?focusedWorklogId=124631&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-124631
]
ASF GitHub Bot logged work on BEAM-4800:
----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Jul/18 21:33
Start Date: 18/Jul/18 21:33
Worklog Time Spent: 10m
Work Description: angoenka edited a comment on issue #5971: [BEAM-4800]
Fix artifact staging test
URL: https://github.com/apache/beam/pull/5971#issuecomment-406074873
The race condition is fixed in https://github.com/apache/beam/pull/5975
The root cause was that we were simply sending the requests for put artifact
and completing it on client without waiting for the completion from the server.
My understanding was that gRPC would make sure that onComplete waits for
completion from the server as well, which is not the case.
----------------------------------------------------------------
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: 124631)
Time Spent: 2h (was: 1h 50m)
> PutArtifactResponse not sent
> ----------------------------
>
> Key: BEAM-4800
> URL: https://issues.apache.org/jira/browse/BEAM-4800
> Project: Beam
> Issue Type: Bug
> Components: runner-flink
> Affects Versions: Not applicable
> Reporter: Ryan Williams
> Assignee: Ryan Williams
> Priority: Minor
> Fix For: 2.6.0
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> At time of writing, running portable wordcount fails:
> {code:java}
> ./gradlew -p sdks/python/container docker
> ./gradlew :beam-runners-flink_2.11-job-server:runShadow
> ./gradlew :beam-sdks-python:portableWordCount{code}
> Relevant job-server output:
> {code:java}
> [grpc-default-executor-4] INFO
> org.apache.beam.runners.fnexecution.artifact.BeamFileSystemArtifactStagingService
> - Going to stage artifact pickled_main_session to
> /tmp/flink-artifacts/job_89b631dc-1b97-419f-8995-f3fb5ea3f9df/artifacts/artifact_ea0d10d07f4601782ed647e8f6ba4a055be13674ab79fa0c6e2fa44917c5264c.
> [grpc-default-executor-4] INFO
> org.apache.beam.runners.fnexecution.artifact.BeamFileSystemArtifactStagingService
> - Staging artifact completed for
> /tmp/flink-artifacts/job_89b631dc-1b97-419f-8995-f3fb5ea3f9df/artifacts/artifact_ea0d10d07f4601782ed647e8f6ba4a055be13674ab79fa0c6e2fa44917c5264c
> Jul 15, 2018 7:01:25 PM
> org.apache.beam.vendor.grpc.v1.io.grpc.internal.ServerCallImpl internalClose
> WARNING: Cancelling the stream with status Status{code=INTERNAL,
> description=Completed without a response, cause=null}{code}
> A {{PutArtifactResponse}} needs to be sent in response to a
> {{PutArtifactRequest}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)