Skip to content

Running Spark in Standalone Cluster mode #13

Description

@mupparajuvamsi

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions