lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2158) TestDistributedSearch.testDistribSearch fails often
Date Sun, 05 Dec 2010 15:36:10 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966971#action_12966971
] 

Yonik Seeley commented on SOLR-2158:
------------------------------------

OK, so we upgraded jetty... but the "failed to respond" exception still happens.
Just to try and narrow things down, I put a long sleep inside solr request handling and then
tried a distributed search... it worked fine. So
it doesn't appear to be something getting hung up in Solr.

- a jetty bug
- an embedded jetty bug
- a HttpClient bug
- a bug in the way solr uses HttpClient

Another data point: with my load testing tool, I can run millions of requests against Jetty/Solr
(and I just did again). It doesn't use HttpClient though, and it uses GET instead of POST.

Some things to try:
 - Modify the load tool to use POST and verify things still work
 - Put a long pause in TestDistributedSearch after the solr servers are brought up, and then
try load testing against those servers w/ an external tool.
   - if this fails, we know it's an issue with how we embed Jetty
- Make a load testing tool that uses SolrJ exactly the way that distributed search uses it,
and try it on a normal Solr server
   - if this fails, ti could be an HttpClient bug, or a jetty bug tickled by HttpClient specifically
   - if this fails, make a small self-contained load tool that uses only HttpClient to remove
the possibility of SolrJ bugs 

> TestDistributedSearch.testDistribSearch fails often
> ---------------------------------------------------
>
>                 Key: SOLR-2158
>                 URL: https://issues.apache.org/jira/browse/SOLR-2158
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.1, 4.0
>         Environment: Hudson
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: TEST-org.apache.solr.TestDistributedSearch.txt
>
>
> TestDistributedSearch.testDistribSearch fails often in hudson, with some threads throwing
uncaught exceptions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message