将 shell 解释器添加到 zeppelin

Adding shell interpreter to zeppelin

我正在使用与另一个名为 insightedge 的内存计算平台捆绑在一起的 zeppelin 0.6.1-SNAPSHOT。我想将其他笔记本导入我的 zeppelin 部署,这需要 shell 解释器 (%sh)。

我尝试通过执行 ./install-interpreter.sh --name shell 命令添加 shell 解释器,但失败并出现错误

Exception in thread "main" java.lang.RuntimeException: Can't find interpreter 'shell'
        at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:141)
        at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:128)
        at org.apache.zeppelin.interpreter.install.InstallInterpreter.main(InstallInterpreter.java:280)

我的 zeppelin 安装上当前安装的解释器是 %spark 和 %md。

请指导我完成将 shell 解释器添加到我的 zeppelin 部署的步骤。谢谢

我能够通过执行命令

在我的 zeppelin 部署上安装 shell 解释器
"./install-interpreter.sh --name shell --artifact org.apache.zeppelin:zeppelin-shell:0.6.1"

如果

"./install-interpreter.sh --name shell --artifact org.apache.zeppelin:zeppelin-shell:0.8.0"

没有帮助你应该尝试添加 zeppelin-shell-0.8.0.jar 工件依赖到 shell 解释器: