-
Notifications
You must be signed in to change notification settings - Fork 515
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
Bug in dataproc-initialization-actions/jupyter/ causes different version on master and worker #300
Comments
dataproc-initialization-actions/jupyter/
causes different version on master and worker
dataproc-initialization-actions/jupyter/
causes different version on master and worker
Confirmed your theory:
Indeed Python is one of the packages that gets updated. I like the idea of preventing conda from upgrading other packages ( |
A different solution is to pin to a particular version of |
For posterity, A third possible solution is to install jupyter on all nodes so that the python environment starts out consistent between master and workers. |
Pin python version to version already installed Fixes GoogleCloudDataproc#300
Also, pin python version to version already installed Fixes #300
I'm getting the following error using a basic cluster initialised using the
dataproc-initialization-actions/jupyter/
scripts.I've confirmed this is the case: on the master version is 3.7.0 and on workers its 3.6.5.
I've tracked down the issue to this segment of code:
https://github.com/GoogleCloudPlatform/dataproc-initialization-actions/blob/dced28ebd3780307418789ac51bfe8303030cd9a/jupyter/jupyter.sh#L44-L52
conda
defaults to upgrading python to 3.7.0 for installations ofjupyter
causing the different versions.I think wither the init script should prevent conda from installing the new python version, or perhaps upgrading the workers (I did this manually for now). I'm not familiar with conda (use pip instead), so unsure if there is a straightforward fix for this.
The text was updated successfully, but these errors were encountered: