You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jamie Johnson <je...@gmail.com> on 2012/02/09 20:44:48 UTC

SolrCloud on Trunk shard update error

I just ran a test with a very modest cluster (exactly the same as
http://outerthought.org/blog/491-ot.html).  I then indexed 10,000
documents into the cluster.  From what I can tell everything worked
properly but I'm seeing the following errors in the logs.  I'm
randomly choosing the solr instance to write to and the documents are
getting forwarded properly, but I wonder what the exception means and
why it's getting thrown.  Any thoughts?


Feb 9, 2012 2:39:01 PM org.apache.solr.common.SolrException log
SEVERE: shard update error StdNode:
http://jamiesmac:8502/solr/slice1_shard2/:org.apache.solr.common.SolrException:
null  java.lang.NullPointerException

null  java.lang.NullPointerException

request: http://jamiesmac:8502/solr/slice1_shard2/update?wt=javabin&version=2&leader=true&wt=javabin&version=2
	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:433)
	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:251)
	at org.apache.solr.update.SolrCmdDistributor$1.call(SolrCmdDistributor.java:325)
	at org.apache.solr.update.SolrCmdDistributor$1.call(SolrCmdDistributor.java:306)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)

Re: SolrCloud on Trunk shard update error

Posted by Jamie Johnson <je...@gmail.com>.
There is more, but it was lost since I was doing so many inserts.  The
issue looks like it's getting thrown by a custom FilterFactory I have
and is completely unrelated to SolrCloud.  I am trying to confirm now
though.

On Thu, Feb 9, 2012 at 3:03 PM, Mark Miller <ma...@gmail.com> wrote:
> Is that the entire stack trace - no other exception logged?
>
> On Feb 9, 2012, at 2:44 PM, Jamie Johnson wrote:
>
>> I just ran a test with a very modest cluster (exactly the same as
>> http://outerthought.org/blog/491-ot.html).  I then indexed 10,000
>> documents into the cluster.  From what I can tell everything worked
>> properly but I'm seeing the following errors in the logs.  I'm
>> randomly choosing the solr instance to write to and the documents are
>> getting forwarded properly, but I wonder what the exception means and
>> why it's getting thrown.  Any thoughts?
>>
>>
>> Feb 9, 2012 2:39:01 PM org.apache.solr.common.SolrException log
>> SEVERE: shard update error StdNode:
>> http://jamiesmac:8502/solr/slice1_shard2/:org.apache.solr.common.SolrException:
>> null  java.lang.NullPointerException
>>
>> null  java.lang.NullPointerException
>>
>> request: http://jamiesmac:8502/solr/slice1_shard2/update?wt=javabin&version=2&leader=true&wt=javabin&version=2
>>       at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:433)
>>       at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:251)
>>       at org.apache.solr.update.SolrCmdDistributor$1.call(SolrCmdDistributor.java:325)
>>       at org.apache.solr.update.SolrCmdDistributor$1.call(SolrCmdDistributor.java:306)
>>       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>>       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>       at java.lang.Thread.run(Thread.java:680)
>
> - Mark Miller
> lucidimagination.com
>
>
>
>
>
>
>
>
>
>
>

Re: SolrCloud on Trunk shard update error

Posted by Mark Miller <ma...@gmail.com>.
Is that the entire stack trace - no other exception logged?

On Feb 9, 2012, at 2:44 PM, Jamie Johnson wrote:

> I just ran a test with a very modest cluster (exactly the same as
> http://outerthought.org/blog/491-ot.html).  I then indexed 10,000
> documents into the cluster.  From what I can tell everything worked
> properly but I'm seeing the following errors in the logs.  I'm
> randomly choosing the solr instance to write to and the documents are
> getting forwarded properly, but I wonder what the exception means and
> why it's getting thrown.  Any thoughts?
> 
> 
> Feb 9, 2012 2:39:01 PM org.apache.solr.common.SolrException log
> SEVERE: shard update error StdNode:
> http://jamiesmac:8502/solr/slice1_shard2/:org.apache.solr.common.SolrException:
> null  java.lang.NullPointerException
> 
> null  java.lang.NullPointerException
> 
> request: http://jamiesmac:8502/solr/slice1_shard2/update?wt=javabin&version=2&leader=true&wt=javabin&version=2
> 	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:433)
> 	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:251)
> 	at org.apache.solr.update.SolrCmdDistributor$1.call(SolrCmdDistributor.java:325)
> 	at org.apache.solr.update.SolrCmdDistributor$1.call(SolrCmdDistributor.java:306)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:680)

- Mark Miller
lucidimagination.com