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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Tim Allison (Jira)

     [ https://issues.apache.org/jira/browse/SOLR-13712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar updated SOLR-13712:
-----------------------------------------
    Attachment: SOLR-13712.patch

> 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.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]