Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 67314 invoked from network); 8 Nov 2010 12:27:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Nov 2010 12:27:54 -0000 Received: (qmail 72343 invoked by uid 500); 8 Nov 2010 12:28:24 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 72070 invoked by uid 500); 8 Nov 2010 12:28:19 -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 72057 invoked by uid 99); 8 Nov 2010 12:28:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 12:28:19 +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 abdoo.mahran@gmail.com designates 209.85.161.172 as permitted sender) Received: from [209.85.161.172] (HELO mail-gx0-f172.google.com) (209.85.161.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 12:28:12 +0000 Received: by gxk27 with SMTP id 27so2010774gxk.31 for ; Mon, 08 Nov 2010 04:27:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=/SFN/losztpi+h5YVznJbHK3m8NJPyOI/5MQWsqCrbo=; b=vCV7gZTvlZ0hc24lTx+WX9O3yS92N5uz/ToE84g3mJIERa8TVYratd2ms5JaXCp0xC LVBLVZ+w2yBzIqZ75MId9s0hukojUqKpg5M0FLPnxrcLMNaNuITmixwvXQuu50MQWDLP 65zK8pgPpCF7RJLPDJScrmJ3uvHFzPpuBRv60= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WvHMMt9f/zXfD49K+4XlzcOAUmi6Pk8G9E5qSR3CP4lrtJ+uDvTRY+BBWAde+roQfk RufZ2ezal/gH6zkaq3voeg/U+fxV0edgtIkdaROiFVHaim8fbYRLZLORc8nDkW7G76/+ L1vmUthj/RFdstMIHg/5SwC0dKz+U6rsZdFDg= MIME-Version: 1.0 Received: by 10.151.85.13 with SMTP id n13mr3590961ybl.92.1289219270826; Mon, 08 Nov 2010 04:27:50 -0800 (PST) Received: by 10.236.27.97 with HTTP; Mon, 8 Nov 2010 04:27:50 -0800 (PST) Date: Mon, 8 Nov 2010 14:27:50 +0200 Message-ID: Subject: cassandra.thrift error From: Abdul Fattah Mahran To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=000e0cd5d07aacdab7049489c077 --000e0cd5d07aacdab7049489c077 Content-Type: text/plain; charset=ISO-8859-1 Dear all, I am learning Cassandra these days, and I found that when I tried to make "thrift --gen erl interface/cassandra.thrift" I got the following error [Failure: PATH_TO_HOME_DIRECTORY/interface/cassandra.thrift:303] error: identifier ONE is unqualified! After some digging, I found that there is an error in cassandra.thrift file in a lot of lines [303, 314, 336, 345 ..] that contains "required ConsistencyLevel consistency_level=ONE" and this is should be "required ConsistencyLevel consistency_level=*ConsistencyLevel.ONE*", I changed it in the rest places and now it worked fine. I found that in the latest release from *Apache-Cassandra-0.6.6*, I wish that helps in changing it to the right one. Thanks Best Regards, Abd El-Fattah Mahran Software Developer Customer Adaptation Center, RMEA Ericsson Egypt Ltd, --000e0cd5d07aacdab7049489c077 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear all,
=A0 =A0 =A0 =A0I am learning Cassandra these days, and I found that when I= tried to make "thrift --gen erl interface/cassandra.thrift" =A0I got the f= ollowing error
[Failure: PATH_TO_HOME_DIRECTORY/interface/cassandra.thrift:303] error: identifier ONE is unqualified!

After some digging, I found that there is an error in cassandra.thrift file in a lot of lines [303, 314, 336, 345 ..] that contains =A0"required ConsistencyLevel consistency_level=3DONE" and this is should be= "required ConsistencyLevel con= sistency_level=3DConsistencyLevel.ONE", I changed= it in the rest places and now it worked fine.

I found that in the latest release from Apache-Cassandra-0.6.6, I wish that helps in changing it to the right one.

= Thanks
Best Regards,

Abd El-Fattah Mahran
Software Developer Customer Adaptation Center, RMEA
Ericsson Egypt Ltd,
--000e0cd5d07aacdab7049489c077--