Feb 212012
 

I setup a Solr Cloud but I’m not quite sure how it works … ๐Ÿ˜€

It seems the problem came from ZooKeeper – the first node which is running ZooKeeper needs to upload configuration files to ZK, so it takes sometime, however, in my rc script I cannot determined the right way to check if the configuration files are there or not in ZK (I do check ZK port, though), so every time if I start from scratch (means clean up everything) if won’t work.

Luckily starting from an empty box is not a common case, and even that’s the case, simple shutdown the cluster (4 solr nodes) and restart it will make everything works.

It seems in real production world, something need to be done to make all nodes coordinate properly, or, better run a standalone ZK cluster (ZooKeeper ensemble).