Apache zeppelin 教程,错误“找不到 sql 解释器" [英] Apache zeppelin tutorial, error "sql interpreter not found"

查看:30
本文介绍了Apache zeppelin 教程,错误“找不到 sql 解释器"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Zeppelin 教程"笔记本中,我无法使用 %sql 解释器.它将输出sql interpreter not found".但是 spark 命令工作正常,以及 %md%sh.

In the "Zeppelin tutorial" notebook, I can't use the %sql interpreter. It will output "sql interpreter not found". But the spark commands work fine, as well as %md and %sh.

这是日志:

ERROR [2015-10-20 10:13:35,045] ({qtp885851948-51} NotebookServer.java[runParagraph]:615) - 运行异常org.apache.zeppelin.interpreter.InterpreterException: 找不到 sql 解释器在 org.apache.zeppelin.notebook.NoteInterpreterLoader.get(NoteInterpreterLoader.java:148)在 org.apache.zeppelin.notebook.Note.run(Note.java:282)在 org.apache.zeppelin.socket.NotebookServer.runParagraph(NotebookServer.java:613)在 org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:126)在 org.apache.zeppelin.socket.NotebookSocket.onMessage(NotebookSocket.java:56)在 org.eclipse.jetty.websocket.WebSocketConnectionRFC6455$WSFrameHandler.onFrame(WebSocketConnectionRFC6455.java:835)在 org.eclipse.jetty.websocket.WebSocketParserRFC6455.parseNext(WebSocketParserRFC6455.java:349)在 org.eclipse.jetty.websocket.WebSocketConnectionRFC6455.handle(WebSocketConnectionRFC6455.java:225)在 org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)在 org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)在 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)在 org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)在 java.lang.Thread.run(Thread.java:745)

ERROR [2015-10-20 10:13:35,045] ({qtp885851948-51} NotebookServer.java[runParagraph]:615) - Exception from run org.apache.zeppelin.interpreter.InterpreterException: sql interpreter not found at org.apache.zeppelin.notebook.NoteInterpreterLoader.get(NoteInterpreterLoader.java:148) at org.apache.zeppelin.notebook.Note.run(Note.java:282) at org.apache.zeppelin.socket.NotebookServer.runParagraph(NotebookServer.java:613) at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:126) at org.apache.zeppelin.socket.NotebookSocket.onMessage(NotebookSocket.java:56) at org.eclipse.jetty.websocket.WebSocketConnectionRFC6455$WSFrameHandler.onFrame(WebSocketConnectionRFC6455.java:835) at org.eclipse.jetty.websocket.WebSocketParserRFC6455.parseNext(WebSocketParserRFC6455.java:349) at org.eclipse.jetty.websocket.WebSocketConnectionRFC6455.handle(WebSocketConnectionRFC6455.java:225) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745)

推荐答案

我遇到了同样的错误.问题是取消选择了 spark 解释器.在教程页面顶部,打开齿轮图标并确保spark %spark..."为蓝色,然后点击保存.

I had the same error. The problem was that the spark interpreter was deselected. At the top of the tutorial page, open the gear icon and make sure "spark %spark..." is blue and click save.

这里的用户界面有点混乱.默认情况下,所有解释器都被选中(蓝色).你只需要点击保存"

The UI is a bit confusing here. All interpreters are selected (blue) by default. You just have to click "save"

这篇关于Apache zeppelin 教程,错误“找不到 sql 解释器"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