[
https://issues.apache.org/jira/browse/BEAM-6346?focusedWorklogId=181969&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-181969
]
ASF GitHub Bot logged work on BEAM-6346:
----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Jan/19 19:10
Start Date: 07/Jan/19 19:10
Worklog Time Spent: 10m
Work Description: angoenka commented on pull request #7395: [BEAM-6346]
Inspect the docker container state
URL: https://github.com/apache/beam/pull/7395#discussion_r245765042
##########
File path:
runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/environment/DockerEnvironmentFactory.java
##########
@@ -152,8 +152,10 @@ public RemoteEnvironment createEnvironment(Environment
environment) throws Excep
LOG.debug("Created Docker Container with Container ID {}", containerId);
// Wait on a client from the gRPC server.
while (instructionHandler == null) {
+ Preconditions.checkArgument(
+ docker.isContainerRunning(containerId), "No container running for
id " + containerId);
Review comment:
The main issue that I observed here was when the container failed to start.
As it is started in detached mode, we don't know the state of the container and
simply wait on the control client to connect.
Synchronous container start will not work and will be very difficult to
orchestrate.
----------------------------------------------------------------
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: 181969)
Time Spent: 50m (was: 40m)
> Portable Flink Job hangs if the sdk harness fails to start
> ----------------------------------------------------------
>
> Key: BEAM-6346
> URL: https://issues.apache.org/jira/browse/BEAM-6346
> Project: Beam
> Issue Type: Bug
> Components: runner-flink
> Reporter: Ankur Goenka
> Assignee: Ankur Goenka
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Portable beam job on Flink fails if the sdk harness container fails to start
> as its started in detached mode.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)