Phoenix - 启动客户端服务时的客户端shell异常(Thin& Thick)

时间:2017-10-04 07:03:59

标签: hadoop hbase phoenix

我面对" NoClassDefFoundError"通过终端执行phoenix瘦客户端时。 记录详细信息

Exception Details fro thin clients:
[ERROR] Terminal initialization failed; falling back to unsupported java.lang.NoClassDefFoundError: Could not initialize class org.apache.phoenix.shaded.org.fusesource.jansi.internal.Kernel32 at org.apache.phoenix.shaded.org.fusesource.jansi.internal.WindowsSupport.getConsoleMode(WindowsSupport.java:50) at org.apache.phoenix.shaded.jline.WindowsTerminal.getConsoleMode(WindowsTerminal.java:177) at org.apache.phoenix.shaded.jline.WindowsTerminal.init(WindowsTerminal.java:80) at org.apache.phoenix.shaded.jline.TerminalFactory.create(TerminalFactory.java:101) at org.apache.phoenix.shaded.jline.TerminalFactory.get(TerminalFactory.java:159) at sqlline.SqlLineOpts.<init>(SqlLineOpts.java:45) at sqlline.SqlLine.<init>(SqlLine.java:55) at sqlline.SqlLine.start(SqlLine.java:397) at sqlline.SqlLine.main(SqlLine.java:291) at org.apache.phoenix.queryserver.client.SqllineWrapper.main(SqllineWrapper.java:93) [ERROR] Terminal initialization failed; falling back to unsupported java.lang.NoClassDefFoundError: Could not initialize class org.apache.phoenix.shaded.org.fusesource.jansi.internal.Kernel32 at org.apache.phoenix.shaded.org.fusesource.jansi.internal.WindowsSupport.getConsoleMode(WindowsSupport.java:50) at org.apache.phoenix.shaded.jline.WindowsTerminal.getConsoleMode(WindowsTerminal.java:177) at org.apache.phoenix.shaded.jline.WindowsTerminal.init(WindowsTerminal.java:80) at org.apache.phoenix.shaded.jline.TerminalFactory.create(TerminalFactory.java:101) at sqlline.SqlLine.getConsoleReader(SqlLine.java:723) at sqlline.SqlLine.begin(SqlLine.java:657) at sqlline.SqlLine.start(SqlLine.java:398) at sqlline.SqlLine.main(SqlLine.java:291) at org.apache.phoenix.queryserver.client.SqllineWrapper.main(SqllineWrapper.java:93) Setting property: [incremental, false] Setting property: [isolation, TRANSACTION_READ_COMMITTED] issuing: !connect jdbc:phoenix:thin:url=http://localhost:8765;serialization=PROTOBUF none none org.apache.phoenix.queryserver.client.Driver Connecting to jdbc:phoenix:thin:url=http://localhost:8765;serialization=PROTOBUF Connected to: Apache Phoenix (version unknown version) Driver: Phoenix Remote JDBC Driver (version unknown version) Autocommit status: true Transaction isolation: TRANSACTION_READ_COMMITTED Building list of tables and columns for tab-completion (set fastconnect to true to skip)... 92/92 (100%) Done Done sqlline version 1.2.0 0: jdbc:phoenix:thin:url=http://localhost:876>

环境详情

OS - windows 7, 8.1 & 10. 
JAVA - jdk 1.7.0_51
Phoenix - 4.11.0-HBase1.2 

在Linux中 - 没有错误信息被复制。

我该怎么做才能解决这个问题。

0 个答案:

没有答案