簡體   English   中英

Windows上的Hadoop構建錯誤

[英]Hadoop on Windows Building Error

我已經在我的計算機上安裝了hadoop,刪除了源文件夾,並想重新安裝。 但是我在此錯誤失敗:

[INFO] Apache Hadoop KMS .................................. FAILURE [  8.050 s]

我嘗試了所有可以在互聯網上找到的內容,但錯誤仍然存​​在。

錯誤:

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:50 min
[INFO] Finished at: 2016-07-27T14:57:47+02:00
[INFO] Final Memory: 97M/1061M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:
run (dist) on project hadoop-kms: An Ant BuildException has occured: exec return
ed: 2
[ERROR] around Ant part ...<exec dir="C:\Users\yzi1\hadoop-2.7.1-src\hadoop-comm
on-project\hadoop-kms\target" executable="sh" failonerror="true">... @ 10:121 in
 C:\Users\yzi1\hadoop-2.7.1-src\hadoop-common-project\hadoop-kms\target\antrun\b
uild-main.xml
[ERROR] -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :hadoop-kms

救命

我不知道該怎么辦,我覺得我嘗試了一切。 請幫助我解決此錯誤。

我試過在Windows系統上運行Hadoop,我的解決方案始終是使用Linux VM。 就您而言,我認為螞蟻在您的系統上找不到sh。 如果您確實需要在Windows上構建Hadoop,則可以在這里查看http://wiki.apache.org/hadoop/Hadoop2OnWindows 但是,Windows上的Hadoop同樣令人痛苦,並且僅部分受支持。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM