These states are never set and maybe could be deleted:
UNKNOWN_SUBMITTED: Recently submitted job, jobState is unknown (submitted jobs are actually set to HOLD, QUEUED or FAILED)
UNKNOWN_READOUT, UNSTARTED, FAILED_POSSIBLE
(if they are required for Roddy document that they are not set by BE and users don't have to handle them)
For these states the documentation could be improved:
FAILED: BEJob has failed: this is only used when an error occurred while submitting the job
OK: BEJob was ok: this seems to be used by array head jobs only? It is not exactly clear what ok means (maybe use COMPLETED_SUCCESSFULLY if the cluster scheduler can return whether a job was successful?)
These states are never set and maybe could be deleted:
UNKNOWN_SUBMITTED: Recently submitted job, jobState is unknown
(submitted jobs are actually set toHOLD
,QUEUED
orFAILED
)UNKNOWN_READOUT
,UNSTARTED
,FAILED_POSSIBLE
(if they are required for Roddy document that they are not set by BE and users don't have to handle them)For these states the documentation could be improved:
FAILED: BEJob has failed
: this is only used when an error occurred while submitting the jobOK: BEJob was ok
: this seems to be used by array head jobs only? It is not exactly clear what ok means (maybe useCOMPLETED_SUCCESSFULLY
if the cluster scheduler can return whether a job was successful?)ABORTED