安装期间Hadoop错误216

时间:2014-07-01 11:07:24

标签: hadoop sdk

我正在尝试安装hadoop。

使用Sdk命令提示符执行以下命令时:

mvn package -Pdsit,native-win -DskipTests -Dtar

我收到以下错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:
run (pre-dist) on project hadoop-project-dist: An Ant BuildException has occured:
Execute failed: java.io.IOException: Cannot run program "sh" (in directory "C:
\hadoop-2.2.0-src\hadoop-project-dist\target"): CreateProcess error=216, This 
version of %1 is not compatible with the version of Windows you're running. Check
your computer's system information to see whether you need a x86 (32-bit) or x64
(64-bit) version of the program, and then contact the software publisher -> [Help 1]

0 个答案:

没有答案