[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]#