[
https://issues.apache.org/jira/browse/SOLR-4526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592648#comment-13592648
]
Felix Buenemann commented on SOLR-4526:
---------------------------------------
Hoss: I'll try to get my VM back into the prober state and check it.
Regarding what the JS could do better: It would be a good idea to check if the
accessed array keys are undefined, to avoid an exception. This would make the
JS code more verbose though.
Had the code checked for undefined values, it would have shown the JVM usage
just fine.
> 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]