You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by Azuryy Yu <az...@gmail.com> on 2014/03/31 11:34:46 UTC

TSQL Exception

I built tajo-0.8.0-snapshot, installed hive-0.12,

run tsql, then, get these Exceptions:
[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:159)
at jline.console.ConsoleReader.<init>(ConsoleReader.java:227)
at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
at jline.console.ConsoleReader.<init>(ConsoleReader.java:211)
at org.apache.tajo.cli.TajoCli.<init>(TajoCli.java:116)
at org.apache.tajo.cli.TajoCli.main(TajoCli.java:469)

Exception in thread "main" java.lang.IncompatibleClassChangeError: Found
class jline.Terminal, but interface was expected
at jline.console.ConsoleReader.<init>(ConsoleReader.java:228)
at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
at jline.console.ConsoleReader.<init>(ConsoleReader.java:211)
at org.apache.tajo.cli.TajoCli.<init>(TajoCli.java:116)
at org.apache.tajo.cli.TajoCli.main(TajoCli.java:469)



why?

Re: TSQL Exception

Posted by Azuryy <az...@gmail.com>.
Thanks, I will try tomorrow, go back home now. 


Sent from my iPhone5s

> On 2014年3月31日, at 18:57, Jinho Kim <jh...@apache.org> wrote:
> 
> I'm sorry for confusing.
> 
> Could you copy 'tajo-dist/target/tajo-0.8.0-SNAPSHOT/bin/tajo' to bin?
> 
> -Jinho
> 
> 
> 2014-03-31 19:49 GMT+09:00 Azuryy Yu <az...@gmail.com>:
> 
>> Hi ,
>> Thanks for reply, answer all here:
>> 
>> My hadoop distribution is hadoop-2.3.
>> 
>> @Jinho,  how to update the tsql? comment out yarn/lib  in the CLASSPATH?
>> 
>> 
>> 
>> 
>>> On Mon, Mar 31, 2014 at 6:46 PM, Jinho Kim <jh...@apache.org> wrote:
>>> 
>>> Hi Azuryy,
>>> 
>>> Could you update the tsql in 'tajo-dist' ?
>>> 
>>> We does not use the 'share/hadoop/yarn/lib'
>>> 
>>> -Jinho
>>> 
>>> 
>>> 2014-03-31 19:42 GMT+09:00 Hyunsik Choi <hy...@apache.org>:
>>> 
>>>> Hi Azuryy,
>>>> 
>>>> Your problem may be caused by loading a JLine jar file which is
>> different
>>>> from that of Tajo. In order to figure out your problem, we need your
>>> hadoop
>>>> distribution and its version. Could you share the details of your
>>>> environment?
>>>> 
>>>> Best regards,
>>>> Hyunsik Choi
>>>> 
>>>> 
>>>>> On Mon, Mar 31, 2014 at 6:34 PM, Azuryy Yu <az...@gmail.com> wrote:
>>>>> 
>>>>> I built tajo-0.8.0-snapshot, installed hive-0.12,
>>>>> 
>>>>> run tsql, then, get these Exceptions:
>>>>> [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:159)
>>>>> at jline.console.ConsoleReader.<init>(ConsoleReader.java:227)
>>>>> at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
>>>>> at jline.console.ConsoleReader.<init>(ConsoleReader.java:211)
>>>>> at org.apache.tajo.cli.TajoCli.<init>(TajoCli.java:116)
>>>>> at org.apache.tajo.cli.TajoCli.main(TajoCli.java:469)
>>>>> 
>>>>> Exception in thread "main" java.lang.IncompatibleClassChangeError:
>>> Found
>>>>> class jline.Terminal, but interface was expected
>>>>> at jline.console.ConsoleReader.<init>(ConsoleReader.java:228)
>>>>> at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
>>>>> at jline.console.ConsoleReader.<init>(ConsoleReader.java:211)
>>>>> at org.apache.tajo.cli.TajoCli.<init>(TajoCli.java:116)
>>>>> at org.apache.tajo.cli.TajoCli.main(TajoCli.java:469)
>>>>> 
>>>>> 
>>>>> 
>>>>> why?
>> 

