Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0, 2.0.3-alpha
    • Component/s: metrics
    • Labels:
      None
    • Hadoop Flags:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: