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

FileSourceFunction doesn't respect InputFormat's life cycle methods

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.0.1, 1.0.2
    • 1.1.0
    • None
    • None

    Description

      The FileSourceFunction wraps InputFormat but doesn't execute its life cycle functions correctly.

      1) It doesn't call close() before reading the next InputSplit via open(InputSplit split).

      2) It calls close() even if no InputSplit has been read (and thus open(..) hasn't been called previously).

      Attachments

        Issue Links

          Activity

            People

              mxm Maximilian Michels
              mxm Maximilian Michels
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: