Skip to content
  • Xiangrui Meng's avatar
    d8176b1c
    [SPARK-4121] Set commons-math3 version based on hadoop profiles, instead of shading · d8176b1c
    Xiangrui Meng authored
    In #2928 , we shade commons-math3 to prevent future conflicts with hadoop. It caused problems with our Jenkins master build with maven. Some tests used local-cluster mode, where the assembly jar contains relocated math3 classes, while mllib test code still compiles with core and the untouched math3 classes.
    
    This PR sets commons-math3 version based on hadoop profiles.
    
    pwendell JoshRosen srowen
    
    Author: Xiangrui Meng <meng@databricks.com>
    
    Closes #3023 from mengxr/SPARK-4121-alt and squashes the following commits:
    
    580f6d9 [Xiangrui Meng] replace tab by spaces
    7f71f08 [Xiangrui Meng] revert changes to PoissonSampler to avoid conflicts
    d3353d9 [Xiangrui Meng] do not shade commons-math3
    b4180dc [Xiangrui Meng] temp work
    d8176b1c
    [SPARK-4121] Set commons-math3 version based on hadoop profiles, instead of shading
    Xiangrui Meng authored
    In #2928 , we shade commons-math3 to prevent future conflicts with hadoop. It caused problems with our Jenkins master build with maven. Some tests used local-cluster mode, where the assembly jar contains relocated math3 classes, while mllib test code still compiles with core and the untouched math3 classes.
    
    This PR sets commons-math3 version based on hadoop profiles.
    
    pwendell JoshRosen srowen
    
    Author: Xiangrui Meng <meng@databricks.com>
    
    Closes #3023 from mengxr/SPARK-4121-alt and squashes the following commits:
    
    580f6d9 [Xiangrui Meng] replace tab by spaces
    7f71f08 [Xiangrui Meng] revert changes to PoissonSampler to avoid conflicts
    d3353d9 [Xiangrui Meng] do not shade commons-math3
    b4180dc [Xiangrui Meng] temp work
Loading