HCADatalab / powderkeg

Live-coding the cluster!
Eclipse Public License 1.0
159 stars 23 forks source link

Can't run example project #3

Closed rbuchmann closed 7 years ago

rbuchmann commented 7 years ago

I get the following when requiring powderkeg, using version 0.4.0 (in cider/nrepl):

(require '[powderkeg.core :as keg])
Preparing for self instrumentation.
Ouroboros succesfully eating its own tail!
Counting classes.
Retrieving bytecode of 7851 classes dynamically defined by Clojure (out of 16272 classes)... done!
Instrumenting clojure.lang.Var... done!
CompilerException java.lang.ClassNotFoundException: org.apache.spark.SparkEnv, compiling:(powderkeg/kryo.clj:41:7) 

My project.clj requires clojure 1.7 and is otherwise empty.

cgrand commented 7 years ago

Add spark 1.5.2 as a dependency to your project.

Le lun. 5 déc. 2016 à 18:40, Rasmus Buchmann notifications@github.com a écrit :

I get the following when requiring powderkeg, using version 0.4.0 (in cider/nrepl):

(require '[powderkeg.core :as keg]) Preparing for self instrumentation. Ouroboros succesfully eating its own tail! Counting classes. Retrieving bytecode of 7851 classes dynamically defined by Clojure (out of 16272 classes)... done! Instrumenting clojure.lang.Var... done! CompilerException java.lang.ClassNotFoundException: org.apache.spark.SparkEnv, compiling:(powderkeg/kryo.clj:41:7)

My project.clj requires clojure 1.7 and is otherwise empty.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HCADatalab/powderkeg/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC3sTEEO1_iF8_2KzwiM3HA418ejXtVks5rFEyBgaJpZM4LEglo .

cgrand commented 7 years ago

[org.apache.spark/spark-core_2.10 "1.5.2"] [org.apache.spark/spark-streaming_2.10 "1.5.2"]

Le lun. 5 déc. 2016 à 18:46, Christophe Grand christophe@cgrand.net a écrit :

Add spark 1.5.2 as a dependency to your project.

Le lun. 5 déc. 2016 à 18:40, Rasmus Buchmann notifications@github.com a écrit :

I get the following when requiring powderkeg, using version 0.4.0 (in cider/nrepl):

(require '[powderkeg.core :as keg]) Preparing for self instrumentation. Ouroboros succesfully eating its own tail! Counting classes. Retrieving bytecode of 7851 classes dynamically defined by Clojure (out of 16272 classes)... done! Instrumenting clojure.lang.Var... done! CompilerException java.lang.ClassNotFoundException: org.apache.spark.SparkEnv, compiling:(powderkeg/kryo.clj:41:7)

My project.clj requires clojure 1.7 and is otherwise empty.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HCADatalab/powderkeg/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC3sTEEO1_iF8_2KzwiM3HA418ejXtVks5rFEyBgaJpZM4LEglo .

rbuchmann commented 7 years ago

Great, that fixed it! Thanks for the immediate response 👍

cgrand commented 7 years ago

Documented deps in README.md https://github.com/HCADatalab/powderkeg/commit/bce7ba3ff8ab682e344ae6263e131566b2fc726a

plandes commented 7 years ago

FYI--This works in 0.5.1 with Spark 2.1.0