我已经在我的计算机上安装了hadoop一次,我删除了源文件夹,我想再次重新安装。但是我没有遇到这个错误:
[INFO] Apache Hadoop KMS .................................. FAILURE [ 8.050 s]
我尝试了在互联网上找到的所有内容,但错误仍然存在。
错误:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:50 min
[INFO] Finished at: 2016-07-27T14:57:47+02:00
[INFO] Final Memory: 97M/1061M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:
run (dist) on project hadoop-kms: An Ant BuildException has occured: exec return
ed: 2
[ERROR] around Ant part ...<exec dir="C:\Users\yzi1\hadoop-2.7.1-src\hadoop-comm
on-project\hadoop-kms\target" executable="sh" failonerror="true">... @ 10:121 in
C:\Users\yzi1\hadoop-2.7.1-src\hadoop-common-project\hadoop-kms\target\antrun\b
uild-main.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hadoop-kms
帮助
我不知道该怎么做,我觉得我尝试了一切。请帮我解决这个错误。
答案 0 :(得分:0)
我刚刚尝试在Windows系统上运行Hadoop,我的解决方案始终是使用Linux VM。在你的情况下,我认为蚂蚁无法找到你的系统。 如果你真的需要在Windows上构建Hadoop,你可以看看http://wiki.apache.org/hadoop/Hadoop2OnWindows。 但是,Windows上的Hadoop再次令人痛苦,只有部分支持。