Check the hive-env.sh and environment variables, whether the HADOOP_HOME is
what you want?


On Tue, May 6, 2014 at 11:33 AM, chandra kant <
[email protected]> wrote:

>
> Hi,
> When running bin/hive , i get the following error :-
> Exception in thread "main" java.lang.IncompatibleClassChangeError: Found
> interface jline.Terminal, but class was expected
>  at jline.ConsoleReader.<init>(ConsoleReader.java:191)
> at jline.ConsoleReader.<init>(ConsoleReader.java:186)
>  at jline.ConsoleReader.<init>(ConsoleReader.java:174)
> at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:719)
>  at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:614)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:160)
>
> I think this comes when there is version mismatching between hadoop
> version and hive version. In my case it is - hadoop-1.2.1 and hive-0.11.0 ,
> which were working perfectly fine till yesterday. And yes, I unsuccessfully
> tried to run hadoop-2 on my system and later reverted back to hadoop-1. And
> , it occurred  ...
>
> Any help in debugging..?
>
> --
> Chandra
>
>


-- 
Regards
Shengjun

Reply via email to