Re: Replicas fail immediately in new collection

2017-02-23 Thread Walter Underwood
I finally figured this out yesterday. Because the jar files have the version in 
the file name, I had a mix of jars from different versions. Depending on the 
load order, Solr could get into a situation where it was calling something that 
didn’t exist.

That was mysterious.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)


> On Feb 23, 2017, at 6:55 AM, Shalin Shekhar Mangar  
> wrote:
> 
> SOLR-9739 changed the writeStr method to accept a CharSequence from
> String in 6.4 so my guess is that your classpath has a newer (6.4+)
> solrj version but an older solr-core jar that cannot find this new
> method.
> 
> On Sat, Feb 18, 2017 at 5:16 AM, Walter Underwood
>  wrote:
>> Any idea why I would be getting this on a brand new, empty collection on the 
>> first update?
>> 
>> HTTP ERROR 500
>> Problem accessing /solr/tutors_shard1_replica9/update. Reason:
>> Server ErrorCaused 
>> by:java.lang.NoSuchMethodError: 
>> org.apache.solr.update.TransactionLog$LogCodec.writeStr(Ljava/lang/String;)V
>>at 
>> org.apache.solr.update.TransactionLog.writeCommit(TransactionLog.java:457)
>> 
>> 
>> wunder
>> Walter Underwood
>> wun...@wunderwood.org
>> http://observer.wunderwood.org/  (my blog)
>> 
>> 
> 
> 
> 
> -- 
> Regards,
> Shalin Shekhar Mangar.



Re: Replicas fail immediately in new collection

2017-02-23 Thread Shalin Shekhar Mangar
SOLR-9739 changed the writeStr method to accept a CharSequence from
String in 6.4 so my guess is that your classpath has a newer (6.4+)
solrj version but an older solr-core jar that cannot find this new
method.

On Sat, Feb 18, 2017 at 5:16 AM, Walter Underwood
 wrote:
> Any idea why I would be getting this on a brand new, empty collection on the 
> first update?
>
> HTTP ERROR 500
> Problem accessing /solr/tutors_shard1_replica9/update. Reason:
> Server ErrorCaused 
> by:java.lang.NoSuchMethodError: 
> org.apache.solr.update.TransactionLog$LogCodec.writeStr(Ljava/lang/String;)V
> at 
> org.apache.solr.update.TransactionLog.writeCommit(TransactionLog.java:457)
>
>
> wunder
> Walter Underwood
> wun...@wunderwood.org
> http://observer.wunderwood.org/  (my blog)
>
>



-- 
Regards,
Shalin Shekhar Mangar.


Replicas fail immediately in new collection

2017-02-17 Thread Walter Underwood
Any idea why I would be getting this on a brand new, empty collection on the 
first update?

HTTP ERROR 500
Problem accessing /solr/tutors_shard1_replica9/update. Reason:
Server ErrorCaused 
by:java.lang.NoSuchMethodError: 
org.apache.solr.update.TransactionLog$LogCodec.writeStr(Ljava/lang/String;)V
at 
org.apache.solr.update.TransactionLog.writeCommit(TransactionLog.java:457)


wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)