Apologies... I was using 4.1 in solr server and 4.0 in solrj client which caused this problem.
./zahoor On 13-Feb-2013, at 4:08 PM, J Mohamed Zahoor <[email protected]> wrote: > Hi > > I think the > > "router":"compositeId" > > value inside the cluster state is creating this problem. > > ./Zahoor > > > On 13-Feb-2013, at 4:06 PM, J Mohamed Zahoor <[email protected]> wrote: > >> >> I am using Solr 4.0. >> >> ./zahoor >> >> >> On 13-Feb-2013, at 3:56 PM, J Mohamed Zahoor <[email protected]> wrote: >> >>> Hi >>> >>> I was trying to connect to solr cloud using CloudServer, I get the >>> following exception. >>> I tried clearing the zookeeper state and then restarting the solr >>> instances, still i get the same exception. >>> am i missing something? >>> >>> >>> org.apache.solr.common.cloud.ZkStateReader: Updating cluster state from >>> ZooKeeper... >>> Exception in thread "main" java.lang.ClassCastException: java.lang.String >>> cannot be cast to java.util.Map >>> at org.apache.solr.common.cloud.ClusterState.load(ClusterState.java:297) >>> at org.apache.solr.common.cloud.ClusterState.load(ClusterState.java:270) >>> at >>> org.apache.solr.common.cloud.ZkStateReader.createClusterStateWatchersAndUpdate(ZkStateReader.java:274) >>> at >>> org.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:138) >>> >>> >>> >>> ./Zahoor >> >
