[ https://issues.apache.org/jira/browse/FLINK-34245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811522#comment-17811522 ]
Sergey Nuyanzin commented on FLINK-34245: ----------------------------------------- Bisect shows that the error is related to FLINK-33577, FLINK-34223, FLINK-34232 > CassandraSinkTest.test_cassandra_sink fails under JDK17 and JDK21 due to > InaccessibleObjectException > ---------------------------------------------------------------------------------------------------- > > Key: FLINK-34245 > URL: https://issues.apache.org/jira/browse/FLINK-34245 > Project: Flink > Issue Type: Bug > Components: API / Python, Connectors / Cassandra > Affects Versions: 1.19.0 > Reporter: Matthias Pohl > Priority: Blocker > Labels: test-stability > > [https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=56942&view=logs&j=b53e1644-5cb4-5a3b-5d48-f523f39bcf06&t=b68c9f5c-04c9-5c75-3862-a3a27aabbce3] > [https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=56942&view=logs&j=60960eae-6f09-579e-371e-29814bdd1adc&t=7a70c083-6a74-5348-5106-30a76c29d8fa&l=63680] > {code:java} > Jan 26 01:29:27 E py4j.protocol.Py4JJavaError: An error > occurred while calling > z:org.apache.flink.python.util.PythonConfigUtil.configPythonOperator. > Jan 26 01:29:27 E : > java.lang.reflect.InaccessibleObjectException: Unable to make field final > java.util.Map java.util.Collections$UnmodifiableMap.m accessible: module > java.base does not "opens java.util" to unnamed module @17695df3 > Jan 26 01:29:27 E at > java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) > Jan 26 01:29:27 E at > java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) > Jan 26 01:29:27 E at > java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) > Jan 26 01:29:27 E at > java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:183) > Jan 26 01:29:27 E at > java.base/java.lang.reflect.Field.setAccessible(Field.java:177) > Jan 26 01:29:27 E at > org.apache.flink.python.util.PythonConfigUtil.registerPythonBroadcastTransformationTranslator(PythonConfigUtil.java:357) > Jan 26 01:29:27 E at > org.apache.flink.python.util.PythonConfigUtil.configPythonOperator(PythonConfigUtil.java:101) > Jan 26 01:29:27 E at > java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) > Jan 26 01:29:27 E at > java.base/java.lang.reflect.Method.invoke(Method.java:580) > Jan 26 01:29:27 E at > org.apache.flink.api.python.shaded.py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244) > Jan 26 01:29:27 E at > org.apache.flink.api.python.shaded.py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374) > Jan 26 01:29:27 E at > org.apache.flink.api.python.shaded.py4j.Gateway.invoke(Gateway.java:282) > Jan 26 01:29:27 E at > org.apache.flink.api.python.shaded.py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132) > Jan 26 01:29:27 E at > org.apache.flink.api.python.shaded.py4j.commands.CallCommand.execute(CallCommand.java:79) > Jan 26 01:29:27 E at > org.apache.flink.api.python.shaded.py4j.GatewayConnection.run(GatewayConnection.java:238) > Jan 26 01:29:27 E at > java.base/java.lang.Thread.run(Thread.java:1583) {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)