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

Support on-demand publish of metrics

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0, 2.0.3-alpha
    • metrics
    • None
    • Reviewed

    Description

      Updated description based on feedback:

      We have a need to publish metrics out of some short-living processes, which is not really well-suited to the current metrics system implementation which periodically publishes metrics asynchronously (a behavior that works great for long-living processes). Of course I could write my own metrics system, but it seems like such a waste to rewrite all the awesome code currently in the MetricsSystemImpl and supporting classes.
      The way this JIRA solves this problem is adding a new method publishMetricsNow() to the MetricsSystemImpl() class, that does a synchronous out-of-band push of the metrics from the sources to the sink. I also add a method to MetricsSinkAdapter (putMetricsImmediate) to support that change.

      Attachments

        1. HADOOP-9090.patch
          40 kB
          Mostafa Elhemali
        2. HADOOP-9090.2.patch
          40 kB
          Mostafa Elhemali
        3. HADOOP-9090.justEnhanceDefaultImpl.patch
          9 kB
          Mostafa Elhemali
        4. HADOOP-9090.justEnhanceDefaultImpl.2.patch
          14 kB
          Mostafa Elhemali
        5. HADOOP-9090.justEnhanceDefaultImpl.3.patch
          18 kB
          Mostafa Elhemali
        6. HADOOP-9090.justEnhanceDefaultImpl.4.patch
          14 kB
          Mostafa Elhemali
        7. HADOOP-9090.justEnhanceDefaultImpl.5.patch
          19 kB
          Mostafa Elhemali
        8. HADOOP-9090.justEnhanceDefaultImpl.6.patch
          20 kB
          Mostafa Elhemali
        9. HADOOP-9090.justEnhanceDefaultImpl.7.patch
          20 kB
          Mostafa Elhemali
        10. HADOOP-9090.justEnhanceDefaultImpl.8.patch
          18 kB
          Mostafa Elhemali
        11. HADOOP-9090.justEnhanceDefaultImpl.9.patch
          18 kB
          Mostafa Elhemali
        12. HADOOP-9090.branch-1.patch
          14 kB
          Mostafa Elhemali
        13. HADOOP-9090.branch-1.patch
          14 kB
          Suresh Srinivas

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mostafae Mostafa Elhemali
            mostafae Mostafa Elhemali
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment