-
Notifications
You must be signed in to change notification settings - Fork 20
v2.0.2 CTR process runs indefinitely #60
Comments
This issue is on CTR v2.0 line (builds on SCT v2.0), though. #58 relates to SCT v2.1, however. |
These are separate issues. |
Hello @Rostish,
This graph was constructed after reviewing your log and deriving the basic flow of what you were trying to run. Can you see a difference in my test case above and what you are executing? |
@cppwfs Good day for you! i pass next arguments via REST Client launch command: And i pass next arguments via DSL(in your example you didn't use any arguments in DSL): a little example:
And the main difference in executed tasks, i use my custom task for all executions. It has next bootstrap.yaml(i use consul):
I could try to debug CTR by my self. Could you share your metodology for me? Or i just need to download sources of CTR and try start it like you using java -jar command. |
Are you including |
I will try after holidays in my country. |
I was able reproduce it somewhat. |
I had to go to work to check this))). About docker. It looks like another bug, because i use docker only for SCDF-local deployment. And then use volume command to move custom tasks to container folder. |
I'm glad that this resolved this issue for you. A brief discussion on the parameter can be found here: https://docs.spring.io/spring-cloud-task/docs/current-SNAPSHOT/reference/htmlsingle/#features-lifecycle CTR uses ThreadPoolTaskExecutor to manage splits in the graph, and thus the context remains open beyond the scope of the task. Thus this setting closes the context upon the completion in CTR. As of the release of CTR 2.1 the closeContextEnabled will be set by default. |
As a user, while orchestrating a deeply nested-graph on CTR v2.0.2, I'm noticing that the CTR process continues to run even after successfully executing all the steps with exit-code=0. This behavior is not observed while using v2.0.0 release.
See spring-cloud/spring-cloud-dataflow#2667 for more details.
The text was updated successfully, but these errors were encountered: