Job Information
Table 1 job-summary-<Job-Name> ConfigMap
| Parameter | Description | Value |
|---|---|---|
| hccl.json | Chip communication information used by the job. Can be escaped to JSON format, with the following field descriptions:
| String |
| job_id | K8s ID information of the job. | String |
| operator |
| String |
| deleteTime | Time when the job was deleted. | String |
| sharedTorIp | Shared switch information used by the job. | String |
| masterAddr | MASTER_ADDR value specified during PyTorch training. | String |
| total | Number of ConfigMaps. | String |
| time | Job start time. | String |
| framework | Framework used by the job. | String |
| job_status | Job status:
| String |
| job_name | Job name. | String |
| cm_index | Sequence number of the current ConfigMap. | String |
| sid | User-defined job ID | String |
Used to display statistical information of current jobs in the cluster. Detailed information is recorded in the /var/log/mindx-dl/clusterd/event_job.log file. Due to the capacity limit of K8s ConfigMap, the maximum number of cluster jobs supported for statistics is approximately 10,000. When the log file reaches 20 MB, automatic dumping is triggered, and a maximum of 5 dump logs are saved. The maximum retention period for dump logs is 40 days.
| Parameter | Description |
|---|---|
| data | - |
| - ID | Job ID assigned by the K8s cluster. |
| - customID | User-defined Job ID. It is not displayed if the content is empty. |
| - cardNum | Number of cards used by the job. It is not displayed if the content is empty. |
| - podFirstRunTime | Time when all Pods of the job first entered the running state. It is not displayed if the content is empty. |
| - stopTime | Time when all Pods of the job were completed or forcibly deleted. It is not displayed if the content is empty. |
| - podLastRunTime | Time when all Pods of the job last recovered to the running state. It is not displayed if the content is empty. |
| - podLastFaultTime | Time when some or all Pods of the job last failed. It is not displayed if the content is empty. |
| - podFaultTimes | Number of Pod rescheduling times caused by job faults. It is not displayed if the count is 0. |
| totalJob | Total number of jobs in the current cluster. |
This ConfigMap is located in the cluster-system namespace. It is used to display information about jobs with scheduling exceptions in the cluster, helping users quickly locate the causes of job scheduling failures.
Table 7 scheduling-exception-report ConfigMap
| Parameter | Description | Value |
|---|---|---|
| <jobName>.<jobUID> | Key for job exception information, composed of the job name and job UID. | String |
| - jobName | Job Name. | String |
| - jobType | Job type, for example, vcjob, acjob, etc. | String |
| - nameSpace | Namespace where the job resides. | String |
| - conditions | Details of job exception conditions. | Object |
| -- status | Job status.
| String |
| -- reason | Exception reason, including JobEnqueueFailed, JobValidateFailed, NodePredicateFailed, BatchOrderFailed, NotEnoughResources, PodPending, PodFailed, PgNotInitialized, JobNoInitialized, etc. | String |
| -- message | Detailed exception information, including fault description and troubleshooting suggestions. | String |