Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4526

Admin UI depends on optional system info

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1
    • 4.2, 6.0
    • Admin UI
    • None
    • Oracle Corporation OpenJDK 64-Bit Server VM (1.7.0_15 23.7-b01)

    Description

      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.

      Attachments

        1. built-in-jetty8.png
          129 kB
          Felix Buenemann
        2. SOLR-4526.patch
          4 kB
          Felix Buenemann
        3. ubuntu-jetty6.png
          154 kB
          Felix Buenemann

        Issue Links

          Activity

            People

              steffkes Stefan Matheis
              elyograg Shawn Heisey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: