2

I am using python 2.7 with spark standalone cluster.

When I start the master on the same machine running the python script. it works smoothly.

When I start the master on a remote machine, and try to start spark context on the local machine to access the remote spark master. nothing happens and i get a massage saying that the task did not get any resources.

When i access the master's UI. i see the job, but nothing happens with it, it's just there.

How do i access a remote spark master via a local python script?

Thanks.

EDIT: I read that in order to do this i need to run the cluster in cluster mode (not client mode), and I found that currently standalone mode does not support this for python application.

Ideas?

1 Answer 1

3

in order to do this i need to run the cluster in cluster mode (not client mode), and I found here that currently standalone mode does not support this for python application.

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.