GitHub user jerryshao opened a pull request:
https://github.com/apache/spark/pull/12597
[SPARK-14836][Yarn] Zip all the jars before uploading to distributed cache
## What changes were proposed in this pull request?
<copy form JIRA>
Currently if neither `spark.yarn.jars` nor `spark.yarn.archive` is set (by
default), Spark on yarn code will upload all the jars in the folder separately
into distributed cache, this is quite time consuming, and very verbose, instead
of upload jars separately into distributed cache, here changes to zip all the
jars first, and then put into distributed cache.
This will significantly improve the speed of starting time.
## How was this patch tested?
Unit test and local integrated test is done.
Verified with SparkPi both in spark cluster and client mode.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jerryshao/apache-spark SPARK-14836
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12597.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 #12597
----
commit ef2fe472255d2d568de591cc3120af3c9d0e9cee
Author: jerryshao <[email protected]>
Date: 2016-04-22T03:05:17Z
Zip all the jars before uploading to distributed cache
----
---
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]