Restrict condor queue polling to current user
It appears that the condor controller currently polls the queued jobs in a rather verbose way. In practice we should only care about jobs belonging to the current user (and ignore jobs of other users who might run a similar analysis on the same cluster!)
Quote from @yangz : I’m wondering if it is possible to change this line:
to:
output = commands.getoutput('condor_q $(whoami) -json -attributes JobBatchName,ClusterId,JobStatus').strip()
in next version of CAFCore?
In our university’s server, condor_q will list all users’ jobs and cause errors when I’m not the only person submitting jobs.
The modification above will fix the issue and I think it won’t affect other people.