Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-1527

Incomplete Accumulator documentation (no mention of the shorthand methods)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.8.0, 0.9
    • None
    • Documentation
    • None

    Description

      The current documentation implies that users have to manually register every counter.
      But it should be possible to call counters like this

      getRuntimeContext().getLongCounter("elements").add(1L);
      

      within the udf function call.

      http://flink.apache.org/docs/0.8/programming_guide.html#accumulators--counters

      Attachments

        Activity

          People

            Unassigned Unassigned
            rmetzger Robert Metzger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: