Re: SolrCloud 5.2.1 - collection creation error

2018-04-03 Thread bondinthepond
Hi Aaron GIbbons, Need you help. What were the changes you did with the scripts in zookeeper machine. I am stuck with similar problem. Thanks in Advance. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: SolrCloud 5.2.1 - collection creation error

2015-07-23 Thread Upayavira
Yay! On Thu, Jul 23, 2015, at 10:13 PM, Aaron Gibbons wrote: > Ah, now we're on to something! Solr 4.10.0 is also using the same > zookeepers, and both are using Oracle Java 8 JRE. > > Did some research and uploaded a new config to zookeeper using chroot to > isolate them. Changed the init scrip

Re: SolrCloud 5.2.1 - collection creation error

2015-07-23 Thread Aaron Gibbons
Ah, now we're on to something! Solr 4.10.0 is also using the same zookeepers, and both are using Oracle Java 8 JRE. Did some research and uploaded a new config to zookeeper using chroot to isolate them. Changed the init script to have ZK_Host="zk1,zk2,zk3/DevConfigs". I did see that you should b

Re: SolrCloud 5.2.1 - collection creation error

2015-07-23 Thread Upayavira
Hmmm, what other Solr nodes do you have connected to Zookeeper? Are any of them running a different Java or Solr version? It looks like you have another node connected to your Zookeeper that has taken the role of "overseer" and it is sending back serialized java objects that your own node cannot h

Re: SolrCloud 5.2.1 - collection creation error

2015-07-23 Thread Aaron Gibbons
I originally started using Ansible playbooks which did install the JDK (with the same error), but have been doing manual installs to take Ansible completely out of the equation. Safari wasn't giving showing the XML response so I ran this in Chrome.. http://XX.X.XX.XXX:8983/solr/admin/collections?a

Re: SolrCloud 5.2.1 - collection creation error

2015-07-23 Thread Upayavira
Have you tried it with a JDK? I tend to use JDK rather than JRE, but don't recall whether this is a specific requirement for Solr. Can you show the URL you use for the API, and the JSON/XML response you get? I wouldn't expect to see mention of solrj in the API because it isn't used. Just for the r

Re: SolrCloud 5.2.1 - collection creation error

2015-07-23 Thread Aaron Gibbons
*When you run bin/solr you are doing that on the instance itself? * Yes *You show a collections API URL below. Does that fail the same way?* Error from API: 50042java.io.InvalidClassException: org.apache.solr.client.solrj.SolrResponse; local class incompatible: stream classdesc serialVersionUID =

Re: SolrCloud 5.2.1 - collection creation error

2015-07-23 Thread Upayavira
I'd still like to just confirm that you're using the same Java for running Solr and for running bin/solr. When you run bin/solr you are doing that on the instance itself? You show a collections API URL below. Does that fail the same way? Basically, the exception you showed was a SolrJ error. Usi

Re: SolrCloud 5.2.1 - collection creation error

2015-07-23 Thread Aaron Gibbons
I've mainly used Oracle Java 8, but tested 7 also. Typically I'll wipe the machines and start from scratch before installing a different version. The latest attempt followed these steps exactly on each machine: - sudo apt-get install python-software-properties - sudo add-apt-repository ppa

Re: SolrCloud 5.2.1 - collection creation error

2015-07-22 Thread Upayavira
How many versions of Java do you have? I bet the bin/solr script is using SolrJ (i.e. Java) to communicate with Solr itself (also Java), but for some weird reason they are using incompatible Java versions. SolrJ uses Java serialization to communicate with Solr, therefore it must use the same Jars

Re: SolrCloud 5.2.1 - collection creation error

2015-07-22 Thread Aaron Gibbons
Seems like I'm missing something simple here. SolrCloud installs and seems to work fine and the examples work as they should on each individual machine. What I'm trying to do is setup 4 separate Solr machines (Ubuntu 14.04) with 3 external zookeepers (the ones currently being used by our production

Re: SolrCloud 5.2.1 - collection creation error

2015-07-17 Thread Aaron Gibbons
I started from scratch with fresh Ubuntu machines and just wiped them and tried again. I run my Ansible playbook (below) to install Java 8 (Tried Oracle this time and even tried installing it manually) and SolrCloud 5.2.1 as described previously. Solr cloud appears to be working fine but I still g

Re: SolrCloud 5.2.1 - collection creation error

2015-07-16 Thread Erick Erickson
It looks at a glance like you're in "Jar hell" and have one or more jar files from "somewhere else" in your classpath, possibly a jar file from an older Solr or one of the libraries. Best, Erick On Thu, Jul 16, 2015 at 6:17 AM, Aaron Gibbons wrote: > I'm installing SolrCloud 5.2.1 on 4 Ubuntu 14

SolrCloud 5.2.1 - collection creation error

2015-07-16 Thread Aaron Gibbons
I'm installing SolrCloud 5.2.1 on 4 Ubuntu 14.04 machines with 3 external zookeepers. I've installed the solr machines using Ansible following the "Taking Solr to Production" steps. 1. Download 5.2.1 2. Extract installation script 3. Run installation script Then I stop solr and make my