OK, I think this is the root of your problem:

bq:  Everything was setup using the - now deprecated - tags <cores>
and <core>  inside solr.xml.

There are a bunch of ways this could go wrong. I'm pretty sure you
have something that would take quite a while to untangle, so unless
you have a _very_ good reason for making this work, I'd blow
everything away.

First stop Zookeeper and all your Solr instances.

If you're using an external Zookeeper shut if off and, 'rm -rf
/tmp/zookeeper'. If using embedded, you can remove zoo_data under your
SOLR_HOME.

Completely remove all of your cores as in 'rm -rf corename' on all the
nodes. Nuke the entries in solr.xml and use the "cloud friendly"
solr.xml, I'd just copy the one in '...4.10/solr/example/solr'''. You
get the idea. Or you can brute-force this and just remove all of Solr
and re-install 4.10.3.

OK, now use the Collections API to create your collection, see:
https://cwiki.apache.org/confluence/display/solr/Collections+API and
go from there (don't forget to push your configs to Zookeeper first)
and go from there.

Note that when I suggest you uninstall/reinstall Solr it's simply
because that's conceptually easier, of course you can spend some time
untangling things with your existing setup, but I really question
whether it's worth the effort.

Best,
Erick

On Thu, Feb 12, 2015 at 11:53 AM, Zisis Tachtsidis <zist...@runbox.com> wrote:
> From the logs I've got one instance failing as described in my first comment
> and the other two failing during PeerSync recovery when trying to
> communicate with the server that was missing the segments_* files. The
> exception follows
>
>
> org.apache.solr.client.solrj.SolrServerException: IOException occured when
> talking to server at: http://server:host/solr/core
>     at
> org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:566)
>     at
> org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
>     at
> org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
>     at
> org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:157)
>     at
> org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:119)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>     at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:745)
> Caused by: org.apache.http.client.ClientProtocolException
>     at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:909)
>     at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
>     at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
>     at
> org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:448)
>     ... 10 more
> Caused by: org.apache.http.ProtocolException: Invalid header: ,code=500}
>     at
> org.apache.http.impl.io.AbstractMessageParser.parseHeaders(AbstractMessageParser.java:232)
>     at
> org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:267)
>     at
> org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
>     at
> org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)
>     at
> org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:191)
>     at
> org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
>     at
> org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
>     at
> org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:713)
>     at
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:518)
>     at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
>     ... 13 more
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Index-directory-containing-only-segments-gen-tp4186045p4186113.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to