Dec 5th, 2012, 04:31 AM
Restart of Spring batch job
We are getting the business exception(Due to external application logic) in spring batch processor and the job execution is getting failed at record number11.
After correcting the business logic in external application.
We are not modifying anything in spring batch job application.Just we are re-executing the same job with same job parameters but we are getting the exception as " Current file size is smaller than size at last commit".
We haven't modified the input file.
After job get the step Execution [StepExecution: id=124, version=2, name=step1, status=FAILED, exitStatus=FAILED, readCount=0, filterCount=0, writeCount=0 readSkipCount=0, writeSkipCount=0, processSkipCount=0, commitCount=0, rollbackCount=0, exitDescription=org.springframework.batch.item.Ite mStreamException: Current file size is smaller than size at last commit
Dec 7th, 2012, 09:51 AM
What version of Spring Batch are you using?
Dec 12th, 2012, 12:58 AM
Am using Spring Batch 2.1.8
Dec 12th, 2012, 10:01 AM
My hunch is that you are running into an issue related to: https://jira.springsource.org/browse/BATCH-1799. Would you be willing to get the latest nightly build and give it a shot?
Tags for this Thread