编译报错
来源:3-3 补录:Spark源码编译中的坑
Casablanca_
2019-09-15
[root@hadoop001 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=/root/hadoop/source/spark-2.1.0
+ DISTDIR=/root/hadoop/source/spark-2.1.0/dist
+ MAKE_TGZ=false
+ MAKE_PIP=false
+ MAKE_R=false
+ NAME=none
+ MVN=/root/hadoop/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 /root/hadoop/app/jdk1.7.0_51 ']'
+ '[' -z /root/hadoop/app/jdk1.7.0_51 ']'
++ command -v git
+ '[' ']'
++ command -v /root/hadoop/source/spark-2.1.0/build/mvn
+ '[' '!' /root/hadoop/source/spark-2.1.0/build/mvn ']'
++ /root/hadoop/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'
写回答
1回答
-
Michael_PK
2019-09-15
命令后加个-X,看看详细的报错信息。你的机器一定要能联网哦
00
相似问题