编译安装报错3

来源:10-8 -Azkaban源码编译

爬行的蜗牛2019

2020-03-14

PK 哥 ,
你好, 按照你视频中的方法, 先下载gradle-4.1-all.zip, 更改配置文件,
然后编译安装, 报错, 请问是啥原因呢,
[root@spark:azkaban-3.40.0]$ ./gradlew build installDist
Deleting directory /root/.gradle/wrapper/dists/gradle-wrapper/av3htln8bkhtm1yzas9hel4ih/META-INF
Deleting directory /root/.gradle/wrapper/dists/gradle-wrapper/av3htln8bkhtm1yzas9hel4ih/org
Unzipping /root/.gradle/wrapper/dists/gradle-wrapper/av3htln8bkhtm1yzas9hel4ih/gradle-wrapper.jar to /root/.gradle/wrapper/dists/gradle-wrapper/av3htln8bkhtm1yzas9hel4ih
Exception in thread “main” java.lang.RuntimeException: Gradle distribution ‘file:/data/ak/azkaban-3.40.0/gradle/wrapper/gradle-wrapper.jar’ contains too many directories. Expected to find exactly 1 directory.
at org.gradle.wrapper.Install.getAndVerifyDistributionRoot(Install.java:119)
at org.gradle.wrapper.Install.access$000(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:77)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)

写回答

1回答

Michael_PK

2020-03-14

你这个file:/data/ak/azkaban-3.40.0/gradle/wrapper/gradle-wrapper.jar路径是否存在?   

最终的效果是wrapper下一个三个文件:gradle-wrapper.jar  gradle-wrapper.properties  和一个zip包

0
2
Michael_PK
回复
qq_咕b_0
你们的肯定是自己弄的路径有问题。最简单的方法,不自动下载,大不了慢点,让它自动去下载
2020-08-09
共2条回复

Python3实战Spark大数据分析及调度

使用Python3对Spark应用程序进行开发调优,掌握Azkaban任务调度

1046 学习 · 434 问题

查看课程