-
- Downloads
[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. Author: jerryshao <sshao@hortonworks.com> Closes #18235 from jerryshao/SPARK-21012.
Showing
- core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala 133 additions, 33 deletions.../src/main/scala/org/apache/spark/deploy/SparkSubmit.scala
- core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala 1 addition, 1 deletion.../scala/org/apache/spark/deploy/SparkSubmitArguments.scala
- core/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala 59 additions, 9 deletions...test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala
- docs/configuration.md 3 additions, 3 deletionsdocs/configuration.md
Loading
Please register or sign in to comment