Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 78711 invoked from network); 21 Oct 2010 20:28:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Oct 2010 20:28:37 -0000 Received: (qmail 87193 invoked by uid 500); 21 Oct 2010 20:28:35 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 87172 invoked by uid 500); 21 Oct 2010 20:28:35 -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 87164 invoked by uid 99); 21 Oct 2010 20:28:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Oct 2010 20:28:35 +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 (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a58.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Oct 2010 20:28:28 +0000 Received: from homiemail-a58.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a58.g.dreamhost.com (Postfix) with ESMTP id C50F77D8074 for ; Thu, 21 Oct 2010 13:28:05 -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=Yxs/iaJnrNtc873kT+Fdjuh4oXJ4e6ybh CQbf9C7FB0ySBNl4z5tM1r8xG2SGoTVbE1axoNJYJV8uQugIYakbJwP+cB25AVBa BJlykTHdxP2wWXZI4ahVkpD14jZKslq1mBqQtp6fHS2p0goXwgyhzbYXe/A1tRN3 Tj2UUBuJAU= 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=WP90opEJEVGBpjO+pOLZ3nLf8Lk =; b=Gzhrwv4arPg+0pxoopdQyaT9F2xrzsy2iHzSe33cKKfd4vFskCQLT7V++0h Mtj5aFv+2d22qSSDFhPxnhmWTnQQdNViBSOYJa2a4jEYBNa3Ki5l2hkvXnzbYWrw V3eWKPc5hn0nW7ypBLrAblBJFQUkXTMFyqZSfigeb5SZLw6U= 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-a58.g.dreamhost.com (Postfix) with ESMTPSA id AA0C27D8072 for ; Thu, 21 Oct 2010 13:28:05 -0700 (PDT) To: user@cassandra.apache.org From: Aaron Morton Subject: Re: error: identifier ONE is unqualified! Date: Thu, 21 Oct 2010 20:28:04 GMT X-Mailer: MobileMe Mail (1C3205) Message-id: <6a7f3726-6053-4ba1-ebcd-faa7fa78f78b@me.com> Content-Type: multipart/alternative; boundary=Apple-Webmail-42--d38f331a-9d6b-ecb0-a508-caffccbfb994 MIME-Version: 1.0 In-Reply-To: X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Webmail-42--d38f331a-9d6b-ecb0-a508-caffccbfb994 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed Look for =A0lib/thrift-rXXXXX.jar in the source. XXXX is the svn revision = to use.=A0=0A=0Ahttp://wiki.apache.org/cassandra/InstallThrift=0A=0ANot su= re if all those steps still apply, but it's what I did last time I felt li= ke feeling some angst.=A0=0A=0AAaron=0A=0A=0AOn 22 Oct, 2010,at 08:57 AM, = J T wrote:=0A=0AWhat is the latest version of= Thrift that cassandra-trunk is is supposed to work with ?=0A=0AI know Thr= ift 0.2.0 works, I'm using that on an existing cassandra 0.7 trunk install= =0A=0AI recently tried setting up another casandra node and just got the = latest version of Thrift, which is now at 0.6.0=A0but after getting thrift= to build, which was as much of a pain as I remember it being from my prev= ious install, I am unable to generate the thrift cassandra bindings - in m= y case i'm interested in the erlang bindings, but I get the same problem i= f I try producing the python or java bindings.=0A=0AThe error that occurs = is below:=0A=0Agen-thrift-py:=0A=A0=A0 =A0 [echo] Generating Thrift Python= code from /opt/cassandra-trunk-0.7.0/interface/cassandra.thrift ....=0A=A0= =A0 =A0 [exec]=A0=0A=A0=A0 =A0 [exec] [FAILURE:/opt/cassandra-trunk-0.7.0/= interface/cassandra.thrift:376] error: identifier ONE is unqualified!=0A=A0= =A0 =A0 [exec] Result: 1=0A=0ASure, I could go through each version of thr= ift backwards, to 0.2.0 but given how much hassle I have building it each = time I thought it worth asking you guys what the latest version you use is= ?=0A=0AJason --Apple-Webmail-42--d38f331a-9d6b-ecb0-a508-caffccbfb994 Content-Type: multipart/related; type="text/html"; boundary=Apple-Webmail-86--d38f331a-9d6b-ecb0-a508-caffccbfb994 --Apple-Webmail-86--d38f331a-9d6b-ecb0-a508-caffccbfb994 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1;
Look for  lib/thrift-rXXXXX.jar in the source. XXXX is the svn r= evision to use. 

http://wiki.apache.org/cassandra/InstallThrift

Not sure if all those steps still apply, but it's wha= t I did last time I felt like feeling some angst. 

Aaron


On 22 Oct, 2010,at 08:57 AM, J T= <jt4websites@googlemail.com> wrote:

What is the latest version of Thrift that cassandra= -trunk is is supposed to work with ?

I know Thrif= t 0.2.0 works, I'm using that on an existing cassandra 0.7 trunk install.<= /div>

=0A
I recently tried setting up another casandra n= ode and just got the latest version of Thrift, which is now at 0.6.0 = but after getting thrift to build, which was as much of a pain as I rememb= er it being from my previous install, I am unable to generate the thrift c= assandra bindings - in my case i'm interested in the erlang bindings, but = I get the same problem if I try producing the python or java bindings.=0A

The error that occurs is below:

gen-thrift-py:
     [echo] Generating Thr= ift Python code from /opt/cassandra-trunk-0.7.0/interface/cassandra.thrift= ....
     [exec] 
=0A
 &nb= sp;   [exec] [FAILURE:/opt/cassandra-trunk-0.7.0/interface/cassandra.= thrift:376] error: identifier ONE is unqualified!
 &nbs= p;   [exec] Result: 1

Sure, I could go throu= gh each version of thrift backwards, to 0.2.0 but given how much hassle I = have building it each time I thought it worth asking you guys what the lat= est version you use is ?
=0A

Jason
=0A
<= /blockquote>
--Apple-Webmail-86--d38f331a-9d6b-ecb0-a508-caffccbfb994-- --Apple-Webmail-42--d38f331a-9d6b-ecb0-a508-caffccbfb994--