What's Batch?
Scenarios
Strengths
Glossary
Quota & Limits
Data Security

"notifications": [{"event_configs": [{"event_name": "JobFailed" // Event name},{"event_name": "JobSucceed","event_vars": [ // Custom event parameter{"name": "jobSucceed","value": "Success"}]}],"topic_name": "job-message" // CMQ topic name}],

{"Events": [{"EventVersion": "1.0","EventTime": "2018-06-15T14:43:17Z","Region": "ap-guangzhou","Batch": {"ComputeNodeId": "node-0iy7wxyo","EnvId": "env-ptoxdb1t","ComputeNodeState": "CREATED","Mem": 8,"ResourceCreatedTime": "2018-06-15T14:43:18Z","EnvName": "batch-env","ComputeNodeInstanceId": "ins-9rikj9kw","Cpu": 4},"EventName": "COMPUTE_NODE_CREATED","EventVars": []}]}
Type | Description |
JOB_RUNNING | Job is running |
JOB_SUCCEED | Job succeeded |
JOB_FAILED | Job failed |
JOB_FAILED_INTERRUPTED | Job is interrupted due to failure |
TASK_RUNNING | Task is running |
TASK_SUCCEED | Task succeeded |
TASK_FAILED | Task failed |
TASK_FAILED_INTERRUPTED | Task is interrupted due to failure |
TASK_INSTANCE_RUNNING | Task instance is running |
TASK_INSTANCE_SUCCEED | Task instance succeeded |
TASK_INSTANCE_FAILED | Task instance failed |
TASK_INSTANCE_FAILED_INTERRUPTED | Task instance is interrupted due to failure |
Type | Description |
COMPUTE_ENV_CREATED | Compute environment created |
COMPUTE_ENV_DELETED | Compute environment deleted |
COMPUTE_NODE_CREATED | Compute node successfully created |
COMPUTE_NODE_CREATION_FAILED | Compute node creation failed |
COMPUTE_NODE_RUNNING | Compute node is running |
COMPUTE_NODE_ABNORMAL | Compute node is abnormal |
COMPUTE_NODE_DELETING | Deleting compute node |
피드백