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

NullPointerException in HybridSourceSplitEnumerator.close

    XMLWordPrintableJSON

Details

    Description

      HybridSource pipeline has an intermittent error when reading from s3, usually this error is fixed when pipeline restarts after recovering from checkpoint. But intermittently happens:

      2022/08/02 22:26:51.435 INFO  o.a.f.runtime.jobmaster.JobMaster - Trying to recover from a global failure.
      org.apache.flink.util.FlinkException: Global failure triggered by OperatorCoordinator for 'Source: hybrid-source -> decrypt -> map2Events -> filterOutNulls -> assignTimestampsAndWatermarks -> logRawJson' (operator fd9fbc680ee884c4eafd0b9c2d3d007f).
      at org.apache.flink.runtime.operators.coordination.OperatorCoordinatorHolder$LazyInitializedCoordinatorContext.failJob(OperatorCoordinatorHolder.java:545)
      at org.apache.flink.runtime.operators.coordination.RecreateOnResetOperatorCoordinator$DeferrableCoordinator.cleanAndFailJob(RecreateOnResetOperatorCoordinator.java:393)
      ...
      Caused by: java.lang.NullPointerException: null
      at org.apache.flink.connector.base.source.hybridspp.HybridSourceSplitEnumerator.close(HybridSourceSplitEnumerator.java:246)
      at org.apache.flink.runtime.source.coordinator.SourceCoordinator.close(SourceCoordinator.java:151)
      at org.apache.flink.runtime.operators.coordination.ComponentClosingUtils.lambda$closeAsyncWithTimeout$0(ComponentClosingUtils.java:70)
      at java.lang.Thread.run(Thread.java:750)
       

      Attachments

        Issue Links

          Activity

            People

              Benenson Michael
              Benenson Michael
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: