lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SOLR-3774) /admin/mbean returning duplicate search handlers with names that map to their classes?
Date Fri, 22 Mar 2013 11:55:15 GMT

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

Tomás Fernández Löbbe commented on SOLR-3774:
---------------------------------------------

I think there are two problems here. One is that we are registering the request handlers twice,
once on RequestHandlers.initHandlersFromConfig(...) and once in SolrResourceLoader.inform(...).
The other problem is that we are using the RH classname as the name of the MBean. This will
cause problems when you have multiple request handlers of the same class. I think the correct
way would be to use the name defined for the request handler in the solrconfig.xml file (as
we currently do with SearchComponents). I'll upload a patch for this. 
                
> /admin/mbean returning duplicate search handlers with names that map to their classes?
> --------------------------------------------------------------------------------------
>
>                 Key: SOLR-3774
>                 URL: https://issues.apache.org/jira/browse/SOLR-3774
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>
> Offshoot of SOLR-3232...
> bq. Along with some valid entries with names equal to the request handler names (/get
search /browse) it also turned up one with the name "org.apache.solr.handler.RealTimeGetHandler"
and another with the name "org.apache.solr.handler.component.SearchHandler"
> ...seems that we may have a bug with request handlers getting registered multiple times,
once under their "real" name and once using their class?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message