運行 ./make-distribution.sh --hadoop 2.2.0 --with-yarn --with-hive --with-tachyon --tgz 的時候很快腳本退出了。。
跟了一下,錯誤是make-distribution.sh腳本中第92行 VERSION=$(mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep -v "INFO" | tail -n 1)
我單獨運行mvn help:evaluate -Dexpression=project.version, 錯誤提示是:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.488 s
[INFO] Finished at: 2014-07-28T12:53:24+08:00
[INFO] Final Memory: 6M/21M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'help' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/gzl/.m2/repository), central (http://repo.maven.apache.org/maven2)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
誰知道是哪里錯了呀?
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/105641.html
標籤:Spark