network isOK?I think you need to cross the wall for the network, maybe your download package is not complete
Best Regards --------------- DolphinScheduler(Incubator) PPMC Lidong Dai 代立冬 [email protected] --------------- On Sat, Nov 7, 2020 at 11:42 AM 何晓庆 <[email protected]> wrote: > 你好: > > > 我从 > https://dolphinscheduler.apache.org/en-us/docs/release/download.html > 下载的1.3.2的源码,在用maven编译dolphinscheduler是报错: > > > ``` > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.3:compile > (default-compile) on project dolphinscheduler-common: Compilation failure: > Compilation failure: > > [ERROR] > 读取/Users/troll/.m2/repository/org/apache/hadoop/hadoop-common/2.7.3/hadoop-common-2.7.3.jar时出错; > zip file is empty > > [ERROR] > 读取/Users/troll/.m2/repository/org/apache/hadoop/hadoop-common/2.7.3/hadoop-common-2.7.3.jar时出错; > zip file is empty > > [ERROR] > /Users/troll/Downloads/apache-dolphinscheduler-incubating-1.3.2-src-release/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java:[30,30] > 程序包org.apache.hadoop.conf不存在 > > [ERROR] > /Users/troll/Downloads/apache-dolphinscheduler-incubating-1.3.2-src-release/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java:[32,28] > 找不到符号 > > [ERROR] 符号: 类 FileSystem > > [ERROR] 位置: 程序包 org.apache.hadoop.fs > > [ERROR] > /Users/troll/Downloads/apache-dolphinscheduler-incubating-1.3.2-src-release/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java:[33,34] > 程序包org.apache.hadoop.security不存在 > > [ERROR] > /Users/troll/Downloads/apache-dolphinscheduler-incubating-1.3.2-src-release/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java:[77,13] > 找不到符号 > > [ERROR] 符号: 类 Configuration > > [ERROR] 位置: 类 org.apache.dolphinscheduler.common.utils.HadoopUtils > > [ERROR] > /Users/troll/Downloads/apache-dolphinscheduler-incubating-1.3.2-src-release/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java:[78,13] > java.io.FileSystem在java.io <http://java.io.xn--filesystemjava-zw5y.io>中不是公共的; > 无法从外部程序包中对其进行访问 > > [ERROR] > /Users/troll/Downloads/apache-dolphinscheduler-incubating-1.3.2-src-release/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java:[179,12] > 找不到符号 > > [ERROR] 符号: 类 Configuration > > [ERROR] 位置: 类 org.apache.dolphinscheduler.common.utils.HadoopUtils > > [ERROR] > /Users/troll/Downloads/apache-dolphinscheduler-incubating-1.3.2-src-release/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java:[368,12] > 找不到符号 > > [ERROR] 符号: 类 FileStatus > > [ERROR] 位置: 类 org.apache.dolphinscheduler.common.utils.HadoopUtils > > [ERROR] > /Users/troll/Downloads/apache-dolphinscheduler-incubating-1.3.2-src-release/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java:[596,26] > 无法访问org.apache.hadoop.ha.HAAdmin > > [ERROR] 找不到org.apache.hadoop.ha.HAAdmin的类文件 > > [ERROR] > /Users/troll/Downloads/apache-dolphinscheduler-incubating-1.3.2-src-release/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java:[21,30] > 程序包org.apache.hadoop.conf不存在 > > [ERROR] > /Users/troll/Downloads/apache-dolphinscheduler-incubating-1.3.2-src-release/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java:[22,34] > 程序包org.apache.hadoop.security不存在 > > [ERROR] > /Users/troll/Downloads/apache-dolphinscheduler-incubating-1.3.2-src-release/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java:[95,9] > 找不到符号 > > ``` > > > 这里使用到了haddoop的一些工具类,都找不到,是源码版本号的问题吗? > > > ``` > > $ mvn -version > > Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) > > Maven home: /Users/troll/softs/apache-maven-3.6.3 > > Java version: 1.8.0_201, vendor: Oracle Corporation, runtime: > /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre > > Default locale: zh_CN, platform encoding: UTF-8 > > ```
