get into hadoop home ex: /etc/hadoop/          then
share/hadoop/yarn/lib where you can find jline jar
Thanks & Regards
Amithsha


On Tue, Mar 10, 2015 at 11:50 AM, Xu, Cheng A <cheng.a...@intel.com> wrote:
> Hi,
>
> Can you use linux command *locate* to find jline jar file? It should be
> added into the class path of HIVE. Another way is by running “export
> HADOOP_USER_CLASSPATH_FIRST=true” instead of removing it.
>
>
>
> Yours,
>
> Ferdinand Xu
>
>
>
> From: Srinivas Thunga [mailto:srinivas.thu...@gmail.com]
> Sent: Tuesday, March 10, 2015 1:51 PM
> To: user@hive.apache.org
> Subject: Re: hive cli problem
>
>
>
> Hi,
>
>
>
> I am also getting the same problem in Hive 1.1.0
>
>
>
> As said by you, jline jar is not there in Hadoop.
>
>
>
> How to find where this jar located and will be removed.
>
>
>
> Mine is
>
>
>
> Inside hadoop i am having folders like
>
>
>
> client, client-0.20 and cloudera, lib
>
>
> Thanks & Regards,
>
>
>
> Srinivas T
>
>
>
> On Mon, Mar 9, 2015 at 11:47 PM, Prasanth Jayachandran
> <pjayachand...@hortonworks.com> wrote:
>
> Hi Garry
>
>
>
> Try removing jline-0.9.94.jar from hadoop. The exact path is this
> $HADOOP_PREFIX/share/hadoop/yarn/lib/jline-0.9.94.jar
>
>
>
> See here for discussion
> https://issues.apache.org/jira/browse/HIVE-8609?focusedCommentId=14215543&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14215543
>
>
>
> Thanks
>
> Prasanth
>
>
>
> On Mar 9, 2015, at 11:02 AM, Garry Chen <g...@cornell.edu> wrote:
>
>
>
> Hi All,
>
>                 New to hive and run into problem when try to lunch hive cli
> as follow.  Please help.
>
> hadoop> hive
>
>
>
> Logging initialized using configuration in
> jar:file:/u01/app/hive-1.1.0/lib/hive-common-1.1.0.jar!/hive-log4j.properties
>
> SLF4J: Class path contains multiple SLF4J bindings.
>
> SLF4J: Found binding in
> [jar:file:/u01/app/hadoop-2.6.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>
> SLF4J: Found binding in
> [jar:file:/u01/app/hive-1.1.0/lib/hive-jdbc-1.1.0-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
>
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
>
> [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
> org.apache.hadoop.hive.cli.CliDriver.getConsoleReader(CliDriver.java:773)
>
>         at
> org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:715)
>
>         at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:675)
>
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:615)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>         at java.lang.reflect.Method.invoke(Method.java:606)
>
>         at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
>
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
>
>
>
> Exception in thread "main" java.lang.IncompatibleClassChangeError: Found
> class jline.Terminal, but interface was expected
>
>         at jline.console.ConsoleReader.<init>(ConsoleReader.java:230)
>
>         at jline.console.ConsoleReader.<init>(ConsoleReader.java:221)
>
>         at jline.console.ConsoleReader.<init>(ConsoleReader.java:209)
>
>         at
> org.apache.hadoop.hive.cli.CliDriver.getConsoleReader(CliDriver.java:773)
>
>         at
> org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:715)
>
>         at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:675)
>
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:615)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>         at java.lang.reflect.Method.invoke(Method.java:606)
>
>         at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
>
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
>
>
>
>

Reply via email to