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

Uwe Schindler commented on SOLR-4526:
-------------------------------------

The general problem here is the admin UI, as mentioned by Felix. The output of 
the MX data is very JVM-specific, so the UI should not rely on key/value pairs 
are always available. If you e.g. start Solr with IBM J9, the whole Andmin UI 
shows nothing at all for those statistics, same for JRockit. If you look into 
browser JS logs you see errors about missing keys.

The RequestHandler on the Solr side is fine and produces no log entries. 
Because of that you will see no errors in the log file, as the UI cannot log 
anything to the Solr log.

The reason why the Ubuntu-Jetty does not display those information might be 
because the Webapp context is restricted and does not provide the OS-MXBean. 
The Jetty included with Solr has no security settings at all and the webapp is 
running in the root context.
                
> Admin UI dependence on UnixOperationSystemMXBean
> ------------------------------------------------
>
>                 Key: SOLR-4526
>                 URL: https://issues.apache.org/jira/browse/SOLR-4526
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 4.1
>         Environment: Oracle Corporation OpenJDK 64-Bit Server VM (1.7.0_15 
> 23.7-b01)
>            Reporter: Shawn Heisey
>            Assignee: Stefan Matheis (steffkes)
>         Attachments: built-in-jetty8.png, ubuntu-jetty6.png
>
>
> A user on IRC was having trouble getting file descriptor counts and JVM 
> memory usage in the admin UI, but it worked perfectly fine on another system. 
>  The problem system uses OpenJDK, the other one uses the Apple JDK.  The user 
> had tracked it down to an exception while trying to get open file descriptor 
> info.
> Looking in the SystemInfoHandler.java file, I see a comment reference to 
> com.sun.management.UnixOperatingSystemMXBean at the point where it is getting 
> file descriptor info.  A little extra searching turned up ZOOKEEPER-1579 
> which refers to HBASE-6945, the same problem with OpenJDK.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to