Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      In versions of hadoop, there is a metrics servlet that will dump out metrics for all registered contexts. Attached is some doc for hbase on how to get the metrics servlet displaying metrics. This issue is about adding a bit to the UI that searches for the Metrics servlet and if present, show a link on master and RS pages (or not...).

        Activity

        Hide
        Todd Lipcon added a comment -

        hmm, the doc seems to be confused whether to use NoEmitMetricsContext vs NullContextWithUpdateThread.

        Show
        Todd Lipcon added a comment - hmm, the doc seems to be confused whether to use NoEmitMetricsContext vs NullContextWithUpdateThread.
        Hide
        stack added a comment -

        Yeah. Dumb. Example should have had NoEmitMetricsContext. Thanks Todd.

        Show
        stack added a comment - Yeah. Dumb. Example should have had NoEmitMetricsContext. Thanks Todd.
        Hide
        stack added a comment -

        Thinking on it, it would be nice to ship with this metrics servlet enabled; its better than the /dev/null we currently ship with. Would have to figure how to do it in a portable way.

        Show
        stack added a comment - Thinking on it, it would be nice to ship with this metrics servlet enabled; its better than the /dev/null we currently ship with. Would have to figure how to do it in a portable way.
        Hide
        stack added a comment -

        Haven't you fixed this boss?

        Show
        stack added a comment - Haven't you fixed this boss?
        Hide
        Elliott Clark added a comment -

        Yep. When we switched to NullContextWithUpdateThread and to hadoop 1.0.3 all of the things standing in the way of /jmx were removed and everyone should have it. I also added documentation so we should be good to go.

        Show
        Elliott Clark added a comment - Yep. When we switched to NullContextWithUpdateThread and to hadoop 1.0.3 all of the things standing in the way of /jmx were removed and everyone should have it. I also added documentation so we should be good to go.
        Hide
        stack added a comment -

        Did we add a 'metrics' link along the top of the UI? It doesn't look like it because HBASE-6025 is open still.

        Let me close this as fixed by you. What issue did you add documentation in?

        Show
        stack added a comment - Did we add a 'metrics' link along the top of the UI? It doesn't look like it because HBASE-6025 is open still. Let me close this as fixed by you. What issue did you add documentation in?
        Hide
        stack added a comment -

        Fixed by Elliott (and Enis) See HBASE-6025. Any others?

        Show
        stack added a comment - Fixed by Elliott (and Enis) See HBASE-6025 . Any others?
        Hide
        Elliott Clark added a comment -

        HBASE-5802 is the one that added the metrics context that allows the servlet to work fully. As well as adding some documentation.

        Show
        Elliott Clark added a comment - HBASE-5802 is the one that added the metrics context that allows the servlet to work fully. As well as adding some documentation.
        Hide
        stack added a comment -

        Thanks E.

        Show
        stack added a comment - Thanks E.

          People

          • Assignee:
            Elliott Clark
            Reporter:
            stack
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development