安装Hadoop(2.6.5)时出现错误。
我无法弄清楚并解决这个问题。
为什么会发生此错误?
如何解决此错误?
[INFO]
[INFO]反应堆摘要:
[INFO]
[INFO] Apache Hadoop Main .................................成功[ 5.475 s]
[INFO] Apache Hadoop Project POM ...................................成功[ 2.819 s]
[INFO] Apache Hadoop注释...................................成功[ 7.908 s]
[INFO] Apache Hadoop程序集....................................成功[ 0.513 s]
[INFO] Apache Hadoop Project Dist POM ............成功[ 3.950 s]
[INFO] Apache Hadoop Maven插件.................................成功[ 9.448 s]
[INFO] Apache Hadoop MiniKDC .....................成功[ 8.859 s]
[INFO] Apache Hadoop Auth .................................成功[ 10.867 s]
[INFO] Apache Hadoop Auth示例........................成功[ 11.076 s]
[INFO] Apache Hadoop Common ...............................失败[28.798 s] <<这是问题
[INFO] Apache Hadoop NFS ..................................跳过
[INFO] Apache Hadoop KMS ..................................跳过
[INFO] Apache Hadoop Common Project ................................跳过
[INFO] Apache Hadoop HDFS ........................跳过
[INFO] Apache Hadoop HttpFS ...............................跳过
[INFO] Apache Hadoop HDFS BookKeeper Journal ..............跳过
[INFO] Apache Hadoop HDFS-NFS ......................................跳过
[INFO] Apache Hadoop HDFS Project ..................................跳过
[INFO] hadoop-yarn ........................................跳过
[INFO] hadoop-yarn-api ....................................跳过>
[INFO] hadoop-yarn-common ........................跳过
[INFO] hadoop-yarn-server ........................跳过
[INFO] hadoop-yarn-server-common ...................................跳过
[INFO] hadoop-yarn-server-nodemanager .....................跳过
[INFO] hadoop-yarn-server-web-proxy ................................跳过
[INFO] hadoop-yarn-server-applicationhistoryservice .......跳过
[INFO] hadoop-yarn-server-resourcemanager .................跳过
[INFO] hadoop-yarn-server-tests ...........................跳过
[INFO] hadoop-yarn-client ........................跳过
[INFO] hadoop-yarn-applications ...........................跳过
[INFO] hadoop-yarn-applications-distributedshell ..........跳过
[INFO] hadoop-yarn-applications-unmanaged-am-launcher .....跳过
[INFO] hadoop-yarn-site ...................................跳过
[INFO] hadoop-yarn-registry ...............................跳过
[INFO] hadoop-yarn-project ................................跳过
[INFO] hadoop-mapreduce-client .....................................跳过
[INFO] hadoop-mapreduce-client-core ................................跳过
[INFO] hadoop-mapreduce-client-common .....................跳过
[INFO] hadoop-mapreduce-client-shuffle ....................跳过
[INFO] hadoop-mapreduce-client-app ........................跳过
[INFO] hadoop-mapreduce-client-hs ..................................跳过
[INFO] hadoop-mapreduce-client-jobclient ..................跳过
[INFO] hadoop-mapreduce-client-hs-plugins .................跳过
[INFO] Apache Hadoop MapReduce示例...................跳过
[INFO] hadoop-mapreduce ...................................跳过
[INFO] Apache Hadoop MapReduce Streaming ..................跳过
[INFO] Apache Hadoop分布式副本.....................跳过
[INFO] Apache Hadoop存档......................................跳过
[INFO] Apache Hadoop Rumen ................................跳过
[INFO] Apache Hadoop Gridmix .....................跳过
[INFO] Apache Hadoop数据联接.....................................跳过
[INFO] Apache Hadoop Ant任务.....................................跳过
[INFO] Apache Hadoop Extras ...............................跳过
[INFO] Apache Hadoop Pipes ................................跳过
[INFO] Apache Hadoop OpenStack支持....................跳过
[INFO] Apache Hadoop Amazon Web Services支持..........跳过
[INFO] Apache Hadoop Client ...............................跳过
[INFO] Apache Hadoop Mini-Cluster ..................................跳过
[INFO] Apache Hadoop Scheduler负载模拟器.............跳过
[INFO] Apache Hadoop工具区....................................跳过
[INFO] Apache Hadoop Tools ................................跳过
[INFO] Apache Hadoop发行版.........................跳过
[INFO]
[INFO]内置失败
[INFO]
[INFO]总时间:01:37分钟
[INFO]完成于:2018-11-21T15:34:48 + 00:00
[INFO]最终内存:55M / 151M
[INFO]
[错误]无法执行目标 org.apache.maven.plugins:maven-antrun-plugin:1.7:在专案上执行(make) hadoop-common:发生了Ant BuildException:exec返回:2
[错误]蚂蚁部位周围...... @ 7:125英寸 /root/hadoop-2.6.4-src/hadoop-common-project/hadoop-common/target/antrun/build-main.xml
[错误]-> [帮助1]
[错误]
[ERROR]要查看错误的完整堆栈跟踪,请使用 -e开关。
[错误]使用-X开关重新运行Maven以启用完整的调试日志记录。
[错误]
[ERROR]有关错误和可能的解决方案的详细信息, 请阅读以下文章:
[错误] [帮助1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[错误]
[错误]更正问题后,您可以使用重新开始构建 命令
[ERROR] mvn -rf:hadoop-common