You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Matthias Pohl (Jira)" <ji...@apache.org> on 2023/05/09 07:19:00 UTC
[jira] [Commented] (FLINK-23982) Compiling error in WindowOperatorTest with JDK11
[ https://issues.apache.org/jira/browse/FLINK-23982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720821#comment-17720821 ]
Matthias Pohl commented on FLINK-23982:
---------------------------------------
It's happened once again in this run: https://dev.azure.com/mapohl/flink/_build/results?buildId=1310&view=logs&j=d63a5fc4-24ea-51df-9ade-fa4330af161c&t=977479f1-49ea-5c4c-884c-4646ed1443ab&l=2881
{code}
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/vsts/work/1/s/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperatorMigrationTest.java:[979,43] incompatible types: cannot infer type arguments for org.apache.flink.streaming.runtime.operators.windowing.WindowOperator<>
reason: inference variable K has incompatible equality constraints OUT,T,IN,OUT,ACC,org.apache.flink.api.java.tuple.Tuple2<org.apache.flink.streaming.runtime.operators.windowing.NonPojoType,java.lang.Integer>,K,K,org.apache.flink.streaming.runtime.operators.windowing.NonPojoType,KEY
[INFO] 1 error
{code}
The build from the Jira issue's description is not available anymore. But AFAIU, it happened in the JDK11 stage based on [~xtsong]'s description. The more recent error appeared in the {{e2e_1_ci_build}} stage which is based on {{Java version: 1.8.0_362, vendor: Temurin}}
> Compiling error in WindowOperatorTest with JDK11
> ------------------------------------------------
>
> Key: FLINK-23982
> URL: https://issues.apache.org/jira/browse/FLINK-23982
> Project: Flink
> Issue Type: Bug
> Components: Build System
> Affects Versions: 1.14.0
> Reporter: Xintong Song
> Priority: Major
> Labels: test-stability
>
> What I don't understand is, while the error does not seem to be environment related, the other JDK11 compiling stages in the same build did not fail.
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=22855&view=logs&j=6caf31d6-847a-526e-9624-468e053467d6&t=0b23652f-b18b-5b6e-6eb6-a11070364610&l=3650
> {code}
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/vsts/work/1/s/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperatorTest.java:[678,43] incompatible types: cannot infer type arguments for org.apache.flink.streaming.runtime.operators.windowing.WindowOperator<>
> reason: inference variable KEY has incompatible equality constraints ACC,org.apache.flink.api.java.tuple.Tuple2<java.lang.String,java.lang.Integer>,IN,K,java.lang.String
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)