[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make) on project hadoop-common: An Ant BuildException has occured: exec returned: 2
[ERROR] around Ant part ...... @ 7:124 in /opt/hadoop-2.7.4-src/hadoop-common-project/hadoop-common/target/antrun/build-main.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] Apache Software Foundation
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :hadoop-common
可参考:
“【绝对有效,从头开始自己一步一步测试的】CentOs 8.0 下安装Hadoop环境搭建”
【绝对有效,从头开始自己一步一步测试的】CentOs 8.0 下安装Hadoop环境搭建_一扣解千愁的博客-CSDN博客 CentOs 8.0 下安装Hadoop 在Linux系统下安装Hadoop环境具体流程:1. 首先安装java jdk1.8有两种方法: 安装Oracle的jdk(相对复杂); 安装OpenJDK(相对简单,我安装的是这种); 这两种jdk的区别,给个链接大家去看 https://www.php.cn/java-article-415831.... https://blog.csdn.net/qq_37344125/article/details/102838087
如有帮助,望及时采纳