-
Notifications
You must be signed in to change notification settings - Fork 5k
[Bug] [dolphinscheduler-service] getContentProcessInstance content is empty #7228
Description
Search before asking
- I had searched in the issues and found no similar issues.
What happened
add alert to db , alert: Alert{id=9, title='start process failed', content='[]', alertStatus=null, log='null', alertGroupId=1', createTime=Mon Dec 06 23:14:03 CST 2021, updateTime=null, info={}}
MySQL [honghuo]> select id,title,alert_status,content from t_ds_alert ;
+----+-------------------------+--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id | title | alert_status | content |
+----+-------------------------+--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 1 | Fault tolerance warning | 2 | [{"type":"WORKER","host":"/nodes/worker/default/honghuo-worker-2.honghuo-worker-headless:1234","event":"SERVER_DOWN","warningLevel":"SERIOUS"}] |
| 2 | Fault tolerance warning | 2 | [{"type":"WORKER","host":"/nodes/worker/default/honghuo-worker-2.honghuo-worker-headless:1234","event":"SERVER_DOWN","warningLevel":"SERIOUS"}] |
| 3 | Fault tolerance warning | 2 | [{"type":"WORKER","host":"/nodes/worker/default/honghuo-worker-1.honghuo-worker-headless:1234","event":"SERVER_DOWN","warningLevel":"SERIOUS"}] |
| 4 | Fault tolerance warning | 2 | [{"type":"WORKER","host":"/nodes/worker/default/honghuo-worker-0.honghuo-worker-headless:1234","event":"SERVER_DOWN","warningLevel":"SERIOUS"}] |
| 5 | start process failed | 2 | [] |
| 6 | start process failed | 2 | [] |
| 7 | start process failed | 2 | [] |
| 8 | start process failed | 2 | [] |
| 9 | start process failed | 1 | [] |
| 10 | start process failed | 1 | [] |
| 11 | start process success | 1 | [{"projectId":1,"projectName":"a_dev","owner":"admin","processId":14,"processName":"workflow-3-20211207103829163","processType":"START_PROCESS","processState":"SUCCESS","recovery":"NO","runTimes":1,"processStartTime":"2021-12-07 10:38:29","processEndTime":"2021-12-07 10:38:29","processHost":"honghuo-master-2.honghuo-master-headless:5678","taskId":0,"retryTimes":0}] |
+----+-------------------------+--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
What you expected to happen
content is not empty, []
How to reproduce
create a workflow, create a taskDefinition like shell, add script, echo "123" ; exit 1;
Anything else
content is not empty, []
Version
dev
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct