You dont have to include breeze jar which is already in spark assembly jar. For native one, its optional.
Sent from my Google Nexus 5 On Oct 3, 2014 8:04 PM, "Priya Ch" <learnings.chitt...@gmail.com> wrote: > > > > yes. I have included breeze-0.9 in build.sbt file. I ll change this to > 0.7. Apart from this, do we need to include breeze jars explicitly in the > spark context as sc.addJar() ? and what about the dependencies > netlib-native_ref-linux- > x86_64-1.1-natives.jar, > netlib-native_system-linux-x86_64-1.1-natives.jar ? Need to be included in > classpath ? > > On Fri, Oct 3, 2014 at 11:01 PM, David Hall <d...@cs.berkeley.edu> wrote: > >> yeah, breeze.storage.Zero was introduced in either 0.8 or 0.9. >> >> On Fri, Oct 3, 2014 at 9:45 AM, Xiangrui Meng <men...@gmail.com> wrote: >> >>> Did you add a different version of breeze to the classpath? In Spark >>> 1.0, we use breeze 0.7, and in Spark 1.1 we use 0.9. If the breeze >>> version you used is different from the one comes with Spark, you might >>> see class not found. -Xiangrui >>> >>> On Fri, Oct 3, 2014 at 4:22 AM, Priya Ch <learnings.chitt...@gmail.com> >>> wrote: >>> > Hi Team, >>> > >>> > When I am trying to use DenseMatrix of breeze library in spark, its >>> throwing >>> > me the following error: >>> > >>> > java.lang.noclassdeffounderror: breeze/storage/Zero >>> > >>> > >>> > Can someone help me on this ? >>> > >>> > Thanks, >>> > Padma Ch >>> > >>> > >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org >>> For additional commands, e-mail: dev-h...@spark.apache.org >>> >>> >> > >