hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Esteban Gutierrez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14956) [HBase ZKcli] JLine support is disabled. Better to enable this in HBase.
Date Wed, 16 Dec 2015 05:22:46 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15059513#comment-15059513

Esteban Gutierrez commented on HBASE-14956:

That approach will cause issues when we bump JRuby to a newer version and altering the classpath
in that way it will make difficult to keep things consistent. As I mentioned, this was caused
by ZOOKEEPER-1718 and looking at master and branch-1 we still require ZooKeeper 3.4.6 so it
shouldn't be a problem unless you are using a different version of ZK in your deployment.

> [HBase ZKcli] JLine support is disabled. Better to enable this in HBase. 
> -------------------------------------------------------------------------
>                 Key: HBASE-14956
>                 URL: https://issues.apache.org/jira/browse/HBASE-14956
>             Project: HBase
>          Issue Type: Bug
>          Components: Client, Zookeeper
>    Affects Versions: 1.0.2
>            Reporter: Y. SREENIVASULU REDDY
>            Assignee: Pankaj Kumar
> To perform the zkcli operations using hbase, 
> jline is disabled,
> {code}
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was
>         at jline.TerminalFactory.create(TerminalFactory.java:101)
>         at jline.TerminalFactory.get(TerminalFactory.java:158)
>         at jline.console.ConsoleReader.<init>(ConsoleReader.java:229)
>         at jline.console.ConsoleReader.<init>(ConsoleReader.java:221)
>         at jline.console.ConsoleReader.<init>(ConsoleReader.java:209)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
>         at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:335)
>         at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:303)
>         at org.apache.hadoop.hbase.zookeeper.ZooKeeperMainServer.main(ZooKeeperMainServer.java:108)
> JLine support is disabled
> {code}
> To enable this jline-<version>.jar is needed in hbase libraries.
> eg: jline-2.11.jar should be exist in hbase/lib directory.

This message was sent by Atlassian JIRA

View raw message