Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-579

Integrate NamedAggregators into Spark's sink system

Details

    • Task
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 0.3.0-incubating
    • runner-spark
    • None

    Description

      At the moment NamedAggregators is an adapter between Beam's Aggregator and Spark's Accumulator and is implemented as a single Spark Accumulator, holding a map of metrics that can be augmented with new metrics dynamically, after the the pipeline has already started.

      Spark's out-of-the-box metrics mechanism does not support adding metrics to Source s that have already registered (it pulls their metrics upon registration and never updates them again).

      In light of the above, it would seem that there is a gap to bridge between the dynamic nature of NamedAggregators and Spark's current metric system so that metrics that are added dynamically are also reported to the defined Spark Sink s.

      Attachments

        Issue Links

          Activity

            People

              staslev Stas Levin
              staslev Stas Levin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: