Solr
  1. Solr
  2. SOLR-4526

Admin UI depends on optional system info

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.2, Trunk
    • Component/s: web gui
    • Labels:
      None
    • Environment:

      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.

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

        Issue Links

          Activity

            People

            • Assignee:
              Stefan Matheis (steffkes)
              Reporter:
              Shawn Heisey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development