[
https://issues.apache.org/jira/browse/ARROW-4625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-4625:
----------------------------------
Labels: pull-request-available (was: )
> [Flight] Wrap server busy-wait methods
> --------------------------------------
>
> Key: ARROW-4625
> URL: https://issues.apache.org/jira/browse/ARROW-4625
> Project: Apache Arrow
> Issue Type: Improvement
> Components: FlightRPC
> Reporter: David Li
> Assignee: David Li
> Priority: Minor
> Labels: pull-request-available
>
> Right now in Java, you must manually busy-wait in a loop as the gRPC server's
> awaitTermination method isn't exposed. Conversely, in C++, you have no choice
> but to busy-wait as starting the server calls awaitTermination for you.
> Either Java should also wait on the server, or both Java and C++ should
> expose an explicit operation to wait on the server.
> I would prefer the latter as then the Python bindings could choose to
> manually busy-wait, which would let Ctrl-C work as normal.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)