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/Jmx
>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.

Reply via email to