Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Flink 1.16-SNAPSHOT fails to build in the flink-runtime-web project because we are using an outdated frontend-maven-plugin (v 1.11.3).
This is the error:
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.3:npm (npm install) on project flink-runtime-web: Failed to run task: 'npm ci --cache-max=0 --no-save ${npm.proxy}' failed. java.io.IOException: Cannot run program "/Users/rmetzger/Projects/flink/flink-runtime-web/web-dashboard/node/node" (in directory "/Users/rmetzger/Projects/flink/flink-runtime-web/web-dashboard"): error=86, Bad CPU type in executable -> [Help 1]
Using the latest frontend-maven-plugin (v. 1.12.1) properly passes the build, because this version downloads the proper arm64 npm version. However, frontend-maven-plugin 1.12.1 requires Maven 3.6.0, which is too high for Flink (highest mvn version for Flink is 3.2.5).
The best workaround is using rosetta on M1 Macs.
Attachments
Issue Links
- is blocked by
-
FLINK-28016 Support Maven 3.3+
- Closed