You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/09/29 04:41:00 UTC

[jira] [Commented] (SOLR-13712) JMX MBeans are not exposed because of race condition between creating platform mbean server and registering mbeans

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

ASF subversion and git services commented on SOLR-13712:
--------------------------------------------------------

Commit 2ba61c8fb9c42586a174072276592ddfdff1563b in lucene-solr's branch refs/heads/master from Shalin Shekhar Mangar
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=2ba61c8 ]

SOLR-13712: JMX MBeans are not exposed because of race condition between creating platform mbean server and registering mbeans


> JMX MBeans are not exposed because of race condition between creating platform mbean server and registering mbeans
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-13712
>                 URL: https://issues.apache.org/jira/browse/SOLR-13712
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: JMX
>    Affects Versions: 6.6, 6.6.2, 6.6.5, 7.7.2, 8.2, 8.1.1
>            Reporter: Shalin Shekhar Mangar
>            Priority: Major
>         Attachments: SOLR-13712.patch
>
>
> This is quite easy to reproduce. 
> {code}
> wget https://archive.apache.org/dist/lucene/solr/6.6.0/solr-6.6.0.tgz
> tar xvf solr-6.6.0.tgz
> cd solr-6.6.0
> {code}
> Enable jmx reporting by editing the server/solr/solr.xml and adding the following under the "<solr>" tag:
> {code}
> <metrics>
>         <reporter id="jmx" class="org.apache.solr.metrics.reporters.SolrJmxReporter" />
>   </metrics>
> {code}
> Start solr with:
> {code}
> ./bin/solr start -e cloud -noprompt
> {code}
> Open jconsole and inspect mbeans for solr nodes running on port 8983 and 7574. You'll find that all mbeans (node, jvm, jetty, solr) are present for the solr on port 8983 but completely absent for the solr node running on port 7574.
> Same behavior is on 6.6.2 and 6.6.6. However, Solr 7.x and 8.x seem to be fine.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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