Have a look at https://github.com/apache/incubator-spark/blob/master/run-example That should help you figure out how to run a jar file using spark (given you have the classpath/dependencies set up).
-- Ankur On 25 Nov 2013, at 14:12, Michael Kun Yang <[email protected]> wrote: > How to run compile .jar in spark? > For hadoop, I can use > hadoop -jar ... > > Thank you! > -M
