请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

spark无法开始编译,我的错误总是那么新颖

[root@hadoop spark-2.1.0]# ./dev/make-distribution.sh --name 2.6.0-cdh5.7.0 --tgz -Pyarn -Phadoop-2.6 -Phive -Phive-thriftserver -Dhadoop.version=2.6.0-cdh5.7.0
+++ dirname ./dev/make-distribution.sh
++ cd ./dev/…
++ pwd

  • SPARK_HOME=/source/spark-2.1.0
  • DISTDIR=/source/spark-2.1.0/dist
  • MAKE_TGZ=false
  • MAKE_PIP=false
  • MAKE_R=false
  • NAME=none
  • MVN=/source/spark-2.1.0/build/mvn
  • (( 8 ))
  • case $1 in
  • NAME=2.6.0-cdh5.7.0
  • shift
  • shift
  • (( 6 ))
  • case $1 in
  • MAKE_TGZ=true
  • shift
  • (( 5 ))
  • case $1 in
  • break
  • ‘[’ -z /app/jdk1.7.0_51 ‘]’
  • ‘[’ -z /app/jdk1.7.0_51 ‘]’
    ++ command -v git
  • ‘[’ ‘]’
    ++ command -v /source/spark-2.1.0/build/mvn
  • ‘[’ ‘!’ /source/spark-2.1.0/build/mvn ‘]’
    ++ /source/spark-2.1.0/build/mvn help:evaluate -Dexpression=project.version -Pyarn -Phadoop-2.6 -Phive -Phive-thriftserver -Dhadoop.version=2.6.0-cdh5.7.0
    ++ grep -v INFO
    ++ tail -n 1
  • VERSION=’[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
    [root@hadoop spark-2.1.0]#

正在回答 回答被采纳积分+3

0回答

问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信