0
votes

I am trying to setup and execute the Spring Cloud Tasks Sample of partitioned batch job (https://github.com/spring-cloud/spring-cloud-task/tree/master/spring-cloud-task-samples/partitioned-batch-job) in Spring Cloud Data Flow Server.

But for some reason there are errors in the partitioned job tasks:

A job execution for this job is already running: JobInstance: id=2, version=0, Job=[partitionedJob]

Is the partition job incompatible with Spring Cloud Dataflow server?

1

1 Answers

1
votes

Yes, the sample partitioned batch job is compatible with Spring Cloud Data Flow server and work out of the box so long as:

  • The datasource is either H2 or Mysql.
  • And you are using the Spring Cloud Data Flow Server Local

But it is difficult to diagnose the issue without knowing which Data Flow Server you are using and the database. Also were there any exceptions?