"Bad application path" in starting the notebook within a sources build

24 views
Skip to first unread message

Stephen Boesch

unread,
Oct 12, 2015, 12:02:33 PM10/12/15
to spark-not...@googlegroups.com
I downloaded the sources from github and then started sbt.


I entered "start" in the spark-notebook:

[spark-notebook] $ start

and the following occurred:


[info] Packaging /shared/spark-notebook/modules/kernel/target/scala-2.10/kernel_2.10-0.6.2-SNAPSHOT-scala-2.10.4-spark-1.5.1-hadoop-2.2.0-javadoc.jar ...
[info] Done packaging.

(Starting server. Type Ctrl+D to exit logs, the server will remain in background)

Bad application path: -Xmx512M


That string is within sbt.build  javaOptions.  What should be done here?

andy petrella

unread,
Oct 12, 2015, 12:06:44 PM10/12/15
to Stephen Boesch, spark-not...@googlegroups.com
indeed, I generally use `run`.

What do you mean it's in sbt.build? Do you have such file that contains something like this? If so could you paste it here please?

This error looks like (I think) the `application.context` configuration is wrong (by default it's just `/`).

On the other hand, to give more memory, we now need to use `-J-Xmx512M`

HTH



--
You received this message because you are subscribed to the Google Groups "spark-notebook-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spark-notebook-...@googlegroups.com.
To post to this group, send email to spark-not...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spark-notebook-user/CACkSZy2MOZawdH-YRf6vQr31dSS3ujuf2xMVFSxRhyfRpdwUvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
andy

Stephen Boesch

unread,
Oct 12, 2015, 12:55:22 PM10/12/15
to andy petrella, spark-not...@googlegroups.com
My bad - it is build.sbt

The build.sbt needs to be updated for precisely what  you mention:  to add -J in front. Then it works.
Reply all
Reply to author
Forward
0 new messages