You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "David Li (JIRA)" <ji...@apache.org> on 2019/02/19 13:51:00 UTC

[jira] [Created] (ARROW-4625) [Flight] Wrap server busy-wait methods

David Li created ARROW-4625:
-------------------------------

             Summary: [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


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)