如何源码编译Livy

来源:互联网 发布:mac dock添加图标 编辑:程序博客网 时间:2024/05/22 00:22
首先下载Livy
前置条件:
  • Xcode command line tools
  • Oracle's JDK 1.7+
  • Maven (Homebrew)
  • Python 2.6+
  • R 3.x
  • Livy requires at least Spark 1.6 and supports both Scala 2.10 and 2.11 builds of Spark, Livy will automatically pick repl dependencies through detecting the Scala version of Spark.
  • 需要spark1.6+,Scala 2.10

配置好MVN环境,
git clonehttps://github.com/cloudera/livy.git
cdlivy
mvn -DskipTests clean package
编译成功如下: