-
- Downloads
[SPARK-13579][BUILD] Stop building the main Spark assembly.
This change modifies the "assembly/" module to just copy needed dependencies to its build directory, and modifies the packaging script to pick those up (and remove duplicate jars packages in the examples module). I also made some minor adjustments to dependencies to remove some test jars from the final packaging, and remove jars that conflict with each other when packaged separately (e.g. servlet api). Also note that this change restores guava in applications' classpaths, even though it's still shaded inside Spark. This is now needed for the Hadoop libraries that are packaged with Spark, which now are not processed by the shade plugin. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #11796 from vanzin/SPARK-13579.
Showing
- assembly/pom.xml 31 additions, 70 deletionsassembly/pom.xml
- bin/spark-class 5 additions, 6 deletionsbin/spark-class
- bin/spark-class2.cmd 2 additions, 3 deletionsbin/spark-class2.cmd
- core/src/main/scala/org/apache/spark/util/Utils.scala 2 additions, 2 deletionscore/src/main/scala/org/apache/spark/util/Utils.scala
- core/src/test/scala/org/apache/spark/util/FileAppenderSuite.scala 41 additions, 31 deletions.../test/scala/org/apache/spark/util/FileAppenderSuite.scala
- dev/deps/spark-deps-hadoop-2.2 1 addition, 3 deletionsdev/deps/spark-deps-hadoop-2.2
- dev/deps/spark-deps-hadoop-2.3 1 addition, 3 deletionsdev/deps/spark-deps-hadoop-2.3
- dev/deps/spark-deps-hadoop-2.4 1 addition, 3 deletionsdev/deps/spark-deps-hadoop-2.4
- dev/deps/spark-deps-hadoop-2.6 1 addition, 3 deletionsdev/deps/spark-deps-hadoop-2.6
- dev/deps/spark-deps-hadoop-2.7 1 addition, 3 deletionsdev/deps/spark-deps-hadoop-2.7
- dev/make-distribution.sh 16 additions, 9 deletionsdev/make-distribution.sh
- dev/mima 3 additions, 3 deletionsdev/mima
- dev/run-tests.py 6 additions, 5 deletionsdev/run-tests.py
- docs/sql-programming-guide.md 1 addition, 6 deletionsdocs/sql-programming-guide.md
- examples/pom.xml 10 additions, 70 deletionsexamples/pom.xml
- launcher/src/main/java/org/apache/spark/launcher/AbstractCommandBuilder.java 22 additions, 25 deletions...ava/org/apache/spark/launcher/AbstractCommandBuilder.java
- launcher/src/main/java/org/apache/spark/launcher/CommandBuilderUtils.java 2 additions, 2 deletions...n/java/org/apache/spark/launcher/CommandBuilderUtils.java
- launcher/src/main/java/org/apache/spark/launcher/SparkSubmitCommandBuilder.java 8 additions, 3 deletions.../org/apache/spark/launcher/SparkSubmitCommandBuilder.java
- pom.xml 31 additions, 13 deletionspom.xml
- project/SparkBuild.scala 22 additions, 23 deletionsproject/SparkBuild.scala
Loading
Please register or sign in to comment