编译星火斯卡拉2.11 [英] Compile Spark for Scala 2.11
本文介绍了编译星火斯卡拉2.11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在编译星火使用Scala 2.11我们得到火花-SQL相关的错误。
When compiling Spark with Scala 2.11 we get errors associated with spark-sql.
build/mvn -Dscala-2.11 -DskipTests clean package
星火构建文档说:星火还不支持斯卡拉2.11的JDBC组件的
必须有编制没有这一种方式。
There has to be a way to compile without this.
我如何编译斯卡拉2.11星火?
推荐答案
建立运行之前:
./dev/change-scala-version.sh 2.11
要改变斯卡拉版本。奇怪的是,这不是在文档中提到。
to change the Scala version. Strangely, this is not mentioned in the docs.
此外,该错误可能直接引发-SQL是没有关系的,而是一些依赖性被使用Scala 2.10编译
Additionally the error probably isn't related to spark-sql directly but rather some dependency that was compiled with Scala 2.10.
这篇关于编译星火斯卡拉2.11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文