0

I installed Spark Server on Windows. I also create a maven project to access Cassandra using JavaSparkContext. Should the Spark server be running in order to run the application?

1 Answer 1

1

There are multiple mode to use spark server.

Looks like you have setup up a standalone cluster. To use that cluster, of-course it needs to be running. It is like asking can my vehicle run without engine.

But for very small things to test code, you can substitute master to something like "local[2]". It will run your code on the local machine itself with embedded spark instance.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.