You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Y. SREENIVASULU REDDY (JIRA)" <ji...@apache.org> on 2015/12/09 08:31:10 UTC

[jira] [Created] (HBASE-14956) [HBase ZKcli] JLine support is disabled. Better to enable this in HBase.

Y. SREENIVASULU REDDY created HBASE-14956:
---------------------------------------------

             Summary: [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


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 expected
        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
(v6.3.4#6332)