我无法在Windows 8系统上构建Hadoop。我一直收到这个错误:
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.1:exec (compile-ms-native-dll) on project hadoop-common: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.1:exec (compile-ms-native-dll) on project hadoop-common: Command execution failed.
我已安装:
来自Building.txt: " Unix命令行工具也包含在Windows Git包中 可以从http://git-scm.com/download/win下载。"
我尝试安装的Hadoop版本是2.7.0 ...感谢任何帮助
编辑:
我的PATH变量:
C:\ ProgramData \ Oracle \ Java \ javapath; C:\ Program Files (x86)\ Parallels \ Parallels T. ools \应用; C:\ WINDOWS \ SYSTEM32; C:\ WINDOWS; C:\ WINDOWS \ SYSTEM32 \ WBEM; C:\ WIN dows \ System32 \ WindowsPowerShell \ v1.0 \; C:\ Program Files(x86)\ Windows 套件\ 8.1 \ Wi ndows Performance Toolkit \; C:\ Program Files \ Microsoft SQL Server \ 110 \ Tools \ Binn \; C:\ Program Files(x86)\ Microsoft SDKs \ TypeScript \ 1.0 \; C:\ Program Files \ Microsof t SQL 服务器\ 120个\工具\ BINN \; C:\ Ruby21-64 \ BIN; C:\ PROGRAM 文件\ SlikSvn \ BIN; C:\ P ython27; C:\ Java的\ JDK \ BIN; C:\蚂蚁\ BIN; C:\ Python27; C:\ Python27 \ Scripts中; C:\ PROGRAM 文件(x86)\ Microsoft SQL Server \ 110 \ Tools \ Binn \ ManagementStudio \; c:\ Program File s (x86)\ Microsoft SQL Server \ 110 \ Tools \ Binn \; c:\ Program Files (x86)\ Microsoft Vi sual Studio 10.0 \ Common7 \ IDE \ PrivateAssemblies \; c:\ Program Files(x86)\ Microsoft SQL Server \ 110 \ DTS \ Binn \; C:\ Program Files \ Microsoft SQL Server \ 110 \ DTS \ Binn \; C:\ Program Files (86)\ CMake的\ BIN; C:\ protobuf的; C:\行家\ BIN; C:\爪哇\ JDK \ BIN; C:\ gnuwi N32 \ BIN; C:\ Hadoop的\ BIN; C:\ Hadoop的\ sbin目录; C:\ CMake的\ BIN; C:\ WINDOWS \ Microsoft.NET \框架 work64 \ v4.0.30319; C:\ cygwin64; C:\ Program Files \ Microsoft Windows 性能太lkit \; C:\ Program Files(x86)\ Git \ cmd; C:\ Program Files (86)\ GIT中\ BIN
答案 0 :(得分:0)
在制作新的Windows虚拟机并仅安装必需的先决条件后,我能够构建Hadoop。我想之前我有一些混乱的环境变量。
编辑:
您可以在此处找到生成的文件:https://dl.dropboxusercontent.com/u/35333361/hadoop-2.7.0.7z