我想在我的windows機器上安裝hadoop。 我下面這個指南:https://wiki.apache.org/hadoop/Hadoop2OnWindows 但是當我必須執行這一行:hadoop windows org.codehaus.mojo:exec-maven-plugin
mvn package -Pdist,native-win -DskipTests -Dtar
我有這樣的錯誤:
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (com
pile-ms-winutils) on project hadoop-common: Command execution failed. Process ex
ited with an error: 1(Exit value: 1) -> [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
非常感謝您的幫助。
Alex
儘管此鏈接可能會回答問題,但最好在此處包含答案的基本部分,並提供供參考的鏈接。如果鏈接頁面更改,則僅鏈接答案可能會失效。 – pirho 2017-12-05 09:11:36
謝謝提及。該鏈接有我自己的答案,但我仍然會發布原始答案。 – 2017-12-05 09:19:01
好吧,它可能不會從SO刪除。我仍然不確定複製是否是最佳解決方案,而是考慮將問題標記爲與已經回答的問題相同的問題。 – pirho 2017-12-05 09:21:52