Project: springxd
Issue XD-3117: Add Logging to ZooKeeperContainerRepository
Occasional CI test build failures: {quote} Caused by: java.lang.IllegalStateException: Container cache not initialized (likely as a result of a ZooKeeper connection error) org.springframework.util.Assert.state(Assert.java:385) org.springframework.xd.dirt.container.store.ZooKeeperContainerRepository.ensureCache(ZooKeeperContainerRepository.java:184) org.springframework.xd.dirt.container.store.ZooKeeperContainerRepository.findOne(ZooKeeperContainerRepository.java:263) {quote} e.g. https://build.spring.io/browse/XD-JDK8-JOB1-1514 Add logging to {{ensureCache()}} (e.g. in {{childEvent()}} ) and {{closeCache()}} to log that the cache was closed; it appears that's the only way the "cache not initialized" message can be emitted.
Story points: 1