Ankit Gautam
Ankit Gautam

Reputation: 129

Spring batch master is waiting but worker startup failed in remote partitioning

I am stuck in a scenario in spring batch job remote partitioning where master started successfully but worker failed to start.The job is deployed on Aws batch , so master is waiting indefinitely for workers to finish since worker cannot comeup. Can anyone suggest me the way to handle such scenario. I dont want my master node to wait till timeout has occured.

Upvotes: 0

Views: 137

Answers (1)

Mahmoud Ben Hassine
Mahmoud Ben Hassine

Reputation: 31600

The manager is configurable with a timeout to fail if workers do not reply in time. So it won't wait indefinitely.

And if that happens, the job instance will fail and you can either:

  • restart it (only failed partitions will be restarted)
  • or abandon it and start a new instance.

Upvotes: 1

Related Questions