azkaban-4.0.0安装部署报错

[root@node4 azkaban-4.0.0]# ./gradlew distTar
Downloading file:/opt/azkaban-4.0.0/gradle/wrapper/gradle-4.6-bin.zip
......................................................................
Unzipping /root/.gradle/wrapper/dists/gradle-4.6-bin/4y6ixbxqoy04fh3fmrixvjzpw/gradle-4.6-bin.zip to /root/.gradle/wrapper/dists/gradle-4.6-bin/4y6ixbxqoy04fh3fmrixvjzpw
Set executable permissions for: /root/.gradle/wrapper/dists/gradle-4.6-bin/4y6ixbxqoy04fh3fmrixvjzpw/gradle-4.6/bin/gradle
Parallel execution with configuration on demand is an incubating feature.

> Task :azkaban-web-server:restliTemplateGenerator
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':azkaban-web-server:nodeSetup'.
> Could not resolve all files for configuration ':azkaban-web-server:detachedConfiguration1'.
   > Could not resolve org.nodejs:node:8.10.0.
     Required by:
         project :azkaban-web-server
      > Could not resolve org.nodejs:node:8.10.0.
         > Could not get resource 'https://nodejs.org/dist/v8.10.0/ivy.xml'.
            > Could not GET 'https://nodejs.org/dist/v8.10.0/ivy.xml'. Received status code 403 from server: Forbidden

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 6s
51 actionable tasks: 4 executed, 47 up-to-date

解决方法

安装 nodejs,安装 npm

apt install nodejs
apt install npm

如果还是报这个错,则进入到 azkaban-web-server 目录中,修改 build.gradle 文件中的以下内容

即把 download = true 改为 false,让它使用系统中已经安装好的 nodejs

 

  • 2
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值