When launching a SCDF task, receiving 'dataflow.BATCH_JOB_SEQ' is not a SEQUENCE
search cancel

When launching a SCDF task, receiving 'dataflow.BATCH_JOB_SEQ' is not a SEQUENCE

book

Article ID: 405871

calendar_today

Updated On:

Products

VMware Tanzu Spring Runtime

Issue/Introduction

Trying to launch our first task and receiving error.  

SCDF is connected to MariaDB version v11.4.5 running in the same namespace.  

Schema was auto generated when we launched the data flow server for the first time.

 

Note that MariaDB provide native support for sequences starting from version 10.3

Environment

  • Spring Cloud Dataflow for Kubernetes v1.6.5

  • AWS EKS

Resolution

To address the original issue of this ticket - "SCDF task, receiving 'dataflow.BATCH_JOB_SEQ' is not a SEQUENCE ",

Any batch job using Boot 2/Batch 3 and 4, the BATCH_JOB_SEQ is supposed to be a table.

Then, any batch job using Boot 3.x/Batch 5.x should be using the BOOT3_BATCH_JOB_SEQ sequence which is an actual sequence.

 

The table-prefix indicates what batch tables will be use

Example environment variable below indicates that application app should be using Spring Boot 3.x/Spring Batch 5.x.

"--spring.batch.jdbc.table-prefix=BOOT3_BATCH_" 

 

Verify and confirm that batch application is using the correct dependencies/libraries. If issue persist, please open a support request.