darenwkt commented on code in PR #212:
URL: 
https://github.com/apache/flink-connector-aws/pull/212#discussion_r2135578646


##########
flink-connector-aws-e2e-tests/pom.xml:
##########
@@ -90,6 +90,7 @@ under the License.
                                         
<moduleDir>${project.basedir}</moduleDir>
                                     </systemPropertyVariables>
                                     
<excludedGroups>requires-aws-credentials</excludedGroups>
+                                    <argLine>--add-opens 
java.base/java.util=ALL-UNNAMED</argLine>

Review Comment:
   The job fails without it due to following error which is similar to 
https://issues.apache.org/jira/browse/FLINK-33161
   
   ```
   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 @d811fe5
           at 
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
           at 
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
           at 
java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
           at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
           at 
com.twitter.chill.java.ArraysAsListSerializer.<init>(ArraysAsListSerializer.java:67)
           at 
org.apache.flink.api.java.typeutils.runtime.kryo.FlinkChillPackageRegistrar.registerSerializers(FlinkChillPackageRegistrar.java:67)
           at 
org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer.getKryoInstance(KryoSerializer.java:504)
           at 
org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer.checkKryoInitialized(KryoSerializer.java:513)
           at 
org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer.copy(KryoSerializer.java:298)
           at 
org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.pushToOperator(CopyingChainingOutput.java:74)
           at 
org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:50)
           at 
org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:29)
           at 
org.apache.flink.streaming.api.operators.StreamMap.processElement(StreamMap.java:38)
           at 
org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.pushToOperator(CopyingChainingOutput.java:75)
           at 
org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:50)
           at 
org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:29)
           at 
org.apache.flink.streaming.runtime.tasks.SourceOperatorStreamTask$AsyncDataOutputToOutput.emitRecord(SourceOperatorStreamTask.java:310)
           at 
org.apache.flink.streaming.api.operators.source.SourceOutputWithWatermarks.collect(SourceOutputWithWatermarks.java:110)
           at 
org.apache.flink.streaming.api.operators.source.SourceOutputWithWatermarks.collect(SourceOutputWithWatermarks.java:101)
           at 
org.apache.flink.api.connector.source.lib.util.IteratorSourceReaderBase.pollNext(IteratorSourceReaderBase.java:111)
           at 
org.apache.flink.api.connector.source.util.ratelimit.RateLimitedSourceReader.pollNext(RateLimitedSourceReader.java:69)
           at 
org.apache.flink.streaming.api.operators.SourceOperator.emitNext(SourceOperator.java:422)
           at 
org.apache.flink.streaming.runtime.io.StreamTaskSourceInput.emitNext(StreamTaskSourceInput.java:68)
           at 
org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:65)
           at 
org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:638)
           at 
org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:231)
           at 
org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:973)
           at 
org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:917)
           at 
org.apache.flink.runtime.taskmanager.Task.runWithSystemExitMonitoring(Task.java:970)
           at 
org.apache.flink.runtime.taskmanager.Task.restoreAndInvoke(Task.java:949)
           at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:763)
           at org.apache.flink.runtime.taskmanager.Task.run(Task.java:575)
           at java.base/java.lang.Thread.run(Thread.java:840)
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to