GitHub user jerryshao opened a pull request: https://github.com/apache/spark/pull/18235
[SPARK-21012][Submit] Add glob support for resources adding to Spark Current "--jars (spark.jars)", "--files (spark.files)", "--py-files (spark.submit.pyFiles)" and "--archives (spark.yarn.dist.archives)" only support non-glob path. This is OK for most of the cases, but when user requires to add more jars, files into Spark, it is too verbose to list one by one. So here propose to add glob path support for resources. Also improving the code of downloading resources. ## How was this patch tested? UT added, also verified manually in local cluster. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jerryshao/apache-spark SPARK-21012 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18235.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 #18235 ---- commit 339888964e04e1097b0c522a7eeb13a280c22ddc Author: jerryshao <ss...@hortonworks.com> Date: 2017-06-08T02:58:09Z Add glob support for resources adding to Spark Change-Id: I219c1c9b7b53b7fb724cfbdc76cc03038f656bfb ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org