Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 30053 invoked from network); 22 Sep 2010 20:16:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Sep 2010 20:16:55 -0000 Received: (qmail 74400 invoked by uid 500); 22 Sep 2010 20:16:53 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 74344 invoked by uid 500); 22 Sep 2010 20:16:52 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 74336 invoked by uid 99); 22 Sep 2010 20:16:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 20:16:52 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a50.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 20:16:46 +0000 Received: from homiemail-a50.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a50.g.dreamhost.com (Postfix) with ESMTP id 291106F8065 for ; Wed, 22 Sep 2010 13:16:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=to:from :subject:date:message-id:content-type:mime-version:in-reply-to; q=dns; s=thelastpickle.com; b=W5Ro/xVd7f+lrPtvoa2Z0QooOyINZTMRl lAFo2eXIay+o7BRsAbNzyoLHrg/KCFNQS5fef20eTqDn0v6HRx98prhcSnBmbwtb Me10Oj1Ka6Rn/WmFMM4rWJ8Q+9AY3whDhUvSoS23NHDCf1O/do7NaLH1prALE7Jt CiaHOfpAVs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=to :from:subject:date:message-id:content-type:mime-version: in-reply-to; s=thelastpickle.com; bh=CYKVsx6xeUVGjkyh9/u9IHWuZ7Q =; b=dLwWOiDIfa8iQ9yqDEPgtoOKo9po7A6dtwB0LMzAK2xpZs5nGJ4zC/fI04q zGPU9aquGj6T5x7kSTo0tut2FeZJLWn9Hef5vcT/j1eeRscdSAVLlkRehIdRbYGI de93WMCQ7se8RIFh6UVePtOuQymIpH86kKz58EUBv5zs4LUI= Received: from localhost (webms.mac.com [17.148.16.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a50.g.dreamhost.com (Postfix) with ESMTPSA id 05A5C6F8062 for ; Wed, 22 Sep 2010 13:16:24 -0700 (PDT) To: user@cassandra.apache.org From: Aaron Morton Subject: Re: Thrift gen problem with cassandra.thrift Date: Wed, 22 Sep 2010 20:16:22 GMT X-Mailer: MobileMe Mail (1C3203) Message-id: Content-Type: multipart/alternative; boundary=Apple-Webmail-42--a4363fa9-b505-ec5d-f07e-a1629ab1668d MIME-Version: 1.0 In-Reply-To: --Apple-Webmail-42--a4363fa9-b505-ec5d-f07e-a1629ab1668d Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed I normally get the source download, then run ant gen-thrift-py=A0=0A=0AIs = there a reason you want to build it manually?=0A=0AAaron=0A=A0=0A=0AOn 22 = Sep, 2010,at 07:35 PM, Shashank Tiwari wrote:=0A=0AI i= nstalled thrift successfully on Snow Leaopard. However, when I run=A0=0Ath= rift -gen java interface/cassandra.thrift with Cassandra 0.6.5, I get an e= rror which reads as follows:=0A....apache-cassandra-0.6.5/interface/cassan= dra.thrift:303] error: identifier ONE is unqualified!=0ALine 303 of cassan= dra.thrift is highlighted in the text below:=0A=0A296 =A0 /**=0A297 =A0 =A0= Get the Column or SuperColumn at the given column_path. If no value is pr= esent, NotFoundException is thrown =A0 =A0. (This is=0A298 =A0 =A0 the onl= y method that can throw an exception under non-failure conditions.)=0A299 = =A0 =A0*/=0A300 =A0 ColumnOrSuperColumn get(1:required string keyspace,=0A= 301 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 2:required string = key,=0A302 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 3:required = ColumnPath column_path,=0A303 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 4:required ConsistencyLevel consistency_level=3DONE)=0A304 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throws (1:InvalidRequestException ire= , 2:NotFoundException nfe, 3:UnavailableException ue =A0 =A0, 4:TimedOutEx= ception te),=0A305=A0=0A=0ACould somebody please help resolve this problem= and also explain what's going on here.=0A=0AThanks, Shashank --Apple-Webmail-42--a4363fa9-b505-ec5d-f07e-a1629ab1668d Content-Type: multipart/related; type="text/html"; boundary=Apple-Webmail-86--a4363fa9-b505-ec5d-f07e-a1629ab1668d --Apple-Webmail-86--a4363fa9-b505-ec5d-f07e-a1629ab1668d Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1;
I normally get the source download, then run ant gen-thrift-py <= /div>

Is there a reason you want to build it manually?<= /div>

Aaron
 

On 22 Sep, 2010,at = 07:35 PM, Shashank Tiwari <tshanky@gmail.com> wrote:

I installed thrift successfully on = Snow Leaopard. However, when I run 
thrift -gen java int= erface/cassandra.thrift with Cassandra 0.6.5, I get an error which rea= ds as follows:
....apache-cassandra-0.6.5/interface/cassandra.th= rift:303] error: identifier ONE is unqualified!
=0A=0A=0A
Line 30= 3 of cassandra.thrift is highlighted in the text below:

296   /**
297     Get the Column or S= uperColumn at the given column_path. If no value is present, NotFoundExcep= tion is thrown    . (This is
=0A=0A=0A
298    = ; the only method that can throw an exception under non-failure conditions= )
299    */
300   ColumnOrSuperColumn = get(1:required string keyspace,
301         =                   2:required = string key,
=0A=0A=0A
302           &nbs= p;               3:required ColumnPath = column_path,
303             &n= bsp;             4:required ConsistencyLevel= consistency_level=3DONE)
304         &n= bsp;             throws (1:InvalidRequestExc= eption ire, 2:NotFoundException nfe, 3:UnavailableException ue   &nbs= p;, 4:TimedOutException te),
=0A=0A=0A
305 
=
Could somebody please help resolve this problem and also ex= plain what's going on here.

Thanks, Shashank=0A
--Apple-Webmail-86--a4363fa9-b505-ec5d-f07e-a1629ab1668d-- --Apple-Webmail-42--a4363fa9-b505-ec5d-f07e-a1629ab1668d--