I have compiled an uberjar from a file like:
(defmain HadoopTest (:use 'cascalog.api) (defn bla ("alot of code"))
I run that uberjar on hadoop like:
$ hadoop jar myStandalone.jar clojure.main
and i get a REPL, but nothing from that file is executed. I still have to type (:use 'cascalog.api) and (defn bla) by hand. Why is that the case and how do i fix it?
thanks a lot!