lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsilgalis <vsilga...@gmail.com>
Subject Java.net.socketexception: broken pipe Solr 4.10.2
Date Tue, 14 Apr 2015 04:06:33 GMT
We upgraded recently to Solr 4.10.2 from 4.2.1 and have been seeing errors
regarding the dreaded broken pipe when doing our reindexing of all our
content.

Specifically:
ERROR - 2015-04-13 17:09:12.310;
org.apache.solr.update.StreamingSolrServers$1; error
java.net.SocketException: Broken pipe
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
        at
org.apache.http.impl.io.AbstractSessionOutputBuffer.write(AbstractSessionOutputBuffer.java:181)
        at
org.apache.http.impl.io.ChunkedOutputStream.flushCacheWithAppend(ChunkedOutputStream.java:124)
        at
org.apache.http.impl.io.ChunkedOutputStream.write(ChunkedOutputStream.java:181)
        at
org.apache.solr.common.util.FastOutputStream.flush(FastOutputStream.java:214)
        at
org.apache.solr.common.util.FastOutputStream.write(FastOutputStream.java:84)
        at
org.apache.solr.common.util.JavaBinCodec.writeStr(JavaBinCodec.java:586)
        at
org.apache.solr.common.util.JavaBinCodec.writePrimitive(JavaBinCodec.java:661)
        at
org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:240)
        at
org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:153)
        at
org.apache.solr.common.util.JavaBinCodec.writeSolrInputDocument(JavaBinCodec.java:424)
        at
org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:274)
        at
org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:153)
        at
org.apache.solr.common.util.JavaBinCodec.writeMapEntry(JavaBinCodec.java:509)
        at
org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:294)
        at
org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:153)
        at
org.apache.solr.common.util.JavaBinCodec.writeIterator(JavaBinCodec.java:450)
        at
org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:282)
        at
org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:153)
        at
org.apache.solr.common.util.JavaBinCodec.writeNamedList(JavaBinCodec.java:148)
        at
org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:242)
        at
org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:153)
        at
org.apache.solr.common.util.JavaBinCodec.marshal(JavaBinCodec.java:96)
        at
org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec.marshal(JavaBinUpdateRequestCodec.java:83)
        at
org.apache.solr.client.solrj.impl.BinaryRequestWriter.write(BinaryRequestWriter.java:108)
        at
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner$1.writeTo(ConcurrentUpdateSolrServer.java:186)
        at
org.apache.http.entity.EntityTemplate.writeTo(EntityTemplate.java:69)
        at
org.apache.http.entity.HttpEntityWrapper.writeTo(HttpEntityWrapper.java:89)
        at
org.apache.http.impl.client.EntityEnclosingRequestWrapper$EntityWrapper.writeTo(EntityEnclosingRequestWrapper.java:108)
        at
org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:117)
        at
org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:265)
        at
org.apache.http.impl.conn.ManagedClientConnectionImpl.sendRequestEntity(ManagedClientConnectionImpl.java:203)
        at
org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:236)
        at
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
        at
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682)
        at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486)
        at
org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
        at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
        at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
        at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
        at
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner.run(ConcurrentUpdateSolrServer.java:233)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

which in turn leads to:
WARN  - 2015-04-13 17:09:53.586;
org.apache.solr.update.processor.DistributedUpdateProcessor; Error sending
update
java.net.SocketException: Broken pipe
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
        at
org.apache.http.impl.io.AbstractSessionOutputBuffer.write(AbstractSessionOutputBuffer.java:181)
        at
org.apache.http.impl.io.ChunkedOutputStream.flushCacheWithAppend(ChunkedOutputStream.java:124)
        at
org.apache.http.impl.io.ChunkedOutputStream.write(ChunkedOutputStream.java:181)
        at
org.apache.solr.common.util.FastOutputStream.flush(FastOutputStream.java:214)
        at
org.apache.solr.common.util.FastOutputStream.write(FastOutputStream.java:84)
        at
org.apache.solr.common.util.JavaBinCodec.writeStr(JavaBinCodec.java:586)
        at
org.apache.solr.common.util.JavaBinCodec.writePrimitive(JavaBinCodec.java:661)
        at
org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:240)
        at
org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:153)
        at
org.apache.solr.common.util.JavaBinCodec.writeSolrInputDocument(JavaBinCodec.java:424)
        at
org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:274)
        at
org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:153)
        at
org.apache.solr.common.util.JavaBinCodec.writeMapEntry(JavaBinCodec.java:509)
        at
org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:294)
        at
org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:153)
        at
org.apache.solr.common.util.JavaBinCodec.writeIterator(JavaBinCodec.java:450)
        at
org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:282)
        at
org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:153)
        at
org.apache.solr.common.util.JavaBinCodec.writeNamedList(JavaBinCodec.java:148)
        at
org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:242)
        at
org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:153)
        at
org.apache.solr.common.util.JavaBinCodec.marshal(JavaBinCodec.java:96)
        at
org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec.marshal(JavaBinUpdateRequestCodec.java:83)
        at
org.apache.solr.client.solrj.impl.BinaryRequestWriter.write(BinaryRequestWriter.java:108)
        at
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner$1.writeTo(ConcurrentUpdateSolrServer.java:186)
        at
org.apache.http.entity.EntityTemplate.writeTo(EntityTemplate.java:69)
        at
org.apache.http.entity.HttpEntityWrapper.writeTo(HttpEntityWrapper.java:89)
        at
org.apache.http.impl.client.EntityEnclosingRequestWrapper$EntityWrapper.writeTo(EntityEnclosingRequestWrapper.java:108)
        at
org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:117)
        at
org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:265)
        at
org.apache.http.impl.conn.ManagedClientConnectionImpl.sendRequestEntity(ManagedClientConnectionImpl.java:203)
        at
org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:236)
        at
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
        at
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682)
        at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486)
        at
org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
        at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
        at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
        at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
        at
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner.run(ConcurrentUpdateSolrServer.java:233)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

and then these:
WARN  - 2015-04-13 17:09:53.612; org.apache.solr.cloud.ZkController; Leader
is publishing core=index coreNodeName =node3 state=down on behalf of
un-reachable replica http://<ip>:8080/solr/index/; forcePublishState? false
ERROR - 2015-04-13 17:09:53.622;
org.apache.solr.update.processor.DistributedUpdateProcessor; Setting up to
try to start recovery on replica http://<ip>:8080/solr/index/ after:
java.net.SocketExcept
ion: Broken pipe






--
View this message in context: http://lucene.472066.n3.nabble.com/Java-net-socketexception-broken-pipe-Solr-4-10-2-tp4199484.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message