apache spark - failure running sparkclr-submit.cmd -
i trying run simple spark clr program local debug mode using vs2012 on windows environment.
please find below steps did,
- downloaded v1.6.100 following page , extracted d drive https://github.com/microsoft/mobius/releases
and in d drive, folder looks this, d:\sparkclr\spark-clr_2.10-1.6.100
set following environment variables,
spark_home = d:\sparkclr\spark-clr_2.10-1.6.100\runtime
sparkclr_home = d:\sparkclr\spark-clr_2.10-1.6.100\runtime
java_home = c:\program files\java\jdk1.8.0_92
hadoop_home = d:\hadoopdirectory (winutils.exe present in d:\hadoopdirectory\bin)downloaded sparkclr nuget package
in order set "csharpbackendportnumber" in app.config in local vs program, need run in debug mode per, https://github.com/microsoft/mobius/blob/master/notes/running-mobius-app.md#debug-mode
but when run 'sparkclr-submit.cmd debug' d:\sparkclr\spark-clr_2.10-1.6.100\runtime\scripts
i getting following exception,
d:\sparkclr\spark-clr_2.10-1.6.100\runtime\scripts>sparkclr-submit.cmd debug '"d:\sparkclr\spark-clr_2.10-1.6.100\runtime\bin\load-spark-env.cmd"' not rec ognized internal or external command, operable program or batch file. sparkclr_jar=spark-clr_2.10-1.6.100.jar exception in thread "main" java.lang.noclassdeffounderror: scala/collection/seq @ org.apache.spark.deploy.csharp.csharprunner.main(csharprunner.scala) caused by: java.lang.classnotfoundexception: scala.collection.seq @ java.net.urlclassloader.findclass(urlclassloader.java:381) @ java.lang.classloader.loadclass(classloader.java:424) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:331) @ java.lang.classloader.loadclass(classloader.java:357) ... 1 more
could please tell me whether missing something?
thanks
spark_home
environment variable should point spark directory. have pointing mobius directory.
Comments
Post a Comment