spark build问题
http://spark.apache.org/docs/latest/building-spark.html#building-with-buildmvn
mvn-Pyarn-Phadoop-2.4-Dhadoop.version=2.4.0-DskipTestscleanpackage
mvn-e-DargLine=-Xmx1024m-Pyarn-Phadoop-2.4-Dhadoop.version=2.4.0-DskipTestscleanpackage
-e查询具体error
看到错误后再用eclipse配置jvm参数编译:
解决Maven中OutOfMemory错误
mvninstall-Dmaven.test.skip=true
跳过单元测试
进入core目录,删除target目录下的所有文件,因为怕是原来的编译错误造成这里留下残余的文件影响编译成功,然后输入下面命令:
C:\Users\sz165\spark-1.4.1\core>mvninstall-e-X-Pyarn-Phadoop-2.4-Dhadoop.version=2.4.0-Phive-Phive-thriftserver-Dmaven.test.skip=truecleanpackage
相关推荐
旭灿 2020-09-30
WenCoo 2020-09-16
TuxedoLinux 2020-08-28
hongsheyoumo 2020-08-19
wintelx 2020-08-09
insularisland 2020-08-09
cwgxiaoguizi 2020-08-09
benico 2020-07-28
nebulali 2020-07-26
chenkai00 2020-07-26
tengyuan 2020-07-26
zhongcanw 2020-07-25
89590098 2020-07-19
dongfangxiaozi 2020-07-19
学峰的学习笔记 2020-07-18
深井兮兮 2020-07-18
NeverAgain 2020-07-06