39

Zeppelin 源码分析(一):源码环境搭建

 4 years ago
source link: https://www.tuicool.com/articles/QVZz6n7
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

更新至 Zeppelin 0.8.0 版本

环境:

  • Git
  • JDK 1.7 及以上版本
  • Maven 3.1.X 及以上版本

下载

从 GitHub 克隆代码:

git clone https://github.com/apache/zeppelin.git

切换到 0.8.0 版本:

git checkout -b v0.8.0

更新所有 pom.xml 文件使用 Scala 2.11 版本:

./dev/change_scala_version.sh 2.11

以 Hadoop 2.X 版本、Spark 2.2 版本为例,打包:

mvn clean package -DskipTests -Pbuild-sistr -Pspark-2.2 -Phadoop2 -Pscala-2.11

可选的 Spark 版本有:

  • spark-1.4
  • spark-1.5
  • spark-1.6
  • spark-2.0
  • spark-2.1
  • spark-2.2
  • spark-2.3

可选的 Hadoop 版本有:

  • hadoop2
  • hadoop3

可选的 Scala 版本有:

  • scala-2.10
  • scala-2.11

运行

配置:

  • 环境变量: HADOOP_HOMEJAVA_HOME
  • 入口类: org.apache.zeppelin.server.Application

运行,浏览器访问 http://127.0.0.1:8080

参考


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK