Finished jobs and the history window
How finished jobs join the job list: the Finished filter, the 7, 14, 30 or 90 day window shared with Statistics, how it is cached, and its limits.
In short
- Finished is a state filter, not a separate view: your jobs that ended in the chosen window appear in the same table as the live queue.
- The window — 7, 14, 30 or 90 days — is one setting shared with Statistics, so the two can never show different periods.
- A wider window costs little: the answer is kept longer the further back it reaches, and a change of window asks for exactly that window.
- When finished jobs cannot be loaded the list says so; it never shows an empty list as if nothing had finished.
A finished job drops out of the scheduler’s queue, but Slurm keeps a record of it in its accounting database, which sacct reads. HiveBoard asks that database for your jobs over a window you choose — the last 7, 14, 30 or 90 days — and lists them in the same table as the live queue, with the same tick boxes, code tags, job pane and comparison. Finished is a state filter, not a separate view.
Seeing finished jobs
- Finished lists your jobs that ended in the window, however they ended: Completed, Failed, Timed out, Out of memory, Cancelled, Node failure.
- All lists the live queue under Running and waiting, then the finished jobs under Finished — last 7d (or the window you chose).
- In the State column’s funnel you can tick just the end states you want, Failed and Timed out for example.
A job that has just ended can still be in the queue for a moment while the scheduler finishes with it. It is listed once, as the queue last saw it.
On the Running view, when nothing of yours is running but some of your jobs ended in the last day, the table says so — for example “3 of your jobs finished in the last day (1 ended badly).” — with See finished.
The history window
The control beside the state chips sets how far back finished jobs go: Last 7d, Last 14d, Last 30 days or Last 90 days. It is shown whenever finished jobs can be in the list, and it is the same control as the window in the Statistics bar: one setting, so the job list and Statistics never show different periods. The labels say which window is in force — the table heading reads “Finished — last 30 days”, and Statistics badges its history panels with the window.
HiveBoard remembers the window between sessions. When the window is empty the table says so — “Nothing finished in the last 7d” — and offers to look further back, for example Look back 14 days.
Why a wider window is cheap
What a finished-jobs query costs is mostly the SSH round trip, not the number of rows. Three things keep a wide window light on the cluster:
| Window | The answer is kept for |
|---|---|
| 7 days | 1 minute |
| 14 or 30 days | 5 minutes |
| 90 days | 15 minutes |
- A job that ended a month ago will never change again, so only the recent edge needs to be fresh: the wider the window, the longer an answer is reused.
- Changing the window asks the server for exactly that window rather than cutting a wider answer down, so “last 7 days” always means one real 7-day query.
- While the list shows finished jobs, they are asked for again about every ten minutes; between those times they come from what HiveBoard already holds.
Limits
- A server’s answer holds at most 5,000 finished jobs for one window.
- The table draws at most 400 rows at a time. Sorting and filtering still cover every job, so search, filter a column or narrow the window to reach the rest (see Filtering and sorting).
Whose finished jobs
Finished jobs are fetched for you and for the users named under Highlight users, and for nobody else. Pick another person and the list says their finished jobs are not loaded, rather than showing “0”. Under Everyone, the heading says “yours and highlighted users’”. See Whose jobs are listed.
When they cannot be loaded
If a server does not give its finished jobs, nothing pretends otherwise:
- At the top of the page, a banner: “Ember — finished jobs could not be loaded, so counts below are incomplete”, with the reason.
- When there are no finished jobs to show at all, the table says under its finished heading “Finished jobs could not be loaded from Ember”, the reason, “Running and waiting jobs are current.”, and offers Try again.
Finished jobs already on screen stay there; a failed read never replaces them with an empty list.
A server that is only waiting for you to sign in is not reported this way; its chip already says Sign in.
Check yourself
2 quick questions on this page. Nothing is sent anywhere.
-
You set the window to Last 90 days in Statistics. What does the Finished view of the job list show?
- The last 90 days — it is one setting for both pages
- Still the last 7 days
- Nothing until HiveBoard is restarted
Show the answer
The last 90 days — it is one setting for both pages The history window is a single setting shared by the job list and Statistics.
-
A server cannot give its finished jobs. What does the list show?
- A note that they could not be loaded, with Try again
- An empty Finished heading
- Nothing for that server, not even its running jobs
Show the answer
A note that they could not be loaded, with Try again A failure is said in words — under the table and in a banner — and the running and waiting jobs stay current.
Try it in the app
On your own computer, with HiveBoard open. Tick them off as you go.
Related
Written for HiveBoard 0.1.7, the version on the download page. Examples use a made-up cluster (Ember) and person (zoe). Something here not what you see? Report it from the app.