Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B08AFD08 for ; Fri, 22 Mar 2013 12:15:20 +0000 (UTC) Received: (qmail 61212 invoked by uid 500); 22 Mar 2013 12:15:19 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 60666 invoked by uid 500); 22 Mar 2013 12:15:18 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 60563 invoked by uid 99); 22 Mar 2013 12:15:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Mar 2013 12:15:17 +0000 Date: Fri, 22 Mar 2013 12:15:17 +0000 (UTC) From: =?utf-8?Q?Tom=C3=A1s_Fern=C3=A1ndez_L=C3=B6bbe_=28JIRA=29?= To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SOLR-3774) /admin/mbean returning duplicate search handlers with names that map to their classes? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3774?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Tom=C3=A1s Fern=C3=A1ndez L=C3=B6bbe updated SOLR-3774: ---------------------------------------- Attachment: SOLR-3774.patch This fixes the issue. I chose not to modify the RequestHandler interface to= add a "setName" method because I think it may be too much impact for this = issue, Instead of it I edited the RequestHandlerBase class, but because of = that I had to do some instanceofs to set the name. I'm open to other opinio= ns on that.=20 The RH are still being registered twice now, but now with the same name, no= t sure if we should change that because there is no real impact.=20 =20 > /admin/mbean returning duplicate search handlers with names that map to t= heir classes? > -------------------------------------------------------------------------= ------------- > > Key: SOLR-3774 > URL: https://issues.apache.org/jira/browse/SOLR-3774 > Project: Solr > Issue Type: Bug > Reporter: Hoss Man > Attachments: SOLR-3774.patch > > > 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.apach= e.solr.handler.RealTimeGetHandler" and another with the name "org.apache.so= lr.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 administrato= rs 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