Skip to content
Snippets Groups Projects
  • Josh Rosen's avatar
    27a42c71
    [SPARK-10359] Enumerate dependencies in a file and diff against it for new pull requests · 27a42c71
    Josh Rosen authored
    This patch adds a new build check which enumerates Spark's resolved runtime classpath and saves it to a file, then diffs against that file to detect whether pull requests have introduced dependency changes. The aim of this check is to make it simpler to reason about whether pull request which modify the build have introduced new dependencies or changed transitive dependencies in a way that affects the final classpath.
    
    This supplants the checks added in SPARK-4123 / #5093, which are currently disabled due to bugs.
    
    This patch is based on pwendell's work in #8531.
    
    Closes #8531.
    
    Author: Josh Rosen <joshrosen@databricks.com>
    Author: Patrick Wendell <patrick@databricks.com>
    
    Closes #10461 from JoshRosen/SPARK-10359.
    27a42c71
    History
    [SPARK-10359] Enumerate dependencies in a file and diff against it for new pull requests
    Josh Rosen authored
    This patch adds a new build check which enumerates Spark's resolved runtime classpath and saves it to a file, then diffs against that file to detect whether pull requests have introduced dependency changes. The aim of this check is to make it simpler to reason about whether pull request which modify the build have introduced new dependencies or changed transitive dependencies in a way that affects the final classpath.
    
    This supplants the checks added in SPARK-4123 / #5093, which are currently disabled due to bugs.
    
    This patch is based on pwendell's work in #8531.
    
    Closes #8531.
    
    Author: Josh Rosen <joshrosen@databricks.com>
    Author: Patrick Wendell <patrick@databricks.com>
    
    Closes #10461 from JoshRosen/SPARK-10359.