Debasish Das wrote
> For spark-shell my assumption is spark-shell -cp option should work
> fine....

Thanks for the suggestion, but this doesn't work. I tried:

./bin/spark-shell -cp commons-math3-3.2.jar -usejavacp

(apparently -cp is deprecated for the scala shell as of 2.8, so -usejavacp
is required). And then:

scala> import breeze.stats.distributions.Geometric
import breeze.stats.distributions.Geometric

scala> val geom = new Geometric(0.5)
java.lang.NoClassDefFoundError:
org/apache/commons/math3/random/RandomGenerator
...



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Using-Breeze-in-the-Scala-Shell-tp19979p20001.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

Reply via email to