Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1818

Call frequency and duration metrics for HiveMetaStore via jmx

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.7.0
    • Metastore
    • None
    • Reviewed
    • jmx instrumentation for HiveMetaStore call frequency and duration

    Description

      As recently brought up in the hive-dev mailing list, it'd be useful if the HiveMetaStore had some sort of instrumentation capability so as to measure frequency of calls to various calls on the HiveMetaStore and the duration of time spent in these calls.

      There are already incrementCounter() and logStartFunction() / logStartTableFunction() ,etc calls in HiveMetaStore, and they could be refactored/repurposed to make calls that expose JMX MBeans as well. Or, a Metrics subsystem could be introduced which made calls to incrementCounter()/etc as a refactor.

      It might also be possible to specify a -D parameter that the Metrics subsystem could use to determine whether or not to be enabled, and if so, on to what port. And once we have the capability to instrument and expose MBeans, it might also be possible for other subsystems to also adopt and use this system.

      Attachments

        1. HIVE-1818.patch
          50 kB
          Sushanth Sowmyan
        2. HIVE-1818-vs-1054860.patch
          49 kB
          Sushanth Sowmyan
        3. HIVE-1818-vs-1063088.patch
          56 kB
          Sushanth Sowmyan

        Activity

          People

            sushanth Sushanth Sowmyan
            sushanth Sushanth Sowmyan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: