GitHub user BryanCutler opened a pull request:
https://github.com/apache/spark/pull/9317
[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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/BryanCutler/spark
appClient-receiveAndReply-SPARK-10827
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/9317.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #9317
----
commit 3872cc68329862242058264bd4de2e9f2618d511
Author: Bryan Cutler <[email protected]>
Date: 2015-10-23T17:34:50Z
[SPARK-10827] Changed AppClient receiveAndReply to non-blocking using a
thread pool
commit 80794e826b48e979e8079d5482589c394ca1442d
Author: Bryan Cutler <[email protected]>
Date: 2015-10-27T20:56:11Z
[SPARK-10827] Added unit tests for AppClient
commit e33c2b41d0ee816f08d9f7f7c965fe89f538da33
Author: Bryan Cutler <[email protected]>
Date: 2015-10-27T20:57:44Z
Merge remote-tracking branch 'upstream/master' into
appClient-receiveAndReply-SPARK-10827
commit 5e155cc2f43d98f365524ec6bac81bb6206a780e
Author: Bryan Cutler <[email protected]>
Date: 2015-10-28T00:37:25Z
[SPARK-10827] Used variable to clarify what result the test case is checking
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]