Skip to content

Bokeh Task Stream doesn't get cleared after a client.restart() #2253

Closed

Description

@dhirschfeld

As it says in the title. Ideally for me a client.restart() would clear the previous tasks.

If the current behaviour is as intended I'm fine with that, I'm just opening this issue in case the current behaviour isn't intended.

Activity

  1. mrocklin commented on Sep 17, 2018

    @mrocklin
    Member
  2. dhirschfeld commented on Sep 17, 2018

    @dhirschfeld
    ContributorAuthor

    I see it as starting from a clean slate equivalent to creating a new cluster but with less hassle.

    The Client.restart method kills all workers, flushes all scheduler state, and then brings all workers back online, resulting in a clean cluster.

    The docs above seem to suggest that old state (tasks) aren't left lying around.

    For me, when I do restart I don't want the clutter of what happened previously left lying around so I can focus on what it's doing now. As mentioned, not a big deal. It just seems that other dashboards were cleared but not the tasks one so I wondered if that was an oversight.

  3. mrocklin commented on Sep 17, 2018

    @mrocklin
    Member
  4. dhirschfeld commented on Sep 17, 2018

    @dhirschfeld
    ContributorAuthor

    Isn't that what happens by default, if you don't reset your cluster? i.e. If you want the task history, don't reset your cluster; if you want a clean history call reset?

    Is there some usecase where you would want to reset the cluster but still keep the task history?

  5. mrocklin commented on Sep 17, 2018

    @mrocklin
    Member
  6. dhirschfeld commented on Sep 17, 2018

    @dhirschfeld
    ContributorAuthor

    Just that it can clutter the task view with history I don't care about - e.g.
    image

    I want to see what happened in my most recent run but because the old run is kept around each task in the task stream appears infinitesimally small making it hard to extract any useful information visually.

  7. dhirschfeld commented on Sep 17, 2018

    @dhirschfeld
    ContributorAuthor

    ...just realised I can use the box zoom to get the view I want.

    Also, it's a bit strange - sometimes a run will immediately show me a blown up view of just the latest tasks and sometimes it includes the history with all the whitespace. Since I can just zoom it doesn't matter much.

    Edit: What threw me off was that zoom wasn't the default, but that's just me not taking a proper look at the tools before opening an issue

  8. dhirschfeld commented on Sep 17, 2018

    @dhirschfeld
    ContributorAuthor

    Since it seem this is intended I'll close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions