获取一个任务的详细配置和运行时信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
paidlc:GetJob |
get |
*全部资源
|
无 | 无 |
请求语法
GET /api/v1/jobs/{JobId} HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| JobId |
string |
是 |
任务 ID。如何获取任务 ID,请参见 ListJobs 。 |
dlc******* |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| NeedDetail |
boolean |
否 |
是否返回作业详情信息,默认为 true |
true |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
JSON 格式的字符串。 |
||
| JobId |
string |
任务 ID。 |
dlc******* |
| JobType |
string |
任务类型。由 CreateJob API 中的 JobType 指定。 |
TFJob |
| DisplayName |
string |
任务名称。 |
tf-mnist-test |
| UserId |
string |
任务提交人的阿里云 UID。 |
12********* |
| Status |
string |
任务运行状态,可能值:
|
Stopped |
| WorkspaceId |
string |
任务所属工作空间 ID。 |
268 |
| WorkspaceName |
string |
任务所属工作空间名称。 |
dlc-workspace |
| ResourceId |
string |
任务运行所在的资源组 ID。 |
r****** |
| ResourceLevel |
string |
任务运行时使用的资源级别。 |
L0 |
| ReasonCode |
string |
状态详情码,对当前状态(Status)下的子状态的一个分类。 |
JobStoppedByUser |
| ReasonMessage |
string |
状态详情的详细描述。 |
Job is stopped by user. |
| JobSpecs |
array |
任务中的节点配置,参考 CreateJob API 中的 JobSpecs。 |
|
| JobSpec |
描述一种节点类型的详细配置。 |
||
| UserCommand |
string |
每个节点的启动命令。 |
python /root/code/mnist.py |
| DataSources |
array<object> |
数据源列表。 |
|
|
object |
数据源。 |
||
| DataSourceId |
string |
数据源 ID。 |
d******* |
| MountPath |
string |
本地挂载路径,可选参数,默认为空(表示使用数据源中挂载路径)。 |
/mnt/data/ |
| Uri |
string |
数据源路径 |
oss://bucket.oss-cn-hangzhou-internal.aliyuncs.com/path/ |
| CodeSource |
object |
代码源。 |
|
| CodeSourceId |
string |
代码源 ID。 |
code****** |
| Branch |
string |
代码分支。 |
master |
| Commit |
string |
代码 CommitID。 |
44da109b59f8596152987eaa8f3b2487xxxxxx |
| MountPath |
string |
本地挂载路径。 |
/mnt/data |
| ThirdpartyLibs |
array |
需要安装的 Python 三方库列表。 |
|
|
string |
第三方 Python 库。 |
numpy==1.16.1 |
|
| ThirdpartyLibDir |
string |
三方库(requirements.txt)文件所在文件夹。 |
/root/code/ |
| Envs |
object |
环境变量配置。 |
{"ENABLE_DEBUG_MODE":"true"} |
|
string |
环境变量 Key 和 Value。 |
ENABLE_DEBUG_MODE |
|
| UserVpc |
object |
用户 VPC |
|
| VpcId |
string |
用户 VPC 的 id |
vpc-abcdef**** |
| SwitchId |
string |
用户交换机的 id |
vs-abcdef**** |
| SecurityGroupId |
string |
用户安全组的 id |
sg-abcdef**** |
| ExtendedCidrs |
array |
扩展网段,示例:192.168.0.1/24 |
|
|
string |
扩展网段 |
192.168.0.1/24 |
|
| DefaultRoute |
string |
默认路由。此参数只在通用计算资源下有效,取值如下: eth0:表示使用默认网卡,通过公共网关访问外部网络。 eth1:表示使用用户弹性网卡,通过私有网关访问外部网络。 |
eth0 |
| GmtCreateTime |
string |
任务创建时间(UTC)。 |
2021-01-12T14:35:01Z |
| GmtSubmittedTime |
string |
任务提交到集群的时间(UTC)。 |
2021-01-12T14:36:01Z |
| GmtRunningTime |
string |
任务开始运行的时间(UTC)。 |
2021-01-12T14:36:21Z |
| GmtSuccessedTime |
string |
任务正常结束的时间(UTC)。 |
2021-01-12T15:36:08Z |
| GmtStoppedTime |
string |
任务停止的时间(UTC)。 |
2021-01-12T15:36:08Z |
| GmtFailedTime |
string |
任务运行失败的时间(UTC)。 |
2021-01-12T15:36:08Z |
| Duration |
integer |
任务运行时长,单位:秒。 |
3602 |
| Pods |
array<object> |
任务运行中的所有节点。 |
|
|
array<object> |
节点数组。 |
||
| Type |
string |
节点类型,与 CreateJob 中的 JobSpecs 中的某个 JobSpec 对应。 |
Worker |
| PodId |
string |
节点 ID,可用于 GetPodLogs 和 GetPodEvents API 获取节点的详细日志和事件。 |
Worker |
| PodUid |
string |
Pod UID。 |
fe846462-af2c-4521-bd6f-96787a57591d |
| Status |
string |
节点状态。可能值:
|
Running |
| Ip |
string |
节点的网络 IP 地址。 |
10.0.1.2 |
| GmtCreateTime |
string |
Pod 创建时间(UTC)。 |
2021-01-12T14:36:01Z |
| GmtStartTime |
string |
节点启动时间(UTC)。 |
2021-01-12T14:36:01Z |
| GmtFinishTime |
string |
节点结束时间(UTC)。 |
2021-01-12T15:36:05Z |
| HistoryPods |
array<object> |
历史 Pods。 |
|
|
object |
历史 Pod 数组。 |
||
| Type |
string |
Pod 类型。 |
Worker |
| PodId |
string |
Pod ID。 |
Worker |
| PodUid |
string |
Pod UID。 |
fe846462-af2c-4521-bd6f-96787a57591d |
| Status |
string |
Pod 状态。 |
Failed |
| Ip |
string |
Pod IP。 |
10.0.1.3 |
| GmtCreateTime |
string |
Pod 创建时间(UTC)。 |
2021-01-12T14:36:01Z |
| GmtStartTime |
string |
Pod 启动时间(UTC)。 |
2021-01-12T14:36:01Z |
| GmtFinishTime |
string |
Pod 结束时间(UTC)。 |
2021-01-12T14:36:01Z |
| SubStatus |
string |
Pod 子状态,例如抢占状态。取值如下:
|
Normal |
| ResourceType |
string |
Pod 资源使用类型。 |
Normal |
| Duration |
number |
Pod 运行时长 |
0 |
| NodeName |
string |
节点名称 |
i-a |
| PodIps |
array |
Pod 的 IP 地址 |
|
| PodNetworkInterface |
每张网卡对应的 IP 地址 |
||
| supportedProfilingTypes |
string |
支持的 Profiling 类型列表,逗号分隔,如 sysom。空串表示不支持。 |
sysom |
| SubStatus |
string |
Pod 子状态,例如抢占状态。取值如下:
|
Normal |
| ResourceType |
string |
Pod 资源使用类型。 |
Normal |
| Duration |
number |
Pod 运行时长 |
0 |
| NodeName |
string |
节点名称 |
i-a |
| PodIps |
array |
Pod 的 IP 地址 |
|
| PodNetworkInterface |
每张网卡对应的 IP 地址 |
||
| supportedProfilingTypes |
string |
支持的 Profiling 类型列表,逗号分隔,如 sysom。空串表示不支持。 |
sysom |
| RequestId |
string |
请求 ID,用于诊断和答疑。 |
473469C7-AA6F-4DC5-B3DB-xxxxxxxx |
| Settings | JobSettings |
作业额外参数配置。 |
|
| ClusterId |
string |
集群 ID。 |
a***** |
| ElasticSpec | JobElasticSpec |
弹性任务参数。 |
|
| EnabledDebugger |
boolean |
是否开启 debugger 任务。 |
false |
| Priority |
integer |
任务的优先级。可能值为 1~9。 |
1 |
| SubStatus |
string |
作业子状态,例如抢占重试状态。 |
Restarting |
| RestartTimes |
string |
作业已使用的重试次数和最大重试次数。 |
0/10 |
| StatusHistory |
array |
历史状态。 |
|
| StatusTransitionItem |
历史状态。 |
||
| TenantId |
string |
租户 ID。 |
GAR***W134 |
| ResourceType |
string |
资源类型,可选值:ECS,Lingjun,ACS |
ECS |
| CredentialConfig | CredentialConfig |
访问凭证配置。 |
|
| Accessibility |
string |
任务的可见性,取值如下:
|
PRIVATE |
| RestartRecord |
array<object> |
作业重启记录 |
|
|
array<object> |
作业重启记录 |
||
| DetailErrorInfoList |
array<object> |
错误信息列表 |
|
|
object |
错误信息 |
||
| AddJobLevelBlacklist |
boolean |
作业黑名单 |
|
| AddNodeToBlacklist |
boolean |
节点黑名单 |
|
| DetailErrorMsg |
string |
详细错误信息 |
The training process exited with a non-zero status. |
| ErrorCode |
string |
错误码 |
|
| ErrorMsg |
string |
错误信息 |
Training process exited unexpectedly. |
| ErrorSource |
string |
错误源 |
|
| Node |
string |
节点 |
i-a |
| Pod |
string |
实例 |
dlc-example-master-0 |
| TriggerRestart |
boolean |
是否触发重启 |
|
| JobRestartCount |
integer |
作业重启次数 |
0 |
| OccurPhase |
string |
发生的阶段 |
|
| OccurTime |
string |
发生的时间 |
2026-11-01T00:00:00Z |
| Reason |
string |
原因 |
Training process exited unexpectedly. |
| RestartDurationInSec |
integer |
重启时间 |
0 |
| RestartFailReason |
string |
重启失败原因 |
Timed out waiting for the replacement pod. |
| RestartStatus |
string |
重启状态 |
|
| TriggerID |
string |
TriggerID |
trigger-example-001 |
| RestartLevelType |
string |
重启级别(Pod 级别重启/Job 级别重启) |
|
| JobReplicaStatuses |
array |
作业副本状态 |
|
| JobReplicaStatus |
作业副本状态 |
||
| GmtFinishTime |
string |
任务结束时间(UTC)。 |
2021-01-12T15:36:08Z |
| CustomEnvs |
array<object> |
自定义环境变量列表。 |
|
|
object |
|||
| Key |
string |
环境变量名称。 |
PUB |
| Value |
string |
环境变量的值。 |
keep |
| Visible |
string |
环境变量的可见性;public 表示公开,private 表示私密。 |
public |
| RoleSystemEnvs |
object |
按任务角色分组的系统环境变量。 |
{"Worker":{"OMP_NUM_THREADS":"4"}} |
|
object |
指定角色的系统环境变量键值表。 |
{"OMP_NUM_THREADS":"4"} |
|
|
string |
系统环境变量的值。 |
4 |
|
| Description |
string |
任务的描述。 |
This is a training job |
| SchedulingStrategy |
string |
调度策略配置 枚举值:
|
Auto |
| supportedProfilingTypes |
string |
支持的 Profiling 类型列表,逗号分隔,如 sysom。空串表示不支持。 |
sysom |
| RequestCPU |
integer |
job 所需的 CPU 资源量 |
10 |
| RequestGPU |
number |
job 所需的 GPU 资源量 |
10 |
| RequestMemory |
number |
job 所需的内存资源量 |
10 |
示例
正常返回示例
JSON格式
{
"JobId": "dlc*******",
"JobType": "TFJob",
"DisplayName": "tf-mnist-test",
"UserId": "12*********",
"Status": "Stopped",
"WorkspaceId": "268",
"WorkspaceName": "dlc-workspace",
"ResourceId": "r******",
"ResourceLevel": "L0",
"ReasonCode": "JobStoppedByUser",
"ReasonMessage": "Job is stopped by user.",
"JobSpecs": [
{
"AssignNodeSpec": {
"AntiAffinityHyperNodes": [
{
"HyperNodeName": "mg1234567",
"NodeNames": "lingjxxxxxxxx"
}
],
"AntiAffinityNodeNames": "lingjxxxxxxxx",
"EnableAssignNode": true,
"HyperNodes": [
{
"HyperNodeName": "mg1234567",
"NodeNames": "lingjxxxxxxxx"
}
],
"NodeNames": "lingjxxxxxxxx"
},
"AutoScalingSpec": {
"AutoscalingMetricSpec": {
"MetricName": "POD_CPU_UTIL",
"StabilizationWindowSeconds": 60,
"TargetValue": 80,
"Tolerance": "0.1"
},
"MaxReplicas": 10,
"MinReplicas": 1,
"PodsToDelete": [
"pod-a"
],
"ScalingStrategy": "Default"
},
"ConsiderInSuccessPolicy": true,
"Driver": "535.54.03",
"EcsSpec": "ecs.c6.large",
"ElasticSpotSpecs": [
{
"InstanceType": "ecs.gn6e-c12g1.3xlarge",
"SpotDiscountLimit": 0.8,
"SpotPriceLimit": 0.4744,
"SpotStrategy": "SpotWithPriceLimit"
}
],
"ExtraPodSpec": {
"InitContainers": [
{
"Args": [
"-v"
],
"Command": [
"curl www.aliyun.com"
],
"Env": [
{
"Name": "ENABLE_DEBUG",
"Value": "true"
}
],
"Image": "registry.cn-hangzhou.aliyuncs.com/pai-dlc/curl:v1.0.0",
"Name": "data-init",
"Resources": {
"Limits": {
"key": "{'cpu': '1', 'memory': '1000Mi'}"
},
"Requests": {
"key": "{'cpu': '1', 'memory': '1000Mi'}"
}
},
"SecurityContext": {
"Capabilities": {
"Add": [
"NET_ADMIN"
],
"Drop": [
"NET_ADMIN"
]
},
"Privileged": true,
"RunAsGroup": 1000,
"RunAsUser": 1000,
"SeccompProfile": {
"LocalhostProfile": "my-profiles/profile-allow.json",
"Type": "Unconfined"
}
},
"WorkingDir": "/root"
}
],
"Lifecycle": {
"PostStart": {
"Exec": {
"Command": [
"echo"
]
}
},
"PreStop": {
"Exec": {
"Command": [
"/bin/sh"
]
}
}
},
"MainContainerSecurityContext": {
"Capabilities": {
"Add": [
"NET_ADMIN"
],
"Drop": [
"NET_ADMIN"
]
},
"Privileged": true,
"RunAsGroup": 1000,
"RunAsUser": 1000,
"SeccompProfile": {
"LocalhostProfile": "my-profiles/profile-allow.json",
"Type": "Unconfined"
}
},
"PodAnnotations": {
"key": "example-annotation"
},
"PodLabels": {
"key": "example-lable"
},
"SharedVolumeMountPaths": [
"/root/share/"
],
"SideCarContainers": [
{
"Args": [
"-v"
],
"Command": [
"curl www.aliyun.com"
],
"Env": [
{
"Name": "ENABLE_DEBUG",
"Value": "true"
}
],
"Image": "registry.cn-hangzhou.aliyuncs.com/pai-dlc/curl:v1.0.0",
"Name": "data-init",
"Resources": {
"Limits": {
"key": "{'cpu': '1', 'memory': '1000Mi'}"
},
"Requests": {
"key": "{'cpu': '1', 'memory': '1000Mi'}"
}
},
"SecurityContext": {
"Capabilities": {
"Add": [
"NET_ADMIN"
],
"Drop": [
"NET_ADMIN"
]
},
"Privileged": true,
"RunAsGroup": 1000,
"RunAsUser": 1000,
"SeccompProfile": {
"LocalhostProfile": "my-profiles/profile-allow.json",
"Type": "Unconfined"
}
},
"WorkingDir": "/root"
}
]
},
"HyperNodeSchedulingConfig": {
"MinAvailable": 1,
"QualityPolicy": "AlwaysRequire"
},
"Image": "registry-vpc.cn-hangzhou.aliyuncs.com/cloud-dsw/tensorflow:1.12PAI-gpu-py36-cu101-ubuntu18.04",
"ImageConfig": {
"Auth": "",
"DockerRegistry": "docker****registry.com",
"Password": "password",
"Username": " username"
},
"IsCheif": true,
"IsChief": true,
"LocalMountSpecs": [
{
"LocalPath": "/local/a",
"MountMode": "Filesystem",
"MountPath": "/mnt/data"
}
],
"OversoldType": "AcceptQuotaOverSold",
"PodCount": 1,
"QuotaId": "quota12345",
"ResourceConfig": {
"CPU": "10",
"GPU": "3",
"GPUType": "Tesla-V100-16G",
"Memory": "10Gi",
"SharedMemory": "5Gi"
},
"RestartPolicy": "ExitCode",
"ServiceSpec": {
"DefaultPort": 8080,
"ExtraPorts": [
8081
],
"ServiceMode": "PerRole"
},
"SpotSpec": {
"SpotDiscountLimit": 0.8,
"SpotPriceLimit": 0.4744,
"SpotStrategy": "SpotWithPriceLimit"
},
"StartupDependencies": [
{
"MinReplicas": "1",
"OnPhase": "ServiceReady",
"Type": "Worker"
}
],
"SystemDisk": {
"Category": "cloud_essd",
"PerformanceLevel": "PL1",
"Size": 200
},
"Type": "Worker",
"UseSpotInstance": false,
"UserCommand": "python train.py"
}
],
"UserCommand": "python /root/code/mnist.py",
"DataSources": [
{
"DataSourceId": "d*******",
"MountPath": "/mnt/data/",
"Uri": "oss://bucket.oss-cn-hangzhou-internal.aliyuncs.com/path/"
}
],
"CodeSource": {
"CodeSourceId": "code******",
"Branch": "master",
"Commit": "44da109b59f8596152987eaa8f3b2487xxxxxx",
"MountPath": "/mnt/data"
},
"ThirdpartyLibs": [
"numpy==1.16.1"
],
"ThirdpartyLibDir": "/root/code/",
"Envs": {
"key": "ENABLE_DEBUG_MODE"
},
"UserVpc": {
"VpcId": "vpc-abcdef****",
"SwitchId": "vs-abcdef****",
"SecurityGroupId": "sg-abcdef****",
"ExtendedCidrs": [
"192.168.0.1/24"
],
"DefaultRoute": "eth0"
},
"GmtCreateTime": "2021-01-12T14:35:01Z",
"GmtSubmittedTime": "2021-01-12T14:36:01Z",
"GmtRunningTime": "2021-01-12T14:36:21Z",
"GmtSuccessedTime": "2021-01-12T15:36:08Z",
"GmtStoppedTime": "2021-01-12T15:36:08Z",
"GmtFailedTime": "2021-01-12T15:36:08Z",
"Duration": 3602,
"Pods": [
{
"Type": "Worker",
"PodId": "Worker",
"PodUid": "fe846462-af2c-4521-bd6f-96787a57591d",
"Status": "Running",
"Ip": "10.0.1.2",
"GmtCreateTime": "2021-01-12T14:36:01Z",
"GmtStartTime": "2021-01-12T14:36:01Z",
"GmtFinishTime": "2021-01-12T15:36:05Z",
"HistoryPods": [
{
"Type": "Worker",
"PodId": "Worker",
"PodUid": "fe846462-af2c-4521-bd6f-96787a57591d",
"Status": "Failed",
"Ip": "10.0.1.3",
"GmtCreateTime": "2021-01-12T14:36:01Z",
"GmtStartTime": "2021-01-12T14:36:01Z",
"GmtFinishTime": "2021-01-12T14:36:01Z",
"SubStatus": "Normal",
"ResourceType": "Normal",
"Duration": 0,
"NodeName": "i-a",
"PodIps": [
{
"InterfaceName": "eth0",
"Ip": "10.0.1.2"
}
],
"supportedProfilingTypes": "sysom"
}
],
"SubStatus": "Normal",
"ResourceType": "Normal",
"Duration": 0,
"NodeName": "i-a",
"PodIps": [
{
"InterfaceName": "eth0",
"Ip": "10.0.1.2"
}
],
"supportedProfilingTypes": "sysom"
}
],
"RequestId": "473469C7-AA6F-4DC5-B3DB-xxxxxxxx",
"Settings": {
"BusinessUserId": "16****",
"Caller": "SilkFlow",
"Tags": {
"key": "key:value"
},
"PipelineId": "pid-12****",
"EnableTideResource": true,
"EnableErrorMonitoringInAIMaster": false,
"ErrorMonitoringArgs": "--enable-log-hang-detection true",
"EnableRDMA": true,
"EnableOssAppend": true,
"OversoldType": "AcceptQuotaOverSold",
"AdvancedSettings": {
"vm.max_map_count": "262144"
},
"Driver": "535.54.03",
"EnableSanityCheck": true,
"SanityCheckArgs": "--sanity-check-timing=AfterJobFaultTolerant --sanity-check-timeout-ops=MarkJobFail",
"JobReservedMinutes": 30,
"JobReservedPolicy": "Always",
"EnableCPUAffinity": true,
"DisableEcsStockCheck": false,
"AllocateAllRDMADevices": false,
"EnableDSWDev": false,
"DataJuicerConfig": {
"ExecutionMode": "standalone",
"CommandType": "config",
"EnableResourceEstimation": true,
"ResourceLimit": {
"CPU": "2",
"Memory": "10Gi",
"GPU": "20"
}
},
"ModelConfig": {
"ModelName": "model_a",
"ModelTemplate": {
"ModelName": "Qwen3-VL-32B-Instruct-PAI_template",
"Provider": "pai",
"Collections": "QuickStartTemplate"
}
},
"AllowUnschedulableNodes": false,
"Shell": "/bin/bash",
"TerminationGracePeriodSeconds": 60,
"ElasticSpotJobMaxRestartTimes": 5,
"EnableIntraJobSSH": true,
"CrossAccountVpcs": [
{
"VpcId": "vpc-xxx",
"SwitchId": "vsw-xxx",
"SecurityGroupId": "sg-xxx",
"DefaultRoute": "eth1",
"RoleChain": "[\n {\n \"roleType\":\"service\",\n \"roleArn\":\"acs:ram::服务账号uid:role/roletoassumecustomerrole\"\n \"assumeRoleFor\": \"服务账号uid\"\n },\n {\n \"roleType\":\"service\",\n \"roleArn\":\"acs:ram::终端用户uid:role/user-role\",\n \"assumeRoleFor\":\"终端用户uid\"\n }\n]",
"ExtendedCIDRs": [
"192.168.0.0/24"
]
}
]
},
"ClusterId": "a*****",
"ElasticSpec": {
"EnableElasticTraining": true,
"MinParallelism": 1,
"MaxParallelism": 8,
"AIMasterType": "ecs.c6.large",
"AIMasterDockerImage": "registry/aimaster:v1",
"EnablePsJobElasticWorker": true,
"EnableAIMaster": true,
"EnablePsResourceEstimate": true,
"EnablePsJobElasticPS": true,
"PSMinParallelism": 4,
"PSMaxParallelism": 10,
"ElasticStrategy": "chief",
"EnableEDP": true,
"EDPMaxParallelism": 16,
"EDPMinParallelism": 8
},
"EnabledDebugger": false,
"Priority": 1,
"SubStatus": "Restarting",
"RestartTimes": "0/10",
"StatusHistory": [
{
"Status": "Running",
"StartTime": "2020-11-08T16:00:00Z",
"EndTime": "2020-11-08T17:00:00Z",
"ReasonCode": "JobStoppedByUser",
"ReasonMessage": "Job is stopped by user."
}
],
"TenantId": "GAR***W134",
"ResourceType": "ECS",
"CredentialConfig": {
"EnableCredentialInject": true,
"AliyunEnvRoleKey": "0",
"CredentialConfigItems": [
{
"Key": "0",
"Type": "RoleChain",
"Roles": [
{
"RoleArn": "acs:ram::1872xxxxxxxxx:role/account-pai-prod",
"RoleType": "service",
"AssumeRoleFor": "123456",
"Policy": "{\"Version\":\"1\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"oss:GetObject\"],\"Resource\":[\"acs:oss:*:*:example-bucket/data/*\"]}]}",
"AssumeUserInfo": {
"SecurityToken": "CAISexample****SecurityToken",
"AccessKeyId": "LTAI5tExample****KeyId1234",
"Type": "sub",
"Id": "203610320085271232"
}
}
]
}
]
},
"Accessibility": "PRIVATE",
"RestartRecord": [
{
"DetailErrorInfoList": [
{
"AddJobLevelBlacklist": true,
"AddNodeToBlacklist": true,
"DetailErrorMsg": "The training process exited with a non-zero status.",
"ErrorCode": "",
"ErrorMsg": "Training process exited unexpectedly.",
"ErrorSource": "",
"Node": "i-a",
"Pod": "dlc-example-master-0",
"TriggerRestart": true
}
],
"JobRestartCount": 0,
"OccurPhase": "",
"OccurTime": "2026-11-01T00:00:00Z",
"Reason": "Training process exited unexpectedly.",
"RestartDurationInSec": 0,
"RestartFailReason": "Timed out waiting for the replacement pod.",
"RestartStatus": "",
"TriggerID": "trigger-example-001",
"RestartLevelType": ""
}
],
"JobReplicaStatuses": [
{
"Type": "Worker",
"Active": 0,
"EstimatedPodCount": 2,
"EstimatedAutoScalingSpec": {
"AutoscalingMetricSpec": {
"MetricName": "POD_CPU_UTIL",
"StabilizationWindowSeconds": 60,
"TargetValue": 80,
"Tolerance": "0.1"
},
"MaxReplicas": 10,
"MinReplicas": 1,
"PodsToDelete": [
"pod-a"
],
"ScalingStrategy": "Default"
},
"EstimatedResourceConfig": {
"CPU": "10",
"GPU": "3",
"GPUType": "Tesla-V100-16G",
"Memory": "10Gi",
"SharedMemory": "5Gi"
},
"Queuing": 0,
"Dequeued": 0,
"CurrentSpotInstanceType": "ecs.gn6e-c12g1.3xlarge"
}
],
"GmtFinishTime": "2021-01-12T15:36:08Z",
"CustomEnvs": [
{
"Key": "PUB",
"Value": "keep",
"Visible": "public"
}
],
"RoleSystemEnvs": {
"key": {
"key": "4"
}
},
"Description": "This is a training job",
"SchedulingStrategy": "Auto",
"supportedProfilingTypes": "sysom",
"RequestCPU": 10,
"RequestGPU": 10,
"RequestMemory": 10
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。