[
https://issues.apache.org/jira/browse/SOLR-6845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-6845:
----------------------------------------
Attachment: tests-failures.txt
I just saw a local failure on trunk on
org.apache.solr.handler.component.SuggestComponentTest.testDefaultBuildOnStartupStoredDict.
The logs are attached and the stack trace is:
{code}
2> 786070 T7047 oas.SolrTestCaseJ4.assertQ ERROR REQUEST FAILED:
xpath=//lst[@name='suggest']/lst[@name='suggest_doc_default_startup']/lst[@name='example']/int[@name='numFound'][.='0']
2> xml response was: <?xml version="1.0" encoding="UTF-8"?>
2> <response>
2> <lst name="responseHeader"><int name="status">0</int><int
name="QTime">5</int></lst><lst name="suggest"><lst
name="suggest_doc_default_startup"><lst name="example"><int
name="numFound">2</int><arr name="suggestions"><lst><str name="term">example
inputdata</str><long name="weight">45</long><str
name="payload"/></lst><lst><str name="term">example data</str><long
name="weight">40</long><str name="payload"/></lst></arr></lst></lst></lst>
2> </response>
2>
2> request
was:qt=/suggest&suggest.q=example&suggest.count=2&suggest.dictionary=suggest_doc_default_startup&wt=xml
2> 786071 T7047 oasc.SolrException.log ERROR REQUEST FAILED:
qt=/suggest&suggest.q=example&suggest.count=2&suggest.dictionary=suggest_doc_default_startup&wt=xml:java.lang.RuntimeException:
REQUEST FAILED:
xpath=//lst[@name='suggest']/lst[@name='suggest_doc_default_startup']/lst[@name='example']/int[@name='numFound'][.='0']
2> xml response was: <?xml version="1.0" encoding="UTF-8"?>
2> <response>
2> <lst name="responseHeader"><int name="status">0</int><int
name="QTime">5</int></lst><lst name="suggest"><lst
name="suggest_doc_default_startup"><lst name="example"><int
name="numFound">2</int><arr name="suggestions"><lst><str name="term">example
inputdata</str><long name="weight">45</long><str
name="payload"/></lst><lst><str name="term">example data</str><long
name="weight">40</long><str name="payload"/></lst></arr></lst></lst></lst>
2> </response>
2>
2> request
was:qt=/suggest&suggest.q=example&suggest.count=2&suggest.dictionary=suggest_doc_default_startup&wt=xml
2> at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:741)
2> at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:715)
2> at
org.apache.solr.handler.component.SuggestComponentTest.testDefaultBuildOnStartupStoredDict(SuggestComponentTest.java:257)
2> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{code}
{code}
ant test -Dtestcase=SuggestComponentTest
-Dtests.method=testDefaultBuildOnStartupStoredDict
-Dtests.seed=1AE9946D9D16B26E -Dtests.slow=true -Dtests.locale=en
-Dtests.timezone=Asia/Istanbul -Dtests.asserts=true
-Dtests.file.encoding=ISO-8859-1
{code}
I tried a few times but couldn't reproduce it.
> Add buildOnStartup option for suggesters
> ----------------------------------------
>
> Key: SOLR-6845
> URL: https://issues.apache.org/jira/browse/SOLR-6845
> Project: Solr
> Issue Type: Bug
> Reporter: Hoss Man
> Assignee: Tomás Fernández Löbbe
> Fix For: Trunk, 5.1
>
> Attachments: SOLR-6845.patch, SOLR-6845.patch, SOLR-6845.patch,
> tests-failures.txt
>
>
> SOLR-6679 was filed to track the investigation into the following problem...
> {panel}
> The stock solrconfig provides a bad experience with a large index... start up
> Solr and it will spin at 100% CPU for minutes, unresponsive, while it
> apparently builds a suggester index.
> ...
> This is what I did:
> 1) indexed 10M very small docs (only takes a few minutes).
> 2) shut down Solr
> 3) start up Solr and watch it be unresponsive for over 4 minutes!
> I didn't even use any of the fields specified in the suggester config and I
> never called the suggest request handler.
> {panel}
> ..but ultimately focused on removing/disabling the suggester from the sample
> configs.
> Opening this new issue to focus on actually trying to identify the root
> problem & fix it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]