Project: springxd
Issue XD-2170: NoNodeException for job creation
The following exception was encountered by a few parties: for example https://gopivotal-com.socialcast.com/messages/21678398 {noformat} ERROR LeaderSelector-0 leader.LeaderSelector - The leader threw an exception org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /xd/deployments/jobs/NNNN/modules org.apache.zookeeper.KeeperException.create(KeeperException.java:111) org.apache.zookeeper.KeeperException.create(KeeperException.java:51) org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1586) org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:214) org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:203) org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107) org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:199) org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:191) org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:38) org.springframework.xd.dirt.server.JobDeploymentListener.recalculateJobStates(JobDeploymentListener.java:197) org.springframework.xd.dirt.server.DeploymentSupervisor$LeaderListener.takeLeadership(DeploymentSupervisor.java:389) 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:745) {noformat} No specific details on reproducing yet; although the Socialcast thread indicates: {quote} I only hit this when I have tried to deploy a job that fails deployment the first time {quote}
Story points: 5