[
https://issues.apache.org/jira/browse/BEAM-7170?focusedWorklogId=234498&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-234498
]
ASF GitHub Bot logged work on BEAM-7170:
----------------------------------------
Author: ASF GitHub Bot
Created on: 29/Apr/19 12:41
Start Date: 29/Apr/19 12:41
Worklog Time Spent: 10m
Work Description: mxm commented on pull request #8424: [BEAM-7170] Fix
exception when retrieving ExpansionServer port after closing
URL: https://github.com/apache/beam/pull/8424
----------------------------------------------------------------
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: 234498)
Time Spent: 0.5h (was: 20m)
> ExpansionServer throws exception when port is retrieved after close
> -------------------------------------------------------------------
>
> Key: BEAM-7170
> URL: https://issues.apache.org/jira/browse/BEAM-7170
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Maximilian Michels
> Assignee: Maximilian Michels
> Priority: Minor
> Labels: portability
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The ExpansionServer can throw the following exception after shutdown because
> the port getter retrieves the port dynamically from the underlying service:
> {noformat}
> [Test worker] ERROR
> org.apache.beam.runners.fnexecution.jobsubmission.JobServerDriver - Error
> while closing the Expansion Service.
> java.lang.IllegalStateException: Already terminated
> at
> org.apache.beam.vendor.grpc.v1p13p1.com.google.common.base.Preconditions.checkState(Preconditions.java:444)
> at
> org.apache.beam.vendor.grpc.v1p13p1.io.grpc.internal.ServerImpl.getPort(ServerImpl.java:174)
> at
> org.apache.beam.runners.core.construction.expansion.ExpansionServer.getPort(ExpansionServer.java:66)
> at
> org.apache.beam.runners.fnexecution.jobsubmission.JobServerDriver.stop(JobServerDriver.java:200)
> at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)