-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include proper task overview while running #5
Comments
This is still labelled help wanted and I'm thinking playing around with this, Tbh I haven't use gridcontrol in a long time and almost don't remember how its
together with a summary like the part of an htop window where you see the load Something that I'd usually want to check is whether we can re-use existing
And I'm not sure how you imagine this should be used. Should the overview console There's especially a lot of output when running gbasf2 tasks, because I only |
Thanks for picking this up. The format you are thinking of is even more complicated than I thought. Having the table "too wide" might again make it unreadable on the terminal, so I thought for the beginning let's start with task family, batch status and submission information: how much jobs are running, how much have failed, how many are scheduled etc. I think the most interesting "feature" of this overview would be that it groups jobs together: currently you get a single output log line per job. If you are starting 1000 batch jobs that can be quite confusing :-) Happy to discuss, if you have a different opinion! Concerning the re-usage: not sure we can do so, as currently the luigi process pushes information to the scheduler which are than transformed and shown. Might be possible to re-use bits and pieces but the general logic (the batch stuff) might only be usable with b2luigi |
luigi prints a lot of messages to the screen while running and the important ones (which jobs are finished, which are failed etc.) may get lost.
It would be nice to have kind of a "console overview" like gridcontrol with the current status. The failed tasks could for example be marked with their corresponding log files.
I thought about using a multiprocessing.Queue for sending information on some task.events (e.g. on failure, on creation etc.) as a JSON and read them in later.
One could use the same mechanism also for accessing b2luigi from jupyter notebooks, which would give a very nice additional feature.
The text was updated successfully, but these errors were encountered: