Other people's jobs
What HiveBoard shows when you open someone else's job: their folder is read only if the server lets you, asked once, and never swept through in bulk.
In short
- The queue lists everyone's jobs, but HiveBoard reads someone else's job folder only when you open that job.
- It first asks the server once whether you may read the folder; if not, the pane shows only what the queue says.
- After three refusals in a row on a server, it stops reading other people's folders there for 15 minutes.
- The foreign_job_files setting in config.yaml can turn this off for a server, or, in the single-file app, widen it.
The job list can show everyone’s jobs, because the queue is public on a cluster. Folders are not: they belong to the people who made them. So HiveBoard reads someone else’s job folder only when you open that job, and only if the server says you may read it. When you may not, the job pane shows what the queue says about the job and nothing else.
In the job list
Other people’s jobs show — in the Code column, because the list looks inside your own jobs’ folders only: by default, listing other people’s jobs never touches their files. See Code tags and calculation kinds.
Users you name under Highlight users have their jobs starred in the list. That is a display setting only: it does not change which folders HiveBoard reads, nor what it may cancel or delete.
When you open someone else’s job
- HiveBoard asks the server once whether you may read the job’s folder: one small command that tests for read and enter permission, and nothing else.
- If you may, the pane opens as it does for your own jobs, with Overview, Structure, Files, Output and Setup. HiveBoard remembers the answer for 10 minutes.
- If you may not, the pane’s heading names the owner, in the form “This is name’s job.”, and under In the queue it shows the scheduler’s facts: the state, why it is waiting, how long it has run, the time limit, partition, CPUs, nodes, start and user. Only the Overview tab is offered.
Either way, someone else’s job never has Cancel job, Continue or Delete. Those are
only for jobs whose owner is the user you sign in as, checked with whoami on the server; see
Turning on job control.
Why HiveBoard is this careful
On a large shared cluster, a burst of refused reads across other people’s directories is what security monitoring reacts to: it can reset your SSH session a few seconds later, and a two-factor cluster then costs you a fresh code. So HiveBoard:
- looks into someone else’s folder only when you open their job, unless the server is set to
always(below), and never sweeps through many folders at once; - asks once per folder, and remembers the answer;
- stops reading other people’s folders on a server for 15 minutes after three refusals in a row there. Your own jobs are not affected.
The setting: foreign_job_files
How far HiveBoard may go is set per server by foreign_job_files in config.yaml. A server’s
General tab in Connections shows it under Other people’s job folders; to change it,
edit the file.
| Value | The General tab says | What HiveBoard does |
|---|---|---|
never | Never opened | Never reads another person’s folder |
on-demand | Only when you open one | Reads it when you open the job, if allowed |
always | Always | Also tags their jobs in the list |
on-demand is the default. With always, the single-file app also looks at a few of other
people’s folders per refresh to tag their jobs in the list; it still asks first, folder by
folder, and still stops after three refusals.
clusters:
- name: ember
hostname: ember.example.edu
user: zoe
foreign_job_files: never
Folders are stricter
The Folders page opens only folders you own. You can pass
through a shared parent folder, but foreign_job_files does not let you open someone else’s
work there.
Check yourself
2 quick questions on this page. Nothing is sent anywhere.
-
You open a colleague's job and the server says you may not read its folder. What does the pane show?
- Whose job it is, and what the queue says about it
- An error, and the pane closes
- The folder's contents anyway
- Nothing until you sign in again
Show the answer
Whose job it is, and what the queue says about it When the folder cannot be read, the pane names whose job it is and shows the queue's facts, with only the Overview tab.
-
Why does HiveBoard stop for 15 minutes after three refused reads?
- A run of refused reads is what makes a cluster reset your SSH session
- Slurm allows only three reads per quarter hour
- To save your computer's memory
- Because the folder has been deleted
Show the answer
A run of refused reads is what makes a cluster reset your SSH session On large shared clusters a burst of refused reads across other users' directories gets the session reset, so HiveBoard stops well before that.
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.