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

Buffer metrics can cause NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.2.0, 1.3.0
    • 1.2.1
    • Runtime / Metrics
    • None

    Description

      The Buffer metrics defined in the TaskIOMetricGroup are created when a Task is created. At this time, the bufferPool in the Input gates that the metrics make use of is still null, leading to possible NPEs.

      These metrics should either be created after the required objects are fully initialized or guard this case with null checks.

      Attachments

        Activity

          People

            chesnay Chesnay Schepler
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: