在zeppelin的jdbc解释器中找不到解释器配置单元

时间:2017-03-24 09:18:57

标签: hadoop jdbc hive apache-zeppelin

我在我的centOS系统上安装了zeppelin。它没有在JDBC解释器下列出配置单元。

我的系统上安装了hive。 Hive Metastore和hiveserver2正在运行。 HIVE_HOME和HADOOP_HOME设置正确。

Zeppelin编辑器出错:

paragraph_1490339323949_-1789938581's Interpreter hive not found

Zeppelin日志文件出错:

ERROR [2017-03-24 15:56:18,913] ({qtp1566723494-18} NotebookServer.java[afterStatusChange]:2018) - Error
org.apache.zeppelin.interpreter.InterpreterException: paragraph_1490346145929_-1782899327's Interpreter hive not found
    at org.apache.zeppelin.notebook.Note.run(Note.java:572)
    at org.apache.zeppelin.socket.NotebookServer.persistAndExecuteSingleParagraph(NotebookServer.java:1626)
    at org.apache.zeppelin.socket.NotebookServer.runParagraph(NotebookServer.java:1600)
    at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:263)
    at org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:59)
    at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextMessage(JettyListenerEventDriver.java:128)
    at org.eclipse.jetty.websocket.common.message.SimpleTextMessage.messageComplete(SimpleTextMessage.java:69)
    at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:65)
    at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextFrame(JettyListenerEventDriver.java:122)
    at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.incomingFrame(AbstractEventDriver.java:161)
    at org.eclipse.jetty.websocket.common.WebSocketSession.incomingFrame(WebSocketSession.java:309)
    at org.eclipse.jetty.websocket.common.extensions.ExtensionStack.incomingFrame(ExtensionStack.java:214)
    at org.eclipse.jetty.websocket.common.Parser.notifyFrame(Parser.java:220)
    at org.eclipse.jetty.websocket.common.Parser.parse(Parser.java:258)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.readParse(AbstractWebSocketConnection.java:632)
    at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:480)
    at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    at java.lang.Thread.run(Thread.java:745)

任何帮助将不胜感激。

感谢。

1 个答案:

答案 0 :(得分:0)

您可以通过以下方式解决上述问题: -

1)为jdbc解释器设置以下属性zeppelin.apache.org/docs/0.7.0/interpreter/hive.html

2)使用%jdbc作为口译员

%jdbc select date

希望这有助于!!! ...