Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1113

Error reports from ExtractingRequestHandler and Co do not indicate name of rejected documents

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: update
    • Labels:
      None

      Description

      The ExtractingRequestHandler rejects documents that are larger than the configured multipartUploadLimitInKB in solrconfig.xml. None of the generated error messages indicate the name of the rejected document or provide any way of identifying the rejected document. The failure to identify the rejected document complicates the middleware used to look after indexes.

      Here is the trace produced by a recent version of trunk.

      SEVERE: org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (4585774) exceeds the configured maximum (2097152)
      	at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:914)
      	at org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:331)
      	at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:349)
      	at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126)
      	at org.apache.solr.servlet.MultipartRequestParser.parseParamsAndFillStreams(SolrRequestParsers.java:343)
      	at org.apache.solr.servlet.StandardRequestParser.parseParamsAndFillStreams(SolrRequestParsers.java:396)
      	at org.apache.solr.servlet.SolrRequestParsers.parse(SolrRequestParsers.java:114)
      	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:217)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fergus Fergus McMenemie

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment