You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2014/12/11 20:16:14 UTC
[jira] [Commented] (HIVE-8609) Move beeline to jline2
[ https://issues.apache.org/jira/browse/HIVE-8609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14242978#comment-14242978 ]
Thejas M Nair commented on HIVE-8609:
-------------------------------------
Adding the exception that gets thrown, so that search engines can hopefully direct people to the fixes -
{noformat}
from running "bin/hive"
Exception in thread "main" java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected
at jline.console.ConsoleReader.<init>(ConsoleReader.java:230)
at jline.console.ConsoleReader.<init>(ConsoleReader.java:221)
at jline.console.ConsoleReader.<init>(ConsoleReader.java:209)
at org.apache.hadoop.hive.cli.CliDriver.getConsoleReader(CliDriver.java:735)
at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:683)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:639)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
{noformat}
Two possible solutions -
* export HADOOP_USER_CLASSPATH_FIRST=true
* ["... users should backup and remove the jline-0.9.94.jar file ... " | https://issues.apache.org/jira/browse/HIVE-8609?focusedCommentId=14215543&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14215543]
> Move beeline to jline2
> ----------------------
>
> Key: HIVE-8609
> URL: https://issues.apache.org/jira/browse/HIVE-8609
> Project: Hive
> Issue Type: Task
> Reporter: Brock Noland
> Assignee: Ferdinand Xu
> Priority: Blocker
> Labels: TODOC15
> Fix For: 0.15.0
>
> Attachments: HIVE-8609.1.patch, HIVE-8609.2.patch, HIVE-8609.3.patch, HIVE-8609.4.patch, HIVE-8609.5.patch, HIVE-8609.6.patch, HIVE-8609.7.patch, HIVE-8609.patch
>
>
> We found a serious bug in jline in HIVE-8565. We should move to jline2.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)