Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7144

Expose JMX with something like JMXProxyServlet

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.20.204.0, 0.23.0
    • None
    • Reviewed
    • jmx, metrics, mbeans

    Description

      Much of the Hadoop metrics and status info is available via JMX, especially since 0.20.100, and 0.22+ (HDFS-1318, HADOOP-6728 etc.) For operations staff not familiar JMX setup, especially JMX with SSL and firewall tunnelling, the usage can be daunting. Using a JMXProxyServlet (a la Tomcat) to translate JMX attributes into JSON output would make a lot of non-Java admins happy.

      We could probably use Tomcat's JMXProxyServlet code directly, if it's already output some standard format (JSON or XML etc.) The code is simple enough to port over and can probably integrate with the common HttpServer as one of the default servelet (maybe /jmx) for the pluggable security.

      Attachments

        1. HADOOP-7411-0.20.20X-V1.patch
          17 kB
          Robert Joseph Evans
        2. HADOOP-7411-0.20.20X-V2.patch
          18 kB
          Robert Joseph Evans
        3. HADOOP-7411-trunk-alpha.patch
          15 kB
          Robert Joseph Evans
        4. HADOOP-7411-trunk-V1.patch
          17 kB
          Robert Joseph Evans
        5. HADOOP-7411-trunk-V2.patch
          18 kB
          Robert Joseph Evans
        6. jmx.json
          30 kB
          Robert Joseph Evans

        Issue Links

          Activity

            People

              revans2 Robert Joseph Evans
              vicaya Luke Lu
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: