Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6512E1795D for ; Tue, 10 Mar 2015 06:38:48 +0000 (UTC) Received: (qmail 7784 invoked by uid 500); 10 Mar 2015 06:38:46 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 7713 invoked by uid 500); 10 Mar 2015 06:38:46 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 7703 invoked by uid 99); 10 Mar 2015 06:38:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 06:38:46 +0000 X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of amithsha92@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vc0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 06:38:42 +0000 Received: by mail-vc0-f176.google.com with SMTP id kv7so17299382vcb.7 for ; Mon, 09 Mar 2015 23:37:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=cdOan+rsXjYaZ2iiShx/Lq1IBiLBMMiOi48Hts4hQl4=; b=AtS7kQMX3ruoDhc/9ZFVW533c2TLYn6OX6nzsRAqDuScoFzrJVg9nPF1UFRyzlAurO vC1BTjHTvY2kZqwLQVtw4OOkr3PhjqYctWnzV9Lwb6iHhnuIrbi2SdVhbJPLBohJxBgt 5JB214dD1TiggDgImDDHPuWRFnJJCthYJ1AdBHYjPqsEVQIoRalqn/MwG7KGeMTuKXME QcDXjXCVY6rCmTT+IxsW7p/ODSBpOYpZZ3gpN8CoZIzXTxwTLwK50B7KcP6c1Vtl3Ovv HleVjLk+MkPNbZLjhHqcNeYKo9OSXPaA7qaN9pkQScvvQeo2IXhV8kJyReKlG0awlKW8 r2nw== MIME-Version: 1.0 X-Received: by 10.52.177.201 with SMTP id cs9mr11778273vdc.84.1425969456991; Mon, 09 Mar 2015 23:37:36 -0700 (PDT) Received: by 10.52.96.5 with HTTP; Mon, 9 Mar 2015 23:37:36 -0700 (PDT) In-Reply-To: <17B91B6B0D9BBC44A1682DABC201C535011209B1@SHSMSX103.ccr.corp.intel.com> References: <17B91B6B0D9BBC44A1682DABC201C535011209B1@SHSMSX103.ccr.corp.intel.com> Date: Tue, 10 Mar 2015 12:07:36 +0530 Message-ID: Subject: Re: hive cli problem From: Amith sha To: user@hive.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org get into hadoop home ex: /etc/hadoop/ then share/hadoop/yarn/lib where you can find jline jar Thanks & Regards Amithsha On Tue, Mar 10, 2015 at 11:50 AM, Xu, Cheng A wrote: > Hi, > > Can you use linux command *locate* to find jline jar file? It should be > added into the class path of HIVE. Another way is by running =E2=80=9Cexp= ort > HADOOP_USER_CLASSPATH_FIRST=3Dtrue=E2=80=9D instead of removing it. > > > > Yours, > > Ferdinand Xu > > > > From: Srinivas Thunga [mailto:srinivas.thunga@gmail.com] > Sent: Tuesday, March 10, 2015 1:51 PM > To: user@hive.apache.org > Subject: Re: hive cli problem > > > > Hi, > > > > I am also getting the same problem in Hive 1.1.0 > > > > As said by you, jline jar is not there in Hadoop. > > > > How to find where this jar located and will be removed. > > > > Mine is > > > > Inside hadoop i am having folders like > > > > client, client-0.20 and cloudera, lib > > > Thanks & Regards, > > > > Srinivas T > > > > On Mon, Mar 9, 2015 at 11:47 PM, Prasanth Jayachandran > wrote: > > Hi Garry > > > > Try removing jline-0.9.94.jar from hadoop. The exact path is this > $HADOOP_PREFIX/share/hadoop/yarn/lib/jline-0.9.94.jar > > > > See here for discussion > https://issues.apache.org/jira/browse/HIVE-8609?focusedCommentId=3D142155= 43&page=3Dcom.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#= comment-14215543 > > > > Thanks > > Prasanth > > > > On Mar 9, 2015, at 11:02 AM, Garry Chen wrote: > > > > Hi All, > > New to hive and run into problem when try to lunch hive c= li > as follow. Please help. > > hadoop> hive > > > > Logging initialized using configuration in > jar:file:/u01/app/hive-1.1.0/lib/hive-common-1.1.0.jar!/hive-log4j.proper= ties > > SLF4J: Class path contains multiple SLF4J bindings. > > SLF4J: Found binding in > [jar:file:/u01/app/hadoop-2.6.0/share/hadoop/common/lib/slf4j-log4j12-1.7= .5.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > SLF4J: Found binding in > [jar:file:/u01/app/hive-1.1.0/lib/hive-jdbc-1.1.0-standalone.jar!/org/slf= 4j/impl/StaticLoggerBinder.class] > > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an > explanation. > > SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] > > [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:158) > > at jline.console.ConsoleReader.(ConsoleReader.java:229) > > at jline.console.ConsoleReader.(ConsoleReader.java:221) > > at jline.console.ConsoleReader.(ConsoleReader.java:209) > > at > org.apache.hadoop.hive.cli.CliDriver.getConsoleReader(CliDriver.java:773) > > at > org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:715) > > at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:675) > > at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:615) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :57) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.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) > > > > Exception in thread "main" java.lang.IncompatibleClassChangeError: Found > class jline.Terminal, but interface was expected > > at jline.console.ConsoleReader.(ConsoleReader.java:230) > > at jline.console.ConsoleReader.(ConsoleReader.java:221) > > at jline.console.ConsoleReader.(ConsoleReader.java:209) > > at > org.apache.hadoop.hive.cli.CliDriver.getConsoleReader(CliDriver.java:773) > > at > org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:715) > > at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:675) > > at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:615) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :57) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.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) > > > >