spring-attic / spring-cloud-dataflow-server-yarn

Spring Cloud Data Flow Implementation for Apache YARN
http://cloud.spring.io/spring-cloud-dataflow-server-yarn/
Apache License 2.0
15 stars 34 forks source link

Problem with creating composed taks. #173

Closed StanislavSerdiuk closed 6 years ago

StanislavSerdiuk commented 6 years ago

Hello. I have a problem when trying to create composed task, as shown below: image

I get generated defenition for composed task: demoTask 'COMPLETED'->demoTask1 'FAILED'->demoTask3 && demoTask1 && demoTask2. After pushing button "Create", I get error "duplicate app name. Use a label to ensure uniqueness". Let's adding lables: demoTask 'COMPLETED'->lable1:demoTask1 'FAILED'->demoTask3 && lable2:demoTask1 && demoTask2. And we will get graph as shown below: image

As we can see graphs completely different and other attempts to shift componets are wrong too. I can not create composed task that i want initially. Is it possible to do this? My goal is to execute some sequence of tasks after "Transition" block.

cppwfs commented 6 years ago

In this case the 3rd graph works as expected with Composed Tasks. However I do see what you are saying. So for this I created the issue: https://github.com/spring-cloud/spring-cloud-dataflow/issues/2077 that will modify the syntax to support a way to resolve the issue you presented.