Giter VIP home page Giter VIP logo

Comments (5)

dennishuo avatar dennishuo commented on September 7, 2024

I got stuck at first on the ImportError: No module named google_compute_engine error since I couldn't figure out how it ever worked :)

Basically, the clobbering of PATH to have conda first always breaks gsutil, so the little gsutil stat trick trying to fetch notebooks from GCS just never actually worked (but also was untested and apparently unused).

But it's in a conditional so that's actually just a red herring. @nehalecky is correct that #103 should resolve this.

from initialization-actions.

dennishuo avatar dennishuo commented on September 7, 2024

Merged #103 - should work out of the box once again.

from initialization-actions.

nehalecky avatar nehalecky commented on September 7, 2024

@dennishuo, thanks for the details on that ImportError. Is gsutil the only component of glcoud sdk that doesn't play nice with conda, or are there others? Any more details on that would be appreciated as we're (@jeffkpayne) currently updating a Docker image that has both. 😄

Also, any more info on the use of Docker containers in Dataproc? :)

Thanks again!

from initialization-actions.

dennishuo avatar dennishuo commented on September 7, 2024

@nehalecky To be honest we don't have much coverage of compatibility constraints between cloud SDK and conda, though at least in my experience gsutil tends to be more picky than base gcloud commands. A cursory check seems to show gcloud still working okay with conda installed and overridden on PATH. I'll be happy to hear about your findings if you do discover interesting quirks though!

Re: Docker containers, have you played around with the datalab initialization action which uses a Docker container for the dev environment? It could be a worthwhile pattern to apply to other init actions.

I suppose the part that's less clear is whether there's a role for docker containers on worker nodes.

from initialization-actions.

jeffkpayne avatar jeffkpayne commented on September 7, 2024

Yep, that gsutil stat... trick was definitely not well tested and, for other reasons, the goal that it was supposed to provide was never really utilized by us anyway.

from initialization-actions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.