Re: TSQL Exception

Posted by Jinho Kim <jh...@apache.org>.
I'm sorry for confusing.

Could you copy 'tajo-dist/target/tajo-0.8.0-SNAPSHOT/bin/tajo' to bin?

-Jinho


2014-03-31 19:49 GMT+09:00 Azuryy Yu <az...@gmail.com>:

> Hi ,
> Thanks for reply, answer all here:
>
> My hadoop distribution is hadoop-2.3.
>
> @Jinho,  how to update the tsql? comment out yarn/lib  in the CLASSPATH?
>
>
>
>
> On Mon, Mar 31, 2014 at 6:46 PM, Jinho Kim <jh...@apache.org> wrote:
>
> > Hi Azuryy,
> >
> > Could you update the tsql in 'tajo-dist' ?
> >
> > We does not use the 'share/hadoop/yarn/lib'
> >
> > -Jinho
> >
> >
> > 2014-03-31 19:42 GMT+09:00 Hyunsik Choi <hy...@apache.org>:
> >
> > > Hi Azuryy,
> > >
> > > Your problem may be caused by loading a JLine jar file which is
> different
> > > from that of Tajo. In order to figure out your problem, we need your
> > hadoop
> > > distribution and its version. Could you share the details of your
> > > environment?
> > >
> > > Best regards,
> > > Hyunsik Choi
> > >
> > >
> > > On Mon, Mar 31, 2014 at 6:34 PM, Azuryy Yu <az...@gmail.com> wrote:
> > >
> > > > I built tajo-0.8.0-snapshot, installed hive-0.12,
> > > >
> > > > run tsql, then, get these Exceptions:
> > > > [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:159)
> > > > at jline.console.ConsoleReader.<init>(ConsoleReader.java:227)
> > > > at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
> > > > at jline.console.ConsoleReader.<init>(ConsoleReader.java:211)
> > > > at org.apache.tajo.cli.TajoCli.<init>(TajoCli.java:116)
> > > > at org.apache.tajo.cli.TajoCli.main(TajoCli.java:469)
> > > >
> > > > Exception in thread "main" java.lang.IncompatibleClassChangeError:
> > Found
> > > > class jline.Terminal, but interface was expected
> > > > at jline.console.ConsoleReader.<init>(ConsoleReader.java:228)
> > > > at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
> > > > at jline.console.ConsoleReader.<init>(ConsoleReader.java:211)
> > > > at org.apache.tajo.cli.TajoCli.<init>(TajoCli.java:116)
> > > > at org.apache.tajo.cli.TajoCli.main(TajoCli.java:469)
> > > >
> > > >
> > > >
> > > > why?
> > > >
> > >
> >
>

Re: TSQL Exception

Posted by Azuryy Yu <az...@gmail.com>.
Hi ,
Thanks for reply, answer all here:

My hadoop distribution is hadoop-2.3.

@Jinho,  how to update the tsql? comment out yarn/lib  in the CLASSPATH?




On Mon, Mar 31, 2014 at 6:46 PM, Jinho Kim <jh...@apache.org> wrote:

> Hi Azuryy,
>
> Could you update the tsql in 'tajo-dist' ?
>
> We does not use the 'share/hadoop/yarn/lib'
>
> -Jinho
>
>
> 2014-03-31 19:42 GMT+09:00 Hyunsik Choi <hy...@apache.org>:
>
> > Hi Azuryy,
> >
> > Your problem may be caused by loading a JLine jar file which is different
> > from that of Tajo. In order to figure out your problem, we need your
> hadoop
> > distribution and its version. Could you share the details of your
> > environment?
> >
> > Best regards,
> > Hyunsik Choi
> >
> >
> > On Mon, Mar 31, 2014 at 6:34 PM, Azuryy Yu <az...@gmail.com> wrote:
> >
> > > I built tajo-0.8.0-snapshot, installed hive-0.12,
> > >
> > > run tsql, then, get these Exceptions:
> > > [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:159)
> > > at jline.console.ConsoleReader.<init>(ConsoleReader.java:227)
> > > at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
> > > at jline.console.ConsoleReader.<init>(ConsoleReader.java:211)
> > > at org.apache.tajo.cli.TajoCli.<init>(TajoCli.java:116)
> > > at org.apache.tajo.cli.TajoCli.main(TajoCli.java:469)
> > >
> > > Exception in thread "main" java.lang.IncompatibleClassChangeError:
> Found
> > > class jline.Terminal, but interface was expected
> > > at jline.console.ConsoleReader.<init>(ConsoleReader.java:228)
> > > at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
> > > at jline.console.ConsoleReader.<init>(ConsoleReader.java:211)
> > > at org.apache.tajo.cli.TajoCli.<init>(TajoCli.java:116)
> > > at org.apache.tajo.cli.TajoCli.main(TajoCli.java:469)
> > >
> > >
> > >
> > > why?
> > >
> >
>

Re: TSQL Exception

Posted by Jinho Kim <jh...@apache.org>.
Hi Azuryy,

Could you update the tsql in 'tajo-dist' ?

We does not use the 'share/hadoop/yarn/lib'

-Jinho


2014-03-31 19:42 GMT+09:00 Hyunsik Choi <hy...@apache.org>:

> Hi Azuryy,
>
> Your problem may be caused by loading a JLine jar file which is different
> from that of Tajo. In order to figure out your problem, we need your hadoop
> distribution and its version. Could you share the details of your
> environment?
>
> Best regards,
> Hyunsik Choi
>
>
> On Mon, Mar 31, 2014 at 6:34 PM, Azuryy Yu <az...@gmail.com> wrote:
>
> > I built tajo-0.8.0-snapshot, installed hive-0.12,
> >
> > run tsql, then, get these Exceptions:
> > [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:159)
> > at jline.console.ConsoleReader.<init>(ConsoleReader.java:227)
> > at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
> > at jline.console.ConsoleReader.<init>(ConsoleReader.java:211)
> > at org.apache.tajo.cli.TajoCli.<init>(TajoCli.java:116)
> > at org.apache.tajo.cli.TajoCli.main(TajoCli.java:469)
> >
> > Exception in thread "main" java.lang.IncompatibleClassChangeError: Found
> > class jline.Terminal, but interface was expected
> > at jline.console.ConsoleReader.<init>(ConsoleReader.java:228)
> > at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
> > at jline.console.ConsoleReader.<init>(ConsoleReader.java:211)
> > at org.apache.tajo.cli.TajoCli.<init>(TajoCli.java:116)
> > at org.apache.tajo.cli.TajoCli.main(TajoCli.java:469)
> >
> >
> >
> > why?
> >
>

Re: TSQL Exception

Posted by Hyunsik Choi <hy...@apache.org>.
Hi Azuryy,

Your problem may be caused by loading a JLine jar file which is different
from that of Tajo. In order to figure out your problem, we need your hadoop
distribution and its version. Could you share the details of your
environment?

Best regards,
Hyunsik Choi


On Mon, Mar 31, 2014 at 6:34 PM, Azuryy Yu <az...@gmail.com> wrote:

> I built tajo-0.8.0-snapshot, installed hive-0.12,
>
> run tsql, then, get these Exceptions:
> [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:159)
> at jline.console.ConsoleReader.<init>(ConsoleReader.java:227)
> at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
> at jline.console.ConsoleReader.<init>(ConsoleReader.java:211)
> at org.apache.tajo.cli.TajoCli.<init>(TajoCli.java:116)
> at org.apache.tajo.cli.TajoCli.main(TajoCli.java:469)
>
> Exception in thread "main" java.lang.IncompatibleClassChangeError: Found
> class jline.Terminal, but interface was expected
> at jline.console.ConsoleReader.<init>(ConsoleReader.java:228)
> at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
> at jline.console.ConsoleReader.<init>(ConsoleReader.java:211)
> at org.apache.tajo.cli.TajoCli.<init>(TajoCli.java:116)
> at org.apache.tajo.cli.TajoCli.main(TajoCli.java:469)
>
>
>
> why?
>