flink编译报错

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

flink编译报错

penguin.
求助!编译flink1.11.1源码时,报错:Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm (install node and npm) on project flink-runtime-web_2.11: Could not download Node.js: Got error code 404 from the server.


按照网上说的修改了flink-runtime-web的pom文件依然是这个问题

Reply | Threaded
Open this post in threaded view
|

Re: flink编译报错

Ruguo Yu
试下这个命令
mvn clean install -DskipTests -Dfast -Drat.skip=true -Dhaoop.version=2.7.6
-Dinclude-hadoop -Dscala-2.11 -T2C
其中,-Dhaoop.version 为 hadoop 版本号



--
Sent from: http://apache-flink.147419.n8.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: flink编译报错

Yun Tang
Hi,

国内网络环境不太好,其实问题是node.js 安装有问题,可以考虑单独安装一下node js和npm,如果还是不行,在不需要webui的前提下,可以编译时候加上profile “-Pskip-webui-build” 来skip掉该部分的编译。

祝好
唐云
________________________________
From: Ruguo Yu <[hidden email]>
Sent: Tuesday, January 12, 2021 14:00
To: [hidden email] <[hidden email]>
Subject: Re: flink编译报错

试下这个命令
mvn clean install -DskipTests -Dfast -Drat.skip=true -Dhaoop.version=2.7.6
-Dinclude-hadoop -Dscala-2.11 -T2C
其中,-Dhaoop.version 为 hadoop 版本号



--
Sent from: http://apache-flink.147419.n8.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: flink编译报错

nobleyd
设置下镜像可以。

Yun Tang <[hidden email]> 于2021年1月12日周二 下午5:37写道:

> Hi,
>
> 国内网络环境不太好,其实问题是node.js 安装有问题,可以考虑单独安装一下node
> js和npm,如果还是不行,在不需要webui的前提下,可以编译时候加上profile “-Pskip-webui-build”
> 来skip掉该部分的编译。
>
> 祝好
> 唐云
> ________________________________
> From: Ruguo Yu <[hidden email]>
> Sent: Tuesday, January 12, 2021 14:00
> To: [hidden email] <[hidden email]>
> Subject: Re: flink编译报错
>
> 试下这个命令
> mvn clean install -DskipTests -Dfast -Drat.skip=true -Dhaoop.version=2.7.6
> -Dinclude-hadoop -Dscala-2.11 -T2C
> 其中,-Dhaoop.version 为 hadoop 版本号
>
>
>
> --
> Sent from: http://apache-flink.147419.n8.nabble.com/
>
Reply | Threaded
Open this post in threaded view
|

Re: flink编译报错

wxpcc
In reply to this post by penguin.
mvn clean install -T 4C -Pfast -DskipTests -Dcheckstyle.skip=true
-DnpmRegistryURL=https://registry.npm.taobao.org 可以用这个试试



--
Sent from: http://apache-flink.147419.n8.nabble.com/