-
Notifications
You must be signed in to change notification settings - Fork 582
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
The task configured as boot2 application cannot be executed in SCDF 2.11.0 RC1
.
#5459
Comments
Can you share with us the steps that you took to register the Boot 2 application with spring cloud dataflow? |
Executed |
Hello @cppwfs, thank you for reply first. I registered the boot 2 application through the following proccess.
|
After several registrations and deletions, we confirmed that the container was running with the correct arguments.
|
When you created the application did you include the Spring Cloud Task as a dependency and add the @EnableTask annotations? |
Hi @21kyu , So did the issue go away? Or are you still seeing problems? Thanks |
Yes, that's right, all spring batch applications used in SCDF have the @EnableTask annotation added. |
Hi @onobc , Yes, it's working fine for now. Can I close this issue? Thank you. |
Thanks for confirming @21kyu , |
Closing as cannot reproduce. |
Description:
application: Spring Batch 4
task: Consists of a single application
dataflow: 2.11.0-RC1
env: k8s
When I try to run a task, the following error pop-up occurs.
PreparedStatementCallback; SQL [INSERT INTO BOOT3_TASK_EXECUTION_METADATA (ID, TASK_EXECUTION_ID, TASK_EXECUTION_MANIFEST) VALUES (?, ?, ?)]; ERROR: insert or update on table "boot3_task_execution_metadata" violates foreign key constraint "boot3_task_metadata_fk" Detail: Key (task_execution_id)=(66) is not present in table "boot3_task_execution".; nested exception is org.postgresql.util.PSQLException: ERROR: insert or update on table "boot3_task_execution_metadata" violates foreign key constraint "boot3_task_metadata_fk" Detail: Key (task_execution_id)=(66) is not present in table "boot3_task_execution".
Is this a bug? or did I miss some setting?
Release versions:
2.11.0-RC1
The text was updated successfully, but these errors were encountered: