【发布时间】:2016-10-28 08:54:11
【问题描述】:
我正在尝试在运行 Ubuntu 的旧计算机上安装 Apache Zeppelin。到目前为止,我可以通过克隆最新的 0.6.0 快照版本非常轻松地安装 Zeppelin
git clone https://github.com/apache/incubator-zeppelin.git
cd incubator-zeppelin
mvn clean package -DskipTests
但我想在 Zeppelin 上使用 R。据说 0.6.0 的快照有两个 R 解释器,但是当我运行 R 教程(使用 %r 的预制注释)时,I get this list of errors.
我按照几个指南尝试安装 R 作为解释器,但每个都导致了某种错误。我试过这个教学: http://www.r-bloggers.com/interactive-data-science-with-r-in-apache-zeppelin-notebook/,在“R 解释器”上构建失败。错误消息是
"dependency 'evaluate' is not available for package 'rzeppelin'
* removing '/home/rebecca/Zeppelin-With-R/R/lib/rzeppelin'"
然后再往下一点
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default) on project zeppelin-zrinterpreter: Command execution failed. Process exited with an error: 1
我还尝试了这个 Stack Overflow 指南:Anyone tried to add R interpreter onto Apache Zeppelin?,虽然我能够运行 incubator-zeppelin,但当我使用 %spark.r 或 %r 解释器标签时收到一个错误,说“解释器不是找到”和“未找到前缀”。在遵循第一个解决方案后,Spark 也不起作用,得到第二个解决方案中提到的相同错误(jar 文件不存在),然后尝试第二个解决方案。
有人有在最新版本的 Zeppelin 上安装 R 的指南吗?我的安装方式非常灵活。我可以在我的计算机上运行其他操作系统,并且我还在我的另一台计算机上安装了 Virtual Box,这是一台 mac。
【问题讨论】:
-
我也在网上看到了这个指南:gist.github.com/nsabharwal/9163e0adfc66af080145,但不确定它是如何工作的。
标签: r apache apache-zeppelin