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

Some S5 related ITCases failed in JDK17 due to reflection issue

    XMLWordPrintableJSON

Details

    Description

      Jul 13 01:26:47 	at org.apache.flink.runtime.io.network.api.writer.ChannelSelectorRecordWriter.emit(ChannelSelectorRecordWriter.java:55)
      Jul 13 01:26:47 	at org.apache.flink.streaming.runtime.io.RecordWriterOutput.pushToRecordWriter(RecordWriterOutput.java:140)
      Jul 13 01:26:47 	at org.apache.flink.streaming.runtime.io.RecordWriterOutput.collectAndCheckIfChained(RecordWriterOutput.java:120)
      Jul 13 01:26:47 	at org.apache.flink.streaming.runtime.io.RecordWriterOutput.collect(RecordWriterOutput.java:101)
      Jul 13 01:26:47 	at org.apache.flink.streaming.runtime.io.RecordWriterOutput.collect(RecordWriterOutput.java:53)
      Jul 13 01:26:47 	at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:60)
      Jul 13 01:26:47 	at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:32)
      Jul 13 01:26:47 	at org.apache.flink.streaming.api.operators.StreamSourceContexts$ManualWatermarkContext.processAndCollect(StreamSourceContexts.java:425)
      Jul 13 01:26:47 	at org.apache.flink.streaming.api.operators.StreamSourceContexts$WatermarkContext.collect(StreamSourceContexts.java:520)
      Jul 13 01:26:47 	at org.apache.flink.streaming.api.operators.StreamSourceContexts$SwitchingOnClose.collect(StreamSourceContexts.java:110)
      Jul 13 01:26:47 	at org.apache.flink.fs.s3.common.S5CmdOnMinioITCase$FailingSource.run(S5CmdOnMinioITCase.java:305)
      Jul 13 01:26:47 	at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:113)
      Jul 13 01:26:47 	at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:71)
      Jul 13 01:26:47 	at org.apache.flink.streaming.runtime.tasks.SourceStreamTask$LegacySourceFunctionThread.run(SourceStreamTask.java:338)
      Jul 13 01:26:47 Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.lang.Object[] java.util.Arrays$ArrayList.a accessible: module java.base does not "opens java.util" to unnamed module @1880a322
      Jul 13 01:26:47 	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
      Jul 13 01:26:47 	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
      Jul 13 01:26:47 	at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
      Jul 13 01:26:47 	at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
      Jul 13 01:26:47 	at com.twitter.chill.java.ArraysAsListSerializer.<init>(ArraysAsListSerializer.java:67)
      Jul 13 01:26:47 	... 23 more
      

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=60900&view=logs&j=54dde87f-1e30-5a5e-7727-3286687a13f7&t=4653b7d3-60bf-5409-5154-679ed6d8688e&l=13318

      Attachments

        Issue Links

          Activity

            People

              Weijie Guo Weijie Guo
              Weijie Guo Weijie Guo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: