You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by "Visser, M.J.H. (Martijn)" <ma...@ing.com> on 2019/04/30 17:09:04 UTC
Can't build Flink for Scala 2.12
Hi all,
I'm trying to build Flink (from current master branch) for Scala 2.12, using:
mvn clean install -Pscala-2.12 -Dscala-2.12 -DskipTests
It fails for me on the with this error:
[ERROR] /home/pa35uq/Workspace/flink/flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/plan/metadata/FlinkRelMetadataQuery.scala:52: error: value EMPTY in class RelMetadataQuery cannot be accessed in object org.apache.calcite.rel.metadata.RelMetadataQuery
[ERROR] Access to protected value EMPTY not permitted because
[ERROR] enclosing package metadata in package plan is not a subclass of
[ERROR] class RelMetadataQuery in package metadata where target is defined
[ERROR] this(RelMetadataQuery.THREAD_PROVIDERS.get, RelMetadataQuery.EMPTY)
[ERROR]
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on project flink-table-planner-blink_2.12: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
Anyone an idea how to fix this?
Best regards,
Martijn
-----------------------------------------------------------------
ATTENTION:
The information in this e-mail is confidential and only meant for the intended recipient. If you are not the intended recipient, don't use or disclose it in any way. Please let the sender know and delete the message immediately.
-----------------------------------------------------------------