diff options
author | Sean Owen <sowen@cloudera.com> | 2014-10-27 10:53:15 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2014-10-27 10:53:15 -0700 |
commit | bfa614b12795f1cfce4de0950f90cb8c4f2a7d53 (patch) | |
tree | e968afcba36be2d27db36bc17c26f38f1a491a48 /assembly/pom.xml | |
parent | 1d7bcc88401d66c8d17a075355acfc25a8b7615c (diff) | |
download | spark-bfa614b12795f1cfce4de0950f90cb8c4f2a7d53.tar.gz spark-bfa614b12795f1cfce4de0950f90cb8c4f2a7d53.tar.bz2 spark-bfa614b12795f1cfce4de0950f90cb8c4f2a7d53.zip |
SPARK-4022 [CORE] [MLLIB] Replace colt dependency (LGPL) with commons-math
This change replaces usages of colt with commons-math3 equivalents, and makes some minor necessary adjustments to related code and tests to match.
Author: Sean Owen <sowen@cloudera.com>
Closes #2928 from srowen/SPARK-4022 and squashes the following commits:
61a232f [Sean Owen] Fix failure due to different sampling in JavaAPISuite.sample()
16d66b8 [Sean Owen] Simplify seeding with call to reseedRandomGenerator
a1a78e0 [Sean Owen] Use Well19937c
31c7641 [Sean Owen] Fix Python Poisson test by choosing a different seed; about 88% of seeds should work but 1 didn't, it seems
5c9c67f [Sean Owen] Additional test fixes from review
d8f88e0 [Sean Owen] Replace colt with commons-math3. Some tests do not pass yet.
Diffstat (limited to 'assembly/pom.xml')
-rw-r--r-- | assembly/pom.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/assembly/pom.xml b/assembly/pom.xml index bfef95b8de..11d4bea936 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -146,6 +146,10 @@ <exclude>com/google/common/base/Present*</exclude> </excludes> </relocation> + <relocation> + <pattern>org.apache.commons.math3</pattern> + <shadedPattern>org.spark-project.commons.math3</shadedPattern> + </relocation> </relocations> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |