Solved! ubuntu has an entry like this in /etc/hosts 127.0.1.1 <hostname>
to properly run solrcloud one must substitute 127.0.1.1 with a real (possibly permanent) ip address Il giorno 12/gen/2015, alle ore 12:47, Matteo Grolla ha scritto: > Hi, > hope someone can help me troubleshoot this issue. > I'm trying to setup a solrcloud cluster with > > -zookeeper on 192.168.1.8 (osx mac) > -solr1 on 192.168.1.10 (virtualized ubuntu running on mac) > -solr2 on 192.168.1.3 (ubuntu on another pc) > > the problem is that both nodes register on zookeeper as 127.0.1.1 so they > appear as the same node > here's a message from solr log > > 5962 [zkCallback-2-thread-1] INFO org.apache.solr.cloud.DistributedQueue – > LatchChildWatcher fired on path: /overseer/queue state: SyncConnected type > NodeChildrenChanged > 5965 [OverseerStateUpdate-93130698829725696-127.0.1.1:8983_solr-n_0000000000] > INFO org.apache.solr.cloud.Overseer – Update state numShards=2 message={ > "operation":"state", > "core_node_name":"core_node1", > "numShards":"2", > "shard":"shard1", > "roles":null, > "state":"active", > "core":"collection1", > "collection":"collection1", > "node_name":"127.0.1.1:8983_solr", > "base_url":"http://127.0.1.1:8983/solr"} > > > I'm able to run the cluster if I change jetty.port to one of the nodes, but > I'd really like some help troubleshooting this issue. > > Thanks