问题描述
我试图在我的Windows机器上安装hadoop。我遵循本指南:
但是当我必须执行这一行时:
mvn package -Pdist,native-win -DskipTests -Dtar
我有这个错误:
[错误]无法执行目标org.codehaus.mojo:exec-maven-plugin:1.2:exec(compile-ms-winutils)关于项目hadoop-common:命令执行失败。进程退出并出现错误:1(退出值:1) - > [帮助1] [错误] [错误]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven [错误]使用-X开关重新运行Maven以启用完整的调试日志记录[错误] [错误]有关错误和可能的解决方案的更多信息,请阅读以下文章:[错误] [帮助1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
我已阅读此文,并确保您安装了适当的工具。
I am trying to install hadoop on my windows machine.I am following this guide: https://wiki.apache.org/hadoop/Hadoop2OnWindowsbut when I have to execute this line:
mvn package -Pdist,native-win -DskipTests -Dtar
I have this error:
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (com
pile-ms-winutils) on project hadoop-common: Command execution failed. Process ex
ited with an error: 1(Exit value: 1) -> [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
I already read this post build hadoop 2.2 on windowsbut I am not able to understand how to solve.
Thank you in advance for your help.
Alex
You ran that command from a Windows SDK Command Prompt, right? Taking a look at this guide I wrote recently and make sure you have the proper tools installed.
这篇关于hadoop windows org.codehaus.mojo:exec-maven-plugin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!