Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 30CC0101CA for ; Wed, 19 Nov 2014 22:02:38 +0000 (UTC) Received: (qmail 61225 invoked by uid 500); 19 Nov 2014 22:02:37 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 61158 invoked by uid 500); 19 Nov 2014 22:02:37 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 61146 invoked by uid 500); 19 Nov 2014 22:02:37 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 61143 invoked by uid 99); 19 Nov 2014 22:02:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2014 22:02:37 +0000 Date: Wed, 19 Nov 2014 22:02:37 +0000 (UTC) From: =?utf-8?Q?Sergio_Pe=C3=B1a_=28JIRA=29?= To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-8918) Beeline terminal cannot be initialized due to jline2 change MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sergio Pe=C3=B1a created HIVE-8918: --------------------------------- Summary: Beeline terminal cannot be initialized due to jline2 = change Key: HIVE-8918 URL: https://issues.apache.org/jira/browse/HIVE-8918 Project: Hive Issue Type: Bug Affects Versions: 0.15.0 Reporter: Sergio Pe=C3=B1a I fetched the latest changes from trunk, and I got the following error when= attempting to execute beeline: {noformat} ERROR] Terminal initialization failed; falling back to unsupported java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but int= erface was expected =09at jline.TerminalFactory.create(TerminalFactory.java:101) =09at jline.TerminalFactory.get(TerminalFactory.java:158) =09at org.apache.hive.beeline.BeeLineOpts.(BeeLineOpts.java:73) =09at org.apache.hive.beeline.BeeLine.(BeeLine.java:117) =09at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java= :469) =09at org.apache.hive.beeline.BeeLine.main(BeeLine.java:453) =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.= java:57) =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:43) =09at java.lang.reflect.Method.invoke(Method.java:606) =09at org.apache.hadoop.util.RunJar.run(RunJar.java:221) =09at org.apache.hadoop.util.RunJar.main(RunJar.java:136) Exception in thread "main" java.lang.IncompatibleClassChangeError: Found cl= ass jline.Terminal, but interface was expected =09at org.apache.hive.beeline.BeeLineOpts.(BeeLineOpts.java:101) =09at org.apache.hive.beeline.BeeLine.(BeeLine.java:117) =09at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java= :469) =09at org.apache.hive.beeline.BeeLine.main(BeeLine.java:453) =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.= java:57) =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:43) =09at java.lang.reflect.Method.invoke(Method.java:606) =09at org.apache.hadoop.util.RunJar.run(RunJar.java:221) =09at org.apache.hadoop.util.RunJar.main(RunJar.java:136) {noformat} I executed the following command: {noformat} hive --service beeline -u jdbc:hive2://localhost:10000 -n sergio {noformat} The commit before the jline2 is working fine. -- This message was sent by Atlassian JIRA (v6.3.4#6332)