hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: Hive-1.2.0 does not work with stock hadoop 2.6.0
Date Sun, 07 Jun 2015 15:12:42 GMT
Should we add
HADOOP_USER_CLASSPATH_FIRST=true

to the hive scripts?

On Sun, Jun 7, 2015 at 11:06 AM, Edward Capriolo <edlinuxguru@gmail.com>
wrote:

> [edward@jackintosh apache-hive-1.2.0-bin]$ export
> HADOOP_HOME=/home/edward/Downloads/hadoop-2.6.0
> [edward@jackintosh apache-hive-1.2.0-bin]$ bin/hive
>
> Logging initialized using configuration in
> jar:file:/home/edward/Downloads/apache-hive-1.2.0-bin/lib/hive-common-1.2.0.jar!/hive-log4j.properties
> [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.setupConsoleReader(CliDriver.java:787)
>     at
> org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:721)
>     at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681)
>     at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621)
>     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:601)
>     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.setupConsoleReader(CliDriver.java:787)
>     at
> org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:721)
>     at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681)
>     at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621)
>     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:601)
>     at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
>     at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
>
>

Mime
View raw message