GithubHelp home page GithubHelp logo

Comments (5)

minrk avatar minrk commented on July 20, 2024

The clusters tab is only aware of clusters that it has started. It doesn't have any awareness or control over clusters that it did not start, so you should be aware of that. I'm not aware of the clusters tab losing track of its own clusters, though. Maybe it's getting confused during the restart and thinking it should be removing the cluster that it just started. Can you show the logs of the notebook server when this happens (JupyterHub shouldn't be relevant, just the notebook server)?

I do plan to completely change how ipcluster works (make it a service instead of a script), at which point clusters started by any means should appear in the tab.

from ipyparallel.

mkgilbert avatar mkgilbert commented on July 20, 2024

Thank you so much for the reply! I apologize for taking so long getting
back to you. I wasn't aware that Notebook had a separate log file,
actually. I've been looking through the docs trying to find where it would
be stored, but I'm not having any luck. I also tried adding
"c.NotebookApp.log_file = /path/to/file", "c.NotebookApp.extra_log_file =
/path/to/file", and the same for "JupyterApp" but the log file never gets
generated. How do I go about specifying the log file for Notebook?

Thanks!

Mike

On Mon, Sep 28, 2015 at 10:58 AM, Min RK [email protected] wrote:

The clusters tab is only aware of clusters that it has started. It doesn't
have any awareness or control over clusters that it did not start, so you
should be aware of that. I'm not aware of the clusters tab losing track of
its own clusters, though. Maybe it's getting confused during the restart
and thinking it should be removing the cluster that it just started. Can
you show the logs of the notebook server when this happens (JupyterHub
shouldn't be relevant, just the notebook server)?

I do plan to completely change how ipcluster works (make it a service
instead of a script), at which point clusters started by any means should
appear in the tab.


Reply to this email directly or view it on GitHub
#44 (comment).

from ipyparallel.

mkgilbert avatar mkgilbert commented on July 20, 2024

I can't seem to find where the notebook sends its logs to...I don't see a spot for that in config. Is there a way to specify the notebook log file?

from ipyparallel.

polarizeme avatar polarizeme commented on July 20, 2024

Having this same issue, just to throw another hat on the pile.

If any of our JupyterHub users start a number of engines through the clusters tab and then shut their servers down without stopping the engines first, the next time they start their hub server it won't see the running engines anymore in the clusters tab, but using

from ipyparallel import Client
c = Client(profile='default')
c.ids

in a notebook will still output the started engines from the previous session and I can still see them running w/ ps aux.

from ipyparallel.

minrk avatar minrk commented on July 20, 2024

this is fixed in the new clusters extension in 7.0, which is aware of clusters started via any mechanism, be it the extension, ipcluster start, or the new ipp.Cluster API.

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.