You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/07/19 01:52:50 UTC
[GitHub] [dolphinscheduler] Weipleasure opened a new issue, #11035: [Bug] [Master] org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[264] - state handle error: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
Weipleasure opened a new issue, #11035:
URL: https://github.com/apache/dolphinscheduler/issues/11035
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened
版本2.0.5提交一个工作流后,只生成了工作流实例,没有生成task实例,查看master报错日志如下:
[INFO] 2022-07-19 09:29:46.625 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[301] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: SUCCESS task instance id: 379862 process instance id: 66858 context: null
[INFO] 2022-07-19 09:29:46.627 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[378] - work flow 66858 task 379862 state:SUCCESS
[ERROR] 2022-07-19 09:29:46.632 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[264] - state handle error:
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at org.apache.dolphinscheduler.dao.utils.DagHelper.skipTaskNode4Switch(DagHelper.java:409)
at org.apache.dolphinscheduler.dao.utils.DagHelper.parseSwitchTask(DagHelper.java:398)
at org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:303)
at org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:322)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:902)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskFinished(WorkflowExecuteThread.java:409)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskStateChangeHandler(WorkflowExecuteThread.java:362)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.stateEventHandler(WorkflowExecuteThread.java:312)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.handleEvents(WorkflowExecuteThread.java:260)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:241)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
### What you expected to happen
提交工作流后,生成工作流实例,生成task任务实例,task正常运行
### How to reproduce
创建工作流后,提交工作流运行。
### Anything else
_No response_
### Version
2.0.5
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [Master] org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[264] - state handle error: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 [dolphinscheduler]
Posted by "qingzheguo-flash (via GitHub)" <gi...@apache.org>.
qingzheguo-flash commented on issue #11035:
URL: https://github.com/apache/dolphinscheduler/issues/11035#issuecomment-3441878947
I have the same problem with dolphinscheduler 2.0.3, any updates?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] closed issue #11035: [Bug] [Master] org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[264] - state handle error: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #11035: [Bug] [Master] org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[264] - state handle error: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
URL: https://github.com/apache/dolphinscheduler/issues/11035
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11035: [Bug] [Master] org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[264] - state handle error: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11035:
URL: https://github.com/apache/dolphinscheduler/issues/11035#issuecomment-1188507968
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened
After submitting a workflow in version 2.0.5, only a workflow instance is generated, and no task instance is generated. Check the master error log as follows:
[INFO] 2022-07-19 09:29:46.625 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[301] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: SUCCESS task instance id: 379862 process instance id: 66858 context: null
[INFO] 2022-07-19 09:29:46.627 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[378] - work flow 66858 task 379862 state:SUCCESS
[ERROR] 2022-07-19 09:29:46.632 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[264] - state handle error:
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at org.apache.dolphinscheduler.dao.utils.DagHelper.skipTaskNode4Switch(DagHelper.java:409)
at org.apache.dolphinscheduler.dao.utils.DagHelper.parseSwitchTask(DagHelper.java:398)
at org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:303)
at org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:322)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:902)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskFinished(WorkflowExecuteThread.java:409)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskStateChangeHandler(WorkflowExecuteThread.java:362)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.stateEventHandler(WorkflowExecuteThread.java:312)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.handleEvents(WorkflowExecuteThread.java:260)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:241)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
### What you expected to happen
After submitting the workflow, a workflow instance is generated, a task task instance is generated, and the task runs normally
### How to reproduce
After the workflow is created, submit the workflow to run.
### Anything else
_No response_
### Version
2.0.5
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11035: [Bug] [Master] org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[264] - state handle error: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11035:
URL: https://github.com/apache/dolphinscheduler/issues/11035#issuecomment-1220105388
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11035: [Bug] [Master] org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[264] - state handle error: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11035:
URL: https://github.com/apache/dolphinscheduler/issues/11035#issuecomment-1229058891
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11035: [Bug] [Master] org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[264] - state handle error: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11035:
URL: https://github.com/apache/dolphinscheduler/issues/11035#issuecomment-1188508092
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
* In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
* If you haven't received a reply for a long time, you can [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org