Giter Club home page Giter Club logo

Comments (8)

TomAugspurger avatar TomAugspurger commented on July 30, 2024

Hi @lwchao-vivian. Those are log messages that can be ignored. Typically they're hidden, but something changed in Dask recently, so they're showing up in the notebook. This is being fixed in pangeo-data/pangeo-stacks#92

from pangeo-binder.

lwchao-vivian avatar lwchao-vivian commented on July 30, 2024

@TomAugspurger Thank you for your response! In my case, after all of the "Suggest closing workers" messages, Dask removed the workers and I lost all of them. Do you know how to fix it?

from pangeo-binder.

TomAugspurger avatar TomAugspurger commented on July 30, 2024

Loading your binder now. It's rebuilding the image so it may be a bit.

Are you using adaptive? That could just be Dask saying that the cluster is idle, so it's releasing all the workers.

from pangeo-binder.

lwchao-vivian avatar lwchao-vivian commented on July 30, 2024

Yes, I am using adapt.
It would be nice if there is a way to hide these messages. Can you elaborate what your meaning of "specify logging at the top-level" in pangeo-data/pangeo-stacks#92?

from pangeo-binder.

lwchao-vivian avatar lwchao-vivian commented on July 30, 2024

I noticed that the problem of looping messages can be avoided by specifying the number of workers:
That is,
cluster = KubeCluster()
cluster.adapt(minimum=4, maximum=40)
should be replaced with
cluster = KubeCluster(n_workers=4)

Thank you for your assistance!

from pangeo-binder.

mrocklin avatar mrocklin commented on July 30, 2024

These are actually logged at debug level today in Dask. Pangeo should probably change their base image to point to dask >= 2.7.

from pangeo-binder.

TomAugspurger avatar TomAugspurger commented on July 30, 2024

pangeo-data/pangeo-stacks#92 is updating the dask_config.yaml that's used in the base image. On master, the logging configuration is under the "distributed" key in the YAML file, but it shouldn't be.

And just to be clear, you may want to continue using adapt. This problem will solve itself once https://github.com/pangeo-data/pangeo-stacks/pull/92/files is merged and the docker images are rebuilt (probably toay or tomrrow).

from pangeo-binder.

lwchao-vivian avatar lwchao-vivian commented on July 30, 2024

That's clear. Now I understand. Thank you @mrocklin and @TomAugspurger !

from pangeo-binder.

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.