Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dataflow-server: Ending a task flow on a certain condition results in an error on task creation #4373

Closed
yoep opened this issue Feb 4, 2021 · 2 comments
Assignees
Labels
type/bug Is a bug report

Comments

@yoep
Copy link

yoep commented Feb 4, 2021

Description:
We're trying to create a task flow which should end when a task application ends on exit status X.
When adding a condition on the flow to the end, the following gets added to the task definition 'X'->$END.
When trying to create this flow, the task definition gets rejected.

The error message which is shown:
The 'task:$END' application could not be found.

Release versions:
2.7.0

Custom apps:
We use custom apps, but they're not directly related to this issue.

Steps to reproduce:

  • Create a multi task application flow in the Dataflow Server UI
  • Let one of the task application flow go to the "end" with a condition
  • Try to create the task
  • The following message is shown: The 'task:$END' application could not be found.

Screenshots:
image

Additional context:
Task definition:

ftp-download: diverse-ftp-scheduler 'NO_FILES_FOUND'->$END && messages-messages-bulk && ftp-upload: diverse-ftp-scheduler

API response:

{
  "_embedded": {
    "errors": [
      {
        "message": "The 'task:$END' application could not be found.",
        "logref": "NoSuchAppRegistrationException",
        "_links": {
          "self": {
            "href": "/"
          }
        }
      }
    ]
  }
}
@github-actions github-actions bot added the status/need-triage Team needs to triage and take a first look label Feb 4, 2021
@yoep yoep changed the title Dataflow-server: Ending a task flow on a certain condition results in an error an task creation Dataflow-server: Ending a task flow on a certain condition results in an error on task creation Feb 4, 2021
@sabbyanandan
Copy link
Contributor

Hi, @yoep. Thanks for the details. We will have a look.

@cppwfs
Copy link
Contributor

cppwfs commented Feb 11, 2021

I was able to reproduce this problem. I've opened up the following issues to resolve this problem.
spring-cloud/spring-cloud-dataflow-ui#1653
spring-cloud/spring-cloud-dataflow-ui#1654
#4387

Thank you for reporting.

@cppwfs cppwfs closed this as completed Feb 11, 2021
@cppwfs cppwfs added type/bug Is a bug report and removed status/need-investigation Oh need to look under a hood labels Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Is a bug report
Projects
None yet
Development

No branches or pull requests

3 participants