On 2/20/2014 1:41 AM, lalitjangra wrote:
I am using solr 4.6 along with Apache Manifold CF 1.4.1 to index alfresco
cms repository. While indexing alfresco i am getting below error in solr
logs while indexing media content such as image or video.
ERROR - 2014-02-20 12:50:45.108; org.apache.solr.common.SolrException;
null:org.apache.commons.fileupload.FileUploadBase$IOFileUploadException:
Processing of multipart/form-data request failed. early EOF
<snip>
Caused by: org.eclipse.jetty.io.EofException: early EOF
Every time I've seen EofException, it's caused when the client
connection to Solr terminates the TCP connection early, before Solr has
seen the whole request or before Solr has processed it and sends a response.
ManifoldCF probably has the socket timeout configured on its HTTP
client, likely at either 30 or 60 seconds ... but it is taking longer
than that for the request to complete. Based on where the exception
occurs, it sounds like it is during file upload, before Solr even
finishes receiving the file.
Thanks,
Shawn