Jline is a particularly problematic library. First it is not packaged
properly, second there are many breaking changes between versions. What
this error mean is that one tool in the stack was compiled against 1 jline
version like 1.2 and another tool was compiled against 1.3 where there is a
class signature change. When you try to run this code in the same VM it
fails, you basically have to go through the dependency tree of all the
software and build EVERYTHING against the same version of jline.




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

> Thnx, yes HADOOP_HOME is right. Hadoop and hbase both are running fine on
> my system. And there are no more stacktraces to look for.
>  I am getting out of options now.
>
> By the way, why so little stack trace here? Even with setting log4j's log
> level to ALL , It shows very little log.
>
> On Tuesday, 6 May 2014, Shengjun Xin <[email protected]> wrote:
>
>>  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