spark-knowledgebase icon indicating copy to clipboard operation
spark-knowledgebase copied to clipboard

Running Spark in Standalone Cluster mode

Open mupparajuvamsi opened this issue 9 years ago • 0 comments

Hi i created spark cluster with three vms with 4cpu cores and 8gb ram and i have wriitten simple word count job in java .Can you send me the command how to submit the job in cluster mode

I am using the below command but i am unable to see the output

bin/spark-submit --class "com.geekcap.javaworld.sparkexample.WordCount" --master spark://masterip:7077 --deploy-mode cluster /root/spark-example/target/spark-example-1.0-SNAPSHOT.jar

mupparajuvamsi avatar Dec 01 '16 05:12 mupparajuvamsi