@Prakash: Can your please format the body a bit for readability? @Solr-Users: Is anybody else having any problems when running Zookeeper from the latest code in the trunk(4.x)?
On Mon, Nov 7, 2011 at 4:44 PM, prakash chandrasekaran < prakashchandraseka...@live.com> wrote: > > hi all, i followed steps in link > http://wiki.apache.org/solr/SolrCloud#Example_C:_Two_shard_cluster_with_shard_replicas_and_zookeeper_ensembleand > created "Two shard cluster with shard replicas and zookeeper ensemble", > and then for Solr Replication i followed steps in link > http://wiki.apache.org/solr/SolrReplication .. > now after server start, when slave tries to pull data from master .. i m > seeing below error messages .. > org.apache.solr.common.SolrException logSEVERE: > org.apache.solr.common.cloud.ZooKeeperException: ZkSolrResourceLoader does > not support getConfigDir() - likely, what you are trying to do is not > supported in ZooKeeper mode at > org.apache.solr.cloud.ZkSolrResourceLoader.getConfigDir(ZkSolrResourceLoader.java:99) > at > org.apache.solr.handler.ReplicationHandler.getConfFileInfoFromCache(ReplicationHandler.java:378) > at > org.apache.solr.handler.ReplicationHandler.getFileList(ReplicationHandler.java:364) > i have few questions regarding this 1) Does Solr Cloud supports > Replication ??2) or do we need to follow different steps to achieve > Replication in Solr Cloud ?? > > Thanks,prakash > > > From: prakashchandraseka...@live.com > > To: solr-user@lucene.apache.org > > Subject: Zookeeper aware Replication in SolrCloud > > Date: Fri, 4 Nov 2011 03:36:27 +0000 > > > > > > > > hi, > > i m using SolrCloud and i wanted to add Replication feature to it .. > > i followed the steps in Solr Wiki .. but when the client tried to poll > for data from server i got below Error Message .. > > in Master LogNov 3, 2011 8:34:00 PM > > > > in Slave logNov 3, 2011 8:34:00 PM > org.apache.solr.handler.ReplicationHandler doFetchSEVERE: SnapPull failed > org.apache.solr.common.SolrException: Request failed for the url > org.apache.commons.httpclient.methods.PostMethod@18eabf6 at > org.apache.solr.handler.SnapPuller.getNamedListResponse(SnapPuller.java:197) > at org.apache.solr.handler.SnapPuller.fetchFileList(SnapPuller.java:219) > at > org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:281) > at > org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:284) > > but i could see the slave pointing to correct master from link : > http://localhost:7574/solr/replication?command=details > > i m also seeing these values in replication details link .. ( > http://localhost:7574/solr/replication?command=details) > > <arr name="indexReplicatedAtList"><str>Thu Nov 03 20:28:00 PDT > 2011</str><str>Thu Nov 03 20:27:00 PDT 2011</str><str>Thu Nov 03 20:26:00 > PDT 2011</str><str>Thu Nov 03 20:25:00 PDT 2011</str></arr> <arr > name="replicationFailedAtList"> <str>Thu Nov 03 20:28:00 PDT 2011</str> > <str>Thu Nov 03 20:27:00 PDT 2011</str> <str>Thu Nov 03 20:26:00 PDT > 2011</str> <str>Thu Nov 03 20:25:00 PDT 2011</str></arr> > > > > > > Thanks,Prakash >