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

Incomplete Accumulator documentation (no mention of the shorthand methods)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.8.0, 0.9
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: