Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with Remote Cluster with Jupyter on local #31

Open
meedeepak opened this issue Mar 24, 2020 · 1 comment
Open

Not working with Remote Cluster with Jupyter on local #31

meedeepak opened this issue Mar 24, 2020 · 1 comment

Comments

@meedeepak
Copy link

Need to set
os.environ["PYSPARK_PYTHON"] = "/home/ubuntu/anaconda3/bin/python"

In my local Jupyter where PYSPARK_PYTHON is of worker machines.
Otherwise it takes my sys.executable to cluster and i get error from workers stating python file not found.

@Hydrugion
Copy link

Isn't this is the expected behavior? If your cluster has some special configuration it has to be provided to findspark otherwise it only look at common places to set the environment variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants