If you supply a class name to hadoop jar <jar file> [<main class>] ...
it will call the main
method that is contained in that class. Since you are using clojure.main
here, a REPL will be spun up (because that's what clojure.main.main()
is supposed to do).
So, either use the right class (your AOT-compiled Clojure namespace, I guess), or store that information in your Uberjar (e.g. via Leiningen's :main
key in the project file) and leave out the classname, calling only hadoop jar myStandalone.jar
.