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

Utils.CollectHelper is possible to throw NPE if the sink is up but not initialized when the job fails

    XMLWordPrintableJSON

Details

    Description

      When the sink using Utils.CollectHelper is up but not initialized and the job fails due to other operators, it is possible that the close() method of Utils.CollectHelper is called when open() is not called.

      Currently Utils.CollectHelper does not deal with this case and will throw NPE.

      Attachments

        Issue Links

          Activity

            People

              TsReaper Caizhi Weng
              TsReaper Caizhi Weng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m