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

[jira] [Updated] (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:all-tabpanel ]

Shalin Shekhar Mangar updated SOLR-13712:
-----------------------------------------
    Fix Version/s: 8.3
                   master (9.0)
         Assignee: Shalin Shekhar Mangar
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>            Assignee: Shalin Shekhar Mangar
>            Priority: Major
>             Fix For: master (9.0), 8.3
>
>         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