-
- Downloads
[SPARK-10827][CORE] AppClient should not use `askWithReply` in `receiveAndReply`
Changed AppClient to be non-blocking in `receiveAndReply` by using a separate thread to wait for response and reply to the context. The threads are managed by a thread pool. Also added unit tests for the AppClient interface. Author: Bryan Cutler <bjcutler@us.ibm.com> Closes #9317 from BryanCutler/appClient-receiveAndReply-SPARK-10827.
Showing
- core/src/main/scala/org/apache/spark/deploy/client/AppClient.scala 29 additions, 4 deletions...main/scala/org/apache/spark/deploy/client/AppClient.scala
- core/src/test/scala/org/apache/spark/deploy/client/AppClientSuite.scala 209 additions, 0 deletions...scala/org/apache/spark/deploy/client/AppClientSuite.scala
Please register or sign in to comment