I ran into a similar problem while using QDigest. Shading the clearspring, fastutil classes solves the problem. Snippet from pom.xml : <plugin> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <artifactSet> <includes> <include>com.clearspring.analytics:stream</include> <include>it.unimi.dsi:fastutil</include> </includes> </artifactSet>
<relocations> <relocation> <pattern>it.unimi.dsi</pattern> <shadedPattern>atom.it.unimi.dsi</shadedPattern> </relocation> <relocation> <pattern>com.clearspring.analytics.stream</pattern> <shadedPattern>atom.com.clearspring.analytics.stream</shadedPattern> </relocation> </relocations> <shadedArtifactAttached>true</shadedArtifactAttached> <outputDirectory>${project.build.directory}</outputDirectory> </configuration> </execution> </executions> </plugin> -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Spark-excludes-fastutil-dependencies-we-need-tp21794p27512.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe e-mail: user-unsubscr...@spark.apache.org