ExplainingApel: Difference between revisions

From T2B Wiki
Jump to navigation Jump to search
(Created page with "= From HTCondor job history files to batch and blah files = Each time a job is finished, a job record is created in the directory /var/lib/condor/history. Thanks to a systemd timer, every hour, a script is run to parse these history records and to generate the blah and batch files from them. The blah and batch files are created in the directory /var/lib/condor-ce/apel.")
 
No edit summary
Line 1: Line 1:
= From HTCondor job history files to batch and blah files =
= From HTCondor job history files to batch and blah files =
Each time a job is finished, a job record is created in the directory /var/lib/condor/history.
Each time a job is finished, a job record is created in the directory '''/var/lib/condor/history'''.


Thanks to a systemd timer, every hour, a script is run to parse these history records and to generate the blah and batch files from them. The blah and batch files are created in the directory /var/lib/condor-ce/apel.
Thanks to a systemd timer (see '''/usr/lib/systemd/system/condor-ce-apel.timer'''), every hour, a script ('''/usr/share/condor-ce/condor_ce_apel.sh''') is run to parse these history records and to generate the blah and batch files from them via the script '''/usr/share/condor-ce/condor_batch_blah.py'''. The blah and batch files are created in the directory '''/var/lib/condor-ce/apel'''. If for some reason, it fails to parse an history file, this file is moved to the subdirectory '''quarantine'''. Otherwise, it is removed.

Revision as of 14:40, 16 July 2024

From HTCondor job history files to batch and blah files

Each time a job is finished, a job record is created in the directory /var/lib/condor/history.

Thanks to a systemd timer (see /usr/lib/systemd/system/condor-ce-apel.timer), every hour, a script (/usr/share/condor-ce/condor_ce_apel.sh) is run to parse these history records and to generate the blah and batch files from them via the script /usr/share/condor-ce/condor_batch_blah.py. The blah and batch files are created in the directory /var/lib/condor-ce/apel. If for some reason, it fails to parse an history file, this file is moved to the subdirectory quarantine. Otherwise, it is removed.