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

JMX Context for Metrics

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      The way metrics are currently exposed to the JMX in the NameNode is not helpful, since only the current counters in the record can be fetched and without any context those number mean little.
      For example the number of files created equal to 150 only means that in the last period there were 150 files created but when the new period will end is unknown so fetching 150 again will either mean another 150 files or we are fetching the same time period.

      One of the solutions for this problem will be to have a JMX context that will accumulate the data (being child class of AbstractMetricsContext) and expose different records to the JMX through custom MBeans. This way the information fetched from the JMX will represent the state of things in a more meaningful way.

      Attachments

        1. JMX.patch
          10 kB
          Dmytro Molkov

        Activity

          People

            dms Dmytro Molkov
            dms Dmytro Molkov
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: