You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by chandra kant <ch...@gmail.com> on 2014/05/11 16:26:32 UTC

jline error

Hi,

My PIG_HOME is set to its appropriate directory and also its path in
.bash_profile . However, when i run "pig -x local ",
it gives me following error:
2014-05-11 19:39:07,347 [main] ERROR org.apache.pig.Main - ERROR 2998:
Unhandled internal error. Found interface jline.Terminal, but class was
expected

On the other hand, if i go to PIG_HOME directory, and run " java -cp
pig-0.12.0.jar org.apache.pig.Main -x local " , it runs fine...

Any solutions for the problem above? I am using macosx, if that matters..

Thanks
Chandra

Re: jline error

Posted by Cheolsoo Park <pi...@gmail.com>.
Looks like an incompatible jline jar is in classpath when running Pig. For
example, Pig 0.12.1 uses jline 0.9.94.


On Sun, May 11, 2014 at 7:26 AM, chandra kant <
chandralakshmikant90@gmail.com> wrote:

> Hi,
>
> My PIG_HOME is set to its appropriate directory and also its path in
> .bash_profile . However, when i run "pig -x local ",
> it gives me following error:
> 2014-05-11 19:39:07,347 [main] ERROR org.apache.pig.Main - ERROR 2998:
> Unhandled internal error. Found interface jline.Terminal, but class was
> expected
>
> On the other hand, if i go to PIG_HOME directory, and run " java -cp
> pig-0.12.0.jar org.apache.pig.Main -x local " , it runs fine...
>
> Any solutions for the problem above? I am using macosx, if that matters..
>
> Thanks
> Chandra
>