spark-knowledgebase
spark-knowledgebase copied to clipboard
Running Spark in Standalone Cluster mode
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