GitHub user lianhuiwang opened a pull request:
https://github.com/apache/spark/pull/12568
[SPARK-14731][shuffle]Revert SPARK-12130 to make 2.0 shuffle service
compatible with 1.x
## What changes were proposed in this pull request?
SPARK-12130 make 2.0 shuffle service incompatible with 1.x. So in
[http://apache-spark-developers-list.1001551.n3.nabble.com/YARN-Shuffle-service-and-its-compatibility-td17222.html](url)
we should maintain compatibility between Spark 1.x and Spark 2.x's shuffle
service.
I put string comparison into executor's register at first avoid string
comparison in getBlockData every time.
## How was this patch tested?
N/A
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lianhuiwang/spark SPARK-14731
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12568.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 #12568
----
commit 1a65998f0dd8240486c27a8cbde09b7e7cac3480
Author: Lianhui Wang <[email protected]>
Date: 2016-04-21T08:27:58Z
init commit
----
---
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]