lev wrote > I'm using breeze.stats.distributions.Binomial with spark 1.1.0 and having > the same error. > I tried to add the dependency to math3 with versions 3.11, 3.2, 3.3 and it > didn't help.
I am experiencing likewise with all the breeze.stats.distributions using any math3 version. I run 'spark-shell --jars commons-math3-3.1.1.jar', import the required classes (org.apache.commons.math3.random.RandomGenerator, etc.), and am unable to create any distributions from breeze despite having just imported the offending class: java.lang.NoClassDefFoundError: org/apache/commons/math3/random/RandomGenerator Caused by: java.lang.ClassNotFoundException: org.apache.commons.math3.random.RandomGenerator -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/org-apache-commons-math3-random-RandomGenerator-issue-tp15748p18411.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org