lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bidisha Banerjee (Created) (JIRA)" <>
Subject [jira] [Created] (SOLR-2967) StreamingUpdateSolrServer Error
Date Wed, 14 Dec 2011 01:24:30 GMT
StreamingUpdateSolrServer Error

                 Key: SOLR-2967
             Project: Solr
          Issue Type: Bug
          Components: update
    Affects Versions: 1.4
         Environment: Unix
            Reporter: Bidisha Banerjee
            Priority: Minor

Hi,I am using Solr-1.4.0 version. Whenever I am trying you run a full Solr index, I get intermittent
error as shown below and the numdocs in Statistics section does not reflect the exact count
of index documents.(The amount of data is 1004384). Sometimes I get this error and sometimes

The queue size is 200 and thread is 20. I initialize StreamingUpdateSolr server as:
servers.add(new StreamingUpdateSolrServer(serverUrl,200,20));

I am using the following code for commit:
For StreamingUpdateSolrServer:
//UpdateRequest req;
//req.setAction(ACTION.COMMIT, true, false);
// StreamingUpdateSolrServer.request(req);

For SolrServer:
//UpdateResponse response = server.add(documents);                
//UpdateResponse commitResp = server.commit();

The error:
ERROR StreamingUpdateSolrServer:259 - error
java.lang.Exception: Service Temporarily Unavailable

Service Temporarily Unavailable

request: http://<localhost>>/solr/testCOre/update
	at org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer$
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$


Also I get the following error in /update section of Solr admin page:
handlerStart : 1321903404556
requests : 68200
errors : 806
timeouts : 0
totalTime : 707909202
avgTimePerRequest : 10379.9
avgRequestsPerSecond : 0.0355129 

Sometimes I get this error:
12:24:13,066  INFO HttpMethodDirector:439 - I/O exception ( caught
when processing request: Broken pipe
12:24:13,066  INFO HttpMethodDirector:445 - Retrying request
12:24:13,067 ERROR StreamingUpdateSolrServer:259 - error
org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing request can not
be repeated.
	at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(
	at org.apache.commons.httpclient.HttpMethodBase.writeRequest(
	at org.apache.commons.httpclient.HttpMethodBase.execute(
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(
	at org.apache.commons.httpclient.HttpClient.executeMethod(
	at org.apache.commons.httpclient.HttpClient.executeMethod(
	at org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer$
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$

It would be great if you could let me know a probable fix for this. It is also difficult to
debug as the error is intermittent.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message