Project: springxd
Issue XD-1547: clean up dead entries in ZooKeeper /xd/deployments/modules
When starting and stopping xd containers there are entries left in the /xd/deployments/modules directory that will cause 'runtime modules' command to fail. xd:>runtime modules Command failed org.springframework.xd.rest.client.impl.SpringXDException: java.lang.RuntimeException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /xd/deployments/modules/5201ac3f-e952-48a2-a807-4f0bb2dab82b/test.sink.hdfs-1/metadata here the "/xd/deployments/modules/5201ac3f-e952-48a2-a807-4f0bb2dab82b" container is no longer running, but there is some data left over.
Story points: 3