Suganuma,

No, there shouldn't be any side effects.


On Tue, May 28, 2013 at 7:13 AM, 菅沼 嘉一 <yo_sugan...@waku-2.com> wrote:

> Shalin,
>
> We tried use it after removing staticStats.add("sourceId"), it seems going
> with no problem.
> Do you know any other side effects by removing it ?
>
> Regards
> suganuma
>
> >-----Original Message-----
> >From: 菅沼 嘉一 [mailto:yo_sugan...@waku-2.com]
> >Sent: Tuesday, May 28, 2013 9:30 AM
> >To: solr-user@lucene.apache.org
> >Subject: RE: sourceId of JMX
> >
> >Thank you, Shalin.
> >I'll see it.
> >
> >>-----Original Message-----
> >>From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com]
> >>Sent: Monday, May 27, 2013 11:11 PM
> >>To: solr-user@lucene.apache.org
> >>Subject: Re: sourceId of JMX
> >>
> >>I opened https://issues.apache.org/jira/browse/SOLR-4863
> >>
> >>
> >>On Mon, May 27, 2013 at 7:35 PM, Shalin Shekhar Mangar <
> >>shalinman...@gmail.com> wrote:
> >>
> >>> This is a bug. The sourceId should have been removed from the
> >>> SolrDynamicMBean. I'll create an issue.
> >>>
> >>>
> >>> On Mon, May 27, 2013 at 6:39 PM, 菅沼 嘉一 <yo_sugan...@waku-2.com>
> >>wrote:
> >>>
> >>>> Hello
> >>>>
> >>>> Our team faced the problem regarding the sourceId of JMX when getting
> the
> >>>> information of JMX from tomcat manager.
> >>>>
> >>>> Command:
> >>>> curl http://localhost:
> >>>> ${PORT}/manager/jmxproxy?qry=solr:type=documentCache,*
> >>>>
> >>>> Here is the error log (tomcat/manager log).
> >>>>
> >>>>
> ---------------------------------------------------------------------------
> >>>> 2013/05/27 0:04:01 org.apache.catalina.core.ApplicationContext log
> >>>> JMXProxy: Error getting attribute
> >>>> solr:type=documentCache,id=org.apache.solr.search.LRUCache sourceId
> >>>> javax.management.AttributeNotFoundException: sourceId
> >>>>
> >>>>
> ---------------------------------------------------------------------------
> >>>>
> >>>> Solr ver. : 4.1.0
> >>>>
> >>>> I think this error comes from when JMX cannot get the sourceId.
> >>>>
> >>>>
> >>>> BTW Let's look at this issue.
> >>>> https://issues.apache.org/jira/browse/SOLR-3329
> >>>>
> >>>> It is decided to drop getSourceId() in this issue.
> >>>>
> >>>> But in org.apache.solr.core.JmxMonitoredMap.SolrDynamicMBean,
> >>>> staticStats.add("sourceId") is still defined in SolrDynamicMBean at
> L211.
> >>>>
> >>>>
> >>>>
> >>
> http://javasourcecode.org/html/open-source/solr/solr-3.3.0/org/apache/solr/core/J
> >mx
> >>MonitoredMap.SolrDynamicMBean.java.html#line.202
> >>>> --------------------------------------
> >>>> l.211      staticStats.add("sourceId");
> >>>> --------------------------------------
> >>>>
> >>>> Maybe this error comes from this inconsistency.
> >>>> This problem is not critical, but I think this is inconsistent.
> >>>>
> >>>> 1. Anyone knows why staticStats.add("sourceId") still remained in
> >>>> SolrDynamicMBean?
> >>>> Do you have any idea?
> >>>>
> >>>> 2. Has anyone faced such error ? How did you solved it?
> >>>>
> >>>>
> >>>> Thank you.
> >>>>
> >>>> Regards
> >>>> suganuma
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> Shalin Shekhar Mangar.
> >>>
> >>
> >>
> >>
> >>--
> >>Regards,
> >>Shalin Shekhar Mangar.
>



-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to