在Windows 7 32位计算机上安装Hadoop 2.7.1时出错

时间:2015-07-10 20:32:21

标签: maven hadoop

[INFO] BUILD FAILURE
[INFO]      
[INFO] Total time: 52.048 s
[INFO] Finished at: 2015-07-11T01:42:55+05:30
[INFO] Final Memory: 59M/247M
[INFO] 
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.1:exec (compile-ms-winutils) on project hadoop-common: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException:无法执行目标org.codehaus.mojo:exec-maven-plugin:1.3.1:exec(compile-ms-winutils)项目hadoop-common:命令执行失败

2 个答案:

答案 0 :(得分:0)

您粘贴的错误似乎与此错误相同:Failure during conversion to COFF: file invalid or corrupt

我也碰到了它,我不得不完全卸载.NET Framework 4.5,重新启动然后安装.NET Framework 4.0。有关您可能遇到的其他问题的解决方案,请参阅我的答案:Hadoop on Windows Building/ Installation Error

答案 1 :(得分:0)

验证msbuild.exe在您的路径上