Project: springxd
Issue XD-1900: Batch job is marked as undeployed once computer comes back from hibernation
I have a deployed Batch Job (Single Node Server, running inside STS). My machine goes to sleep. Once I bring it back up I see the following log: {code} 12:57:35,854 ERROR LeaderSelector-5 leader.LeaderSelector - The leader threw an exception java.lang.IllegalArgumentException: Label is required org.springframework.util.Assert.hasText(Assert.java:162) org.springframework.xd.module.ModuleDescriptor$Key.(ModuleDescriptor.java:616) org.springframework.xd.dirt.server.JobDeploymentListener.recalculateJobStates(JobDeploymentListener.java:218) org.springframework.xd.dirt.server.DeploymentSupervisor$LeaderListener.takeLeadership(DeploymentSupervisor.java:354) org.apache.curator.framework.recipes.leader.LeaderSelector$WrappedListener.takeLeadership(LeaderSelector.java:536) org.apache.curator.framework.recipes.leader.LeaderSelector.doWork(LeaderSelector.java:398) org.apache.curator.framework.recipes.leader.LeaderSelector.doWorkLoop(LeaderSelector.java:443) org.apache.curator.framework.recipes.leader.LeaderSelector.access$100(LeaderSelector.java:63) org.apache.curator.framework.recipes.leader.LeaderSelector$2.call(LeaderSelector.java:244) org.apache.curator.framework.recipes.leader.LeaderSelector$2.call(LeaderSelector.java:238) java.util.concurrent.FutureTask.run(FutureTask.java:266) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) java.util.concurrent.FutureTask.run(FutureTask.java:266) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:744) {code} In the UI the job is marked as *undeployed* - however, when I click *deploy* I get an error: *The job named 'bbb' is already deployed*.
Story points: 4