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/06/28 08:03:20 UTC

[GitHub] [dolphinscheduler] wq557520 opened a new issue, #10651: [Bug] [ProcessService] ProcessService.findTaskDefinition(code,version) retun TooManyResultException:selectOne(), but found :2

wq557520 opened a new issue, #10651:
URL: https://github.com/apache/dolphinscheduler/issues/10651

   ### 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
   
    执行任务的时候,有任务流实例,但是任务实例一直不运行,查看后台日志发现错误:
   ![image](https://user-images.githubusercontent.com/34291309/176126416-9f0faf05-6f4a-4119-9a39-78d83b9dac2d.png)
   
   ### What you expected to happen
   
   希望可以正常调度
   
   ### How to reproduce
   
   偶发
   
   ### Anything else
   
   我加了一个唯一索引解决:
   ALTER TABLE `t_ds_task_definition_log` DROP INDEX `idx_code_version`, ADD UNIQUE `idx_code_version` (`code`, `version`) COMMENT '';
   
   ### Version
   
   2.0.5
   
   ### Are you willing to submit PR?
   
   - [ ] 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


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #10651: [Bug] [ProcessService] ProcessService.findTaskDefinition(code,version) retun TooManyResultException:selectOne(), but found :2

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10651:
URL: https://github.com/apache/dolphinscheduler/issues/10651#issuecomment-1168377503

   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


Re: [I] [Bug] [ProcessService] ProcessService.findTaskDefinition(code,version) retun TooManyResultException:selectOne(), but found :2 [dolphinscheduler]

Posted by "ygq010718 (via GitHub)" <gi...@apache.org>.
ygq010718 commented on issue #10651:
URL: https://github.com/apache/dolphinscheduler/issues/10651#issuecomment-1987851838

   selectOne异常在3.2.0出现了,但是是因为别的原因,你有遇到过吗


-- 
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] SbloodyS closed issue #10651: [Bug] [ProcessService] ProcessService.findTaskDefinition(code,version) retun TooManyResultException:selectOne(), but found :2

Posted by GitBox <gi...@apache.org>.
SbloodyS closed issue #10651: [Bug] [ProcessService] ProcessService.findTaskDefinition(code,version) retun TooManyResultException:selectOne(), but found :2
URL: https://github.com/apache/dolphinscheduler/issues/10651


-- 
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 #10651: [Bug] [ProcessService] ProcessService.findTaskDefinition(code,version) retun TooManyResultException:selectOne(), but found :2

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10651:
URL: https://github.com/apache/dolphinscheduler/issues/10651#issuecomment-1168377253

   ### 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
   
    When the task is executed, there is a task flow instance, but the task instance has not been running. Check the background log and find the error:
   ![image](https://user-images.githubusercontent.com/34291309/176126416-9f0faf05-6f4a-4119-9a39-78d83b9dac2d.png)
   
   ### What you expected to happen
   
   Hope it can be scheduled normally
   
   ### How to reproduce
   
   Occasional
   
   ### Anything else
   
   I added a unique index to solve:
   ALTER TABLE `t_ds_task_definition_log` DROP INDEX `idx_code_version`, ADD UNIQUE `idx_code_version` (`code`, `version`) COMMENT '';
   
   ### Version
   
   2.0.5
   
   ### Are you willing to submit PR?
   
   - [ ] 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] SbloodyS commented on issue #10651: [Bug] [ProcessService] ProcessService.findTaskDefinition(code,version) retun TooManyResultException:selectOne(), but found :2

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #10651:
URL: https://github.com/apache/dolphinscheduler/issues/10651#issuecomment-1168384368

   Dupliated with #9058.


-- 
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