Re: Invalid Version when slave node pull replication from master node
Whoa! You should _not_ be using replication with SolrCloud. You can use replication just fine with 4.4, just like you would have in 3.x say, but in that case you should not be using the zkHost or zkRun parameters, should not have a ZooKeeper ensemble running etc. In SolrCloud, all updates are routed to all the nodes at index time, otherwise it couldn't support, say, NRT processing. This makes replication not only unnecessary, but I wouldn't want to try to predict what problems that would cause. So keep a sharp distinction between running Solr 4x and SolrCloud. The latter is specifically enabled when you specify zkHost or zkRun when you start Solr as per the SolrCloud page. Best Erick On Wed, Sep 4, 2013 at 11:32 PM, YouPeng Yang yypvsxf19870...@gmail.comwrote: Hi all I solve the problem by add the coreName explicitly according to http://wiki.apache.org/solr/SolrReplication#Replicating_solrconfig.xml. But I want to make sure about that is it necessary to set the coreName explicitly. Is there any SolrJ API to pull the replication on the slave node from the master node? regards 2013/9/5 YouPeng Yang yypvsxf19870...@gmail.com Hi again I'm using Solr4.4. 2013/9/5 YouPeng Yang yypvsxf19870...@gmail.com HI solrusers I'm testing the replication within SolrCloud . I just uncomment the replication section separately on the master and slave node. The replication section setting on the master node: lst name=master str name=replicateAftercommit/str str name=replicateAfterstartup/str str name=confFilesschema.xml,stopwords.txt/str /lst and on the slave node: lst name=slave str name=masterUrlhttp://10.7.23.124:8080/solr/#//str str name=pollInterval00:00:50/str /lst After startup, an Error comes out on the slave node : 80110110 [snapPuller-70-thread-1] ERROR org.apache.solr.handler.SnapPuller ?.Master at: http://10.7.23.124:8080/solr/#/ is not available. Index fetch failed. Exception: Invalid version (expected 2, but 60) or the data in not in 'javabin' format Could anyone help me to solve the problem ? regards
Re: Invalid Version when slave node pull replication from master node
Hi again I'm using Solr4.4. 2013/9/5 YouPeng Yang yypvsxf19870...@gmail.com HI solrusers I'm testing the replication within SolrCloud . I just uncomment the replication section separately on the master and slave node. The replication section setting on the master node: lst name=master str name=replicateAftercommit/str str name=replicateAfterstartup/str str name=confFilesschema.xml,stopwords.txt/str /lst and on the slave node: lst name=slave str name=masterUrlhttp://10.7.23.124:8080/solr/#//str str name=pollInterval00:00:50/str /lst After startup, an Error comes out on the slave node : 80110110 [snapPuller-70-thread-1] ERROR org.apache.solr.handler.SnapPuller ?.Master at: http://10.7.23.124:8080/solr/#/ is not available. Index fetch failed. Exception: Invalid version (expected 2, but 60) or the data in not in 'javabin' format Could anyone help me to solve the problem ? regards
Re: Invalid Version when slave node pull replication from master node
Hi all I solve the problem by add the coreName explicitly according to http://wiki.apache.org/solr/SolrReplication#Replicating_solrconfig.xml. But I want to make sure about that is it necessary to set the coreName explicitly. Is there any SolrJ API to pull the replication on the slave node from the master node? regards 2013/9/5 YouPeng Yang yypvsxf19870...@gmail.com Hi again I'm using Solr4.4. 2013/9/5 YouPeng Yang yypvsxf19870...@gmail.com HI solrusers I'm testing the replication within SolrCloud . I just uncomment the replication section separately on the master and slave node. The replication section setting on the master node: lst name=master str name=replicateAftercommit/str str name=replicateAfterstartup/str str name=confFilesschema.xml,stopwords.txt/str /lst and on the slave node: lst name=slave str name=masterUrlhttp://10.7.23.124:8080/solr/#//str str name=pollInterval00:00:50/str /lst After startup, an Error comes out on the slave node : 80110110 [snapPuller-70-thread-1] ERROR org.apache.solr.handler.SnapPuller ?.Master at: http://10.7.23.124:8080/solr/#/ is not available. Index fetch failed. Exception: Invalid version (expected 2, but 60) or the data in not in 'javabin' format Could anyone help me to solve the problem ? regards