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 < [email protected]> 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 >
