我想在windows7 64位上安装hadoop单节点安装程序。我已经安装了cygwin、windowsdk7.1、maven 3.1.1和jdk1.6.33。
在Windows7上运行hadoop单节点设置非常麻烦。
在构建“mvn package-pdist,native win-dskiptests-dtar”时,我遇到了以下错误。
有人能帮我修复这个错误,或者用其他方法在Windows7 64位上构建hadoop吗?
错误日志部分如下:
[INFO] Apache Hadoop Main ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 41.461s
[INFO] Finished at: Wed Jun 11 19:42:25 IST 2014
[INFO] Final Memory: 53M/339M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
5.1:compile (default-compile) on project hadoop-common: Compilation failure: Com
pilation failure:
[ERROR] D:\hdfs\hadoop-common-project\hadoop-common\src\main\java\org\apache\had
oop\ipc\protocolPB\RefreshCallQueueProtocolPB.java:[26,65] package org.apache.ha
doop.ipc.proto.RefreshCallQueueProtocolProtos does not exist
[ERROR] D:\hdfs\hadoop-common-project\hadoop-common\src\main\java\org\apache\had
oop\ipc\protocolPB\RefreshCallQueueProtocolPB.java:[36,33] package RefreshCallQu
eueProtocolService does not exist
[ERROR] D:\hdfs\hadoop-common-project\hadoop-common\src\main\java\org\apache\had
oop\ipc\protocolPB\RefreshCallQueueProtocolServerSideTranslatorPB.java:[24,65] p
ackage org.apache.hadoop.ipc.proto.RefreshCallQueueProtocolProtos does not exist
2条答案
按热度按时间46scxncf1#
你无缘无故地让自己变得复杂:如果你的系统是32位的,你只需要在windows中构建hadoop(祝你好运:我已经试了3周了!)。因为您的系统是64位的,所以您只需要下载一个预编译包
wztqucjr2#
您可以从以下url下载最新的hadoop版本: