US 12,423,154 B2
Propagating job contexts to a job execution environment
Xun Pan, Xian (CN); Wen Qing Jin, Xian (CN); Chao Deng, Xian (CN); and Yu Dong Wang, Xian (CN)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Jan. 18, 2022, as Appl. No. 17/648,184.
Prior Publication US 2023/0229515 A1, Jul. 20, 2023
Int. Cl. G06F 9/50 (2006.01); G06F 9/48 (2006.01)
CPC G06F 9/505 (2013.01) [G06F 9/4881 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method in a job management environment comprising a plurality of job systems and a scheduler for scheduling a job submitted to the job management environment to a job system for running, the method comprising:
intercepting, by one or more processing units in a first job system and job context agent, from outside of a first container in the first job system, a first job from being sent to the scheduler;
determining, by one or more processing units in the first job system and the job context agent, whether the first job is submitted from a container in the first job system; and
in response to determining that the first job is submitted from a container in the first job system,
determining, by one or more processing units in the first job system, contexts of the first job, the contexts of the first job including a context related to the first container and includes an ID (identification) of a first user in the first job system submitting the first job and a privilege of the first user in the first job system and
the privilege of the first user in the first job system includes at least one of a mounted network file system accessible to the first user and a mounted local file system in the first job system accessible to the first user, and
sending, by one or more processing units in the first job system, the first job together with the contexts of the first job to the scheduler.