Skip to content
Snippets Groups Projects
  • Marcelo Vanzin's avatar
    24d7d2e4
    [SPARK-13579][BUILD] Stop building the main Spark assembly. · 24d7d2e4
    Marcelo Vanzin authored
    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.
    24d7d2e4
    History
    [SPARK-13579][BUILD] Stop building the main Spark assembly.
    Marcelo Vanzin authored
    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.