GithubHelp home page GithubHelp logo

Comments (10)

minrk avatar minrk commented on July 20, 2024

It is the intended behavior for the task database to persist because it allows result retrieval even after the Hub has died.

from ipyparallel.

minrk avatar minrk commented on July 20, 2024

You can clear the task database with a Client when you are done, if that's what you want:

client.purge_hub_results('all')

from ipyparallel.

jakirkham avatar jakirkham commented on July 20, 2024

So, I tried starting up the cluster and running client.purge_hub_results('all') and also tried running client.purge_everything() to no avail. To be clear, this is in regard to data from a previous cluster session. Is there another way I should be doing this?

from ipyparallel.

minrk avatar minrk commented on July 20, 2024

which db backend are you using?

from ipyparallel.

jakirkham avatar jakirkham commented on July 20, 2024

SQLite

from ipyparallel.

minrk avatar minrk commented on July 20, 2024

Thanks, I'll investigate why it's not doing the right thing. It may be something that I've forgotten about.

from ipyparallel.

minrk avatar minrk commented on July 20, 2024

Can you share your tasks.db file, perhaps? I just tested this with master, and verified that running the Hub for a while, stopping it, starting a new one, and calling Client.purge_everything() does delete everything in the task database.

from ipyparallel.

jakirkham avatar jakirkham commented on July 20, 2024

Hmm...sharing the database may be tricky. It often gets quite large during a run so I would have to think of the best way to share it. Also, there is the concern of non-published data being in the database. Let me think of what would be best to do this.

from ipyparallel.

minrk avatar minrk commented on July 20, 2024

That's perfectly understandable. I'm just trying to think of the best way to see what's up, since it seems to be cleaning up over here.

You can perhaps try doing some basic SQLite browsing of the file, to see about tables/rows, etc. before/after purge.

from ipyparallel.

minrk avatar minrk commented on July 20, 2024

Hi! Iā€™m going through and cleaning up old/stale issues on this repo. Feel free to open a new Issue if you are still having this trouble.

from ipyparallel.

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.