[
https://issues.apache.org/jira/browse/SOLR-5473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13844459#comment-13844459
]
Timothy Potter edited comment on SOLR-5473 at 12/10/13 6:04 PM:
----------------------------------------------------------------
I had to comment out the changes to SolrDispatchFilter in the latest patch
because calling req.getParameter(STATE_CHECK_PARAM) leads to issues when
parsing the request:
64053 T32 oasc.SolrException.log ERROR
null:org.apache.solr.common.SolrException:
Solr requires that request parameters sent using
application/x-www-form-urlencoded content-type
can be read through the request input stream. Unfortunately, the stream was
empty / not available.
This may be caused by another servlet filter calling
ServletRequest.getParameter*() before SolrDispatchFilter,
please remove it.
at
org.apache.solr.servlet.SolrRequestParsers$FormDataRequestParser.getParameterIncompatibilityException(SolrRequestParsers.java:626)
at
org.apache.solr.servlet.SolrRequestParsers$FormDataRequestParser.parseParamsAndFillStreams(SolrRequestParsers.java:612)
at
org.apache.solr.servlet.SolrRequestParsers$StandardRequestParser.parseParamsAndFillStreams(SolrRequestParsers.java:678)
at
org.apache.solr.servlet.SolrRequestParsers.parse(SolrRequestParsers.java:150)
Commenting out the changes in SolrDispatchFilter allow the CloudSolrServerTest
to pass locally.
was (Author: tim.potter):
I had to comment out the changes to SolrDispatchFilter in the latest patch
because calling req.getParameter(STATE_CHECK_PARAM) leads to issues when
parsing the request:
64053 T32 oasc.SolrException.log ERROR
null:org.apache.solr.common.SolrException:
Solr requires that request parameters sent using
application/x-www-form-urlencoded content-type
can be read through the request input stream. Unfortunately, the stream was
empty / not available.
This may be caused by another servlet filter calling
ServletRequest.getParameter*() before SolrDispatchFilter,
please remove it.
at
org.apache.solr.servlet.SolrRequestParsers$FormDataRequestParser.getParameterIncompatibilityException(SolrRequestParsers.java:626)
at
org.apache.solr.servlet.SolrRequestParsers$FormDataRequestParser.parseParamsAndFillStreams(SolrRequestParsers.java:612)
at
org.apache.solr.servlet.SolrRequestParsers$StandardRequestParser.parseParamsAndFillStreams(SolrRequestParsers.java:678)
at
org.apache.solr.servlet.SolrRequestParsers.parse(SolrRequestParsers.java:150)
> Make one state.json per collection
> ----------------------------------
>
> Key: SOLR-5473
> URL: https://issues.apache.org/jira/browse/SOLR-5473
> Project: Solr
> Issue Type: Sub-task
> Components: SolrCloud
> Reporter: Noble Paul
> Assignee: Noble Paul
> Attachments: SOLR-5473.patch, SOLR-5473.patch, SOLR-5473.patch,
> SOLR-5473.patch
>
>
> As defined in the parent issue, store the states of each collection under
> /collections/collectionname/state.json node
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]