【问题标题】:Unable to Build and Package Apache Toree无法构建和打包 Apache Toree
【发布时间】:2018-04-09 13:59:08
【问题描述】:

为了让 EclairJS 客户端与 Apache Spark 通信,它需要一个正在运行的 Apache Toree 实例,并且 Toree 必须能够连接到您的 Spark 主服务器。

先决条件

Java 8 更新 70 或更高版本

说明

下载使用 Hadoop 2.7 构建的 Apache Spark 2.0.0 并将其从存档中解压缩。

安装 Jupyter(例如pip install jupyter)和 Jupyter 内核网关(pip install jupyter-kernel-gateway

下载并构建 Apache Toree

$ git clone https://github.com/apache/incubator-toree

$ cd incubator-toree

$ git checkout e8ecd0623c65ad104045b1797fb27f69b8dfc23f

$ make dist

在构建 Apache Toree 时,我在上述步骤中遇到错误:

APACHE_SPARK_VERSION=2.0.0 VERSION=0.2.0.dev1-incubating IS_SNAPSHOT=true sbt toree/assembly
/bin/sh: 1: sbt: not found
Makefile:133: recipe for target 'target/scala-2.11/toree-assembly-0.2.0.dev1-incubating-SNAPSHOT.jar' failed
make: *** [target/scala-2.11/toree-assembly-0.2.0.dev1-incubating-SNAPSHOT.jar] Error 127

我不知道下一步该怎么做,谁能帮助我!

【问题讨论】:

    标签: apache-spark jupyter apache-toree


    【解决方案1】:

    您的构建失败,因为您需要安装 sbt(Scala 构建工具)。你可以从 SBT 网站下载它,这里:https://www.scala-sbt.org/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-03-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-04-11
      • 2017-04-03
      相关资源
      最近更新 更多