spark编译没有成功
来源:3-2 -Spark源码编译
一丢丢的小罪恶
2018-11-04
在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
显示结果为:
[xxx@hadoop01 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 ./make-distribution.sh
++ cd ./…
++ pwd
- SPARK_HOME=/home/xxx/app/spark-2.1.0
- DISTDIR=/home/xxx/app/spark-2.1.0/dist
- MAKE_TGZ=false
- MAKE_PIP=false
- MAKE_R=false
- NAME=none
- MVN=/home/xxx/app/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 /home/xxx/app/jdk1.8.0_131 ‘]’
- ‘[’ -z /home/xxx/app/jdk1.8.0_131 ‘]’
++ command -v git - ‘[’ ‘]’
++ command -v /home/xxx/app/spark-2.1.0/build/mvn - ‘[’ ‘!’ /home/xxx/app/spark-2.1.0/build/mvn ‘]’
++ tail -n 1
++ grep -v INFO
++ /home/xxx/app/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 - VERSION=
随后查询:sudo find / -name 'spark-2.1.0-bin-2.6.0-cdh5.7.0.tgz’
没有结果
所以这样是失败了么?老师有处理的建议么
写回答
2回答
-
Michael_PK
2018-11-04
贴出来看看
00 -
Michael_PK
2018-11-04
有报错信息不
092018-11-06
相似问题