Return-Path: Delivered-To: apmail-hadoop-hive-user-archive@minotaur.apache.org Received: (qmail 46184 invoked from network); 24 Sep 2010 17:13:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Sep 2010 17:13:20 -0000 Received: (qmail 28522 invoked by uid 500); 24 Sep 2010 17:13:20 -0000 Delivered-To: apmail-hadoop-hive-user-archive@hadoop.apache.org Received: (qmail 28474 invoked by uid 500); 24 Sep 2010 17:13:19 -0000 Mailing-List: contact hive-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-user@hadoop.apache.org Delivered-To: mailing list hive-user@hadoop.apache.org Received: (qmail 28466 invoked by uid 99); 24 Sep 2010 17:13:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 17:13:19 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,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 heyongqiangict@gmail.com designates 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qy0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 17:13:15 +0000 Received: by qyk7 with SMTP id 7so1893634qyk.14 for ; Fri, 24 Sep 2010 10:12:54 -0700 (PDT) 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 :content-transfer-encoding; bh=+FxZPWQtkttBX6RPKuPnF5aVgkDUtOOMFU3cSu/BS+s=; b=NQvdd76/VNZIG/qIJZ+R2QXY6Gx2jAyZU15hG73MpAzTBpcS7BqI91II2p47GlWxzG 731eSoRX69ykg1ZxAtrc5m0ektcN4PkyAdnHYeMgjQT77y+MBU0oN+rKh33hq8AOIXAg yxSUC1ADCsEAbMVZ8Kt57cjz7zGSlzSm8XMwM= 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:content-transfer-encoding; b=CZti5b8T3XY9hoFkHQjXeNcWmshzeQ5IKmHO8OgOGamwXVFjt2v9BivtB/oHHDqimF ptrtD3S6BgHrK0tYiVYzhRHmdlXolrvAzZ5xIYmQcn6+oAh40FILA86znfx5k1f0hadw mssNTQKQEvPbACoSDSWdIgwHuM1WeHu/yMumY= MIME-Version: 1.0 Received: by 10.224.74.1 with SMTP id s1mr2716884qaj.26.1285348372960; Fri, 24 Sep 2010 10:12:52 -0700 (PDT) Received: by 10.229.39.142 with HTTP; Fri, 24 Sep 2010 10:12:52 -0700 (PDT) In-Reply-To: References: <92FEE3DA-65C4-487E-B567-3FEDA537FAE4@facebook.com> Date: Fri, 24 Sep 2010 10:12:52 -0700 Message-ID: Subject: Re: Create index error:FAILED: Parse Error: line 1:0 cannot recognize input 'create' in ddl statement From: yongqiang he To: hive-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If you really want to use the index feature, you can just checkout hive trunk code (svn co http://svn.apache.org/repos/asf/hadoop/hive/trunk hive-trunk), and start from there. Hive is mostly at the client side, and is very easy for new deployment (even you are using Amazon EC2 and s3). Internally in facebook, we just cut the Hive trunk every few weeks and deploy the hive trunk. So i personally encourage you to try Hive trunk. On Thu, Sep 23, 2010 at 6:26 PM, John Sichi wrote: > Since we're only just wrapping up the 0.6 release now, it's probably a bi= t > too early to tell. =A0Note that the index feature is still under developm= ent, > so the support in 0.7 may still not be ready for most end users. > JVS > On Sep 23, 2010, at 3:19 PM, Tali K wrote: > > Do you have any idea when we can expect Hive 0.7 to be released? > > Thanks, > Tali > > ________________________________ > From:=A0jsichi@facebook.com > To:=A0hive-user@hadoop.apache.org > Subject: Re: Create index error:FAILED: Parse Error: line 1:0 cannot > recognize input 'create' in ddl statement > Date: Thu, 23 Sep 2010 21:27:14 +0000 > > I've updated the index design doc to add this statement at the top: > No index support will be available until Hive 0.7. > If you really want to try it, you need to be building and running trunk. > JVS > On Sep 23, 2010, at 2:15 PM, Tali K wrote: > > > Hi All, > > I've sent this e-mail yesterday, can , please, sombody help me!!! > > I am running hive ....version 0.5.0=A0(hive-default.xml: > lib/hive-hwi-0.5.0.war) > > When I tried to create index I've got the following message: > > FAILED: Parse Error: line 1:0 cannot recognize input 'create' in ddl > statement > > Here is how I've tried to create an index: > > =A0create index qid_index on table bit_score_less_55(query_id) as > 'org.apache.hadoop.hive.index.compact.CompactIndexHandler'; > > Here is=A0my table > > describe bit_score_less_55=A0; > > query_id=A0=A0=A0=A0=A0=A0=A0 string > subject_id=A0=A0=A0=A0=A0 string > percent_ident=A0=A0 double > align_len=A0=A0=A0=A0=A0=A0 int > mismatches=A0=A0=A0=A0=A0 int > gap_openings=A0=A0=A0 int > query_start=A0=A0=A0=A0 int > query_end=A0=A0=A0=A0=A0=A0 int > subject_start=A0=A0 int > subject_end=A0=A0=A0=A0 int > e_value double > bit_score=A0=A0=A0=A0=A0=A0 double > filename=A0=A0=A0=A0=A0=A0=A0 string > > > Any suggestions? > > Thanks for help in advance, > > > > Tali > > > >