Return-Path: Delivered-To: apmail-hive-user-archive@www.apache.org Received: (qmail 77489 invoked from network); 16 Nov 2010 19:16:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Nov 2010 19:16:00 -0000 Received: (qmail 19316 invoked by uid 500); 16 Nov 2010 19:16:31 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 19183 invoked by uid 500); 16 Nov 2010 19:16:31 -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 19175 invoked by uid 99); 16 Nov 2010 19:16:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 19:16:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-pz0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 19:16:26 +0000 Received: by pzk35 with SMTP id 35so379632pzk.35 for ; Tue, 16 Nov 2010 11:16:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=KZKJmhenpVuIIJ/Cn6IhJFlmaBqKgDH2QQVTq5zzlp0=; b=AM3PgmqSzoE09wbaVueJeP2Gv+BcWukR7H5ZQUJdhsgsJiSvY6QH5BX3BGY8+sLtWD 2StQTM1mfAXX1+XMdhl6pLD+kJvrTdxKEJHE5cER3OrxTndX6f3zkWAJaWM965kwf7LB iT9xPQ32lsvfc3qhEC4mnHlZ+VusoHQkL55VY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=grZypRxFpv8X0MY3pLMgzz8CjJv9i92DcMTNeOfMwM4b0RKlCT7B3HU+pv91fg57UM QFn6C74XUORNB/xVyIbsyO2CirFg0NavSE3p6TxiecxwUnAgngRoLd6LJqINGUTa7OgY 22R1kM+LSCpyMmsTU9jLp7jsWRRQQbU6Z443o= MIME-Version: 1.0 Received: by 10.223.106.134 with SMTP id x6mr6330357fao.66.1289934964409; Tue, 16 Nov 2010 11:16:04 -0800 (PST) Received: by 10.223.72.6 with HTTP; Tue, 16 Nov 2010 11:16:04 -0800 (PST) In-Reply-To: <210DADCBB7407F43991C11000628DCB404528018@XMBIL103.northgrum.com> References: <210DADCBB7407F43991C11000628DCB404528018@XMBIL103.northgrum.com> Date: Tue, 16 Nov 2010 11:16:04 -0800 Message-ID: Subject: Re: unable to create table From: Ted Yu To: user@hive.apache.org Content-Type: multipart/alternative; boundary=001636c5b4d8565b3004953063b8 --001636c5b4d8565b3004953063b8 Content-Type: text/plain; charset=ISO-8859-1 See 'Exception in hive startup' discussion - especially Edward's response on Oct 13th. On Tue, Nov 16, 2010 at 9:40 AM, Gerlach, Hannah L (IS) < Hannah.Gerlach@ngc.com> wrote: > Hello, > > > > I am completely new to hive and I need some help. Hive starts fine, but > when I try to create a table, I get an error. See below. > > > > hive> CREATE TABLE pokes (foo INT, bar STRING); > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/antlr/runtime/tree/TreeAdaptor > > at > org.apache.hadoop.hive.ql.Driver.compile(Driver.java:314) > > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:635) > > at > org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:140) > > at > org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:199) > > at > org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:353) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at org.apache.hadoop.util.RunJar.main(RunJar.java:156) > > Caused by: java.lang.ClassNotFoundException: > org.antlr.runtime.tree.TreeAdaptor > > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > > at java.security.AccessController.doPrivileged(Native > Method) > > at > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > > at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > > at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > > ... 10 more > > > > Ideas? > > > > Best, > > Hannah > --001636c5b4d8565b3004953063b8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable See 'Exception in hive startup' discussion - especially Edward'= s response on Oct 13th.

On Tue, Nov 16, 2= 010 at 9:40 AM, Gerlach, Hannah L (IS) <Hannah.Gerlach@ngc.com> wrote:

Hello,

=A0

I am completely new to hive and I need some h= elp.=A0 Hive starts fine, but when I try to create a table, I get an error.= =A0 See below.

=A0

hive= > CREATE TABLE pokes (foo INT, bar STRING);

=A0

Exception in thread &q= uot;main" java.lang.NoClassDefFoundError: org/antlr/runtime/tree/TreeA= daptor

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:314)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at org= .apache.hadoop.hive.ql.Driver.run(Driver.java:635)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at org.apache.hadoop.hive.c= li.CliDriver.processCmd(CliDriver.java:140)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at org.apache.hadoop.hive.cli= .CliDriver.processLine(CliDriver.java:199)

=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at org.apache.hadoop.hive.cli.CliDr= iver.main(CliDriver.java:353)

=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 at sun.reflect.NativeMethodAccessorImpl.invoke0= (Native Method)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at sun= .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<= /p>

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp= l.java:25)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at jav= a.lang.reflect.Method.invoke(Method.java:597)

=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at org.apache.hadoop.util.RunJar= .main(RunJar.java:156)

Caused by: java.lang.Class= NotFoundException: org.antlr.runtime.tree.TreeAdaptor

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at jav= a.net.URLClassLoader$1.run(URLClassLoader.java:200)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at java.security.AccessCon= troller.doPrivileged(Native Method)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at java.net.URLClassLoader.fi= ndClass(URLClassLoader.java:188)

=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at java.lang.ClassLoader.loadClass(ClassLoad= er.java:303)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)<= /p>

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at jav= a.lang.ClassLoader.loadClass(ClassLoader.java:248)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 at java.lang.ClassLoader.lo= adClassInternal(ClassLoader.java:316)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ... 10 more

=A0

Ideas?

=A0=

Best,

Hannah

=

--001636c5b4d8565b3004953063b8--