Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 46109 invoked from network); 18 Feb 2011 22:46:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2011 22:46:58 -0000 Received: (qmail 85507 invoked by uid 500); 18 Feb 2011 22:46:56 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 85447 invoked by uid 500); 18 Feb 2011 22:46:55 -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 85439 invoked by uid 99); 18 Feb 2011 22:46:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 22:46:55 +0000 X-ASF-Spam-Status: No, hits=4.0 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sdolgy@gmail.com designates 209.85.216.44 as permitted sender) Received: from [209.85.216.44] (HELO mail-qw0-f44.google.com) (209.85.216.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 22:46:50 +0000 Received: by qwi2 with SMTP id 2so3981601qwi.31 for ; Fri, 18 Feb 2011 14:46:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=qS1VgAKRNpCx7rhE/BbkRANHtgPhukSM0hgXgtNTMMM=; b=iDd7eR6SP8BMEVO/baEQegwaIB+7Q+UZ8YeaEcc6uA0YhjKQzwN4gC7PdnOqD4dbbg Vulx0Q7Y9PgPHG8PXKjnJBYIonZv84OcJ69X43k4Qz7NpIAQeBw761wwpvGrGSBYej9K 3snsPR7mjA4Ae/yGmBxRR2CpDpfA5/75hjVmw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=kqsRLom1nCEVRpWfRtN0pogY9db35RMcCTlhiNR7lxFLs6yWmEtkBUxix0hArQKHPq nfD8G9T5pypufafcjjlFKLVmUCfJaoEKRivS0aq7tKX5mU1X5LUCykB00Cu/rZmdbSXW OSM1BJEBZzPAjR5dm5sWnxySm4pttgbua8D4I= Received: by 10.229.86.7 with SMTP id q7mr1001796qcl.262.1298069189449; Fri, 18 Feb 2011 14:46:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.226.203 with HTTP; Fri, 18 Feb 2011 14:39:24 -0800 (PST) From: Sasha Dolgy Date: Fri, 18 Feb 2011 23:39:24 +0100 Message-ID: Subject: simple erlang example To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=00163642751fee59db049c9648ac --00163642751fee59db049c9648ac Content-Type: text/plain; charset=ISO-8859-1 hi, does anyone have an erlang example for connecting to cassandra and performing an operation like a get? I'm not having much luck with: \thrift-0.5.0\test\erl\src\* as a reference point. I generated all of the erlang files using thrift and have successfully compiled them but am having a pretty rough go at it. Found this old post: http://www.mail-archive.com/cassandra-user@incubator.apache.org/msg02893.html ... but seems the examples never made it to the wiki. -sd -- Sasha Dolgy sasha.dolgy@gmail.com --00163642751fee59db049c9648ac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hi,

does anyone have an erlang example for connecting to= cassandra and performing an operation like a get? =A0

=
I'm not having much luck with: \thrift-0.5.0\test\erl\src\* as a r= eference point. =A0

I generated all of the erlang files using thrift and ha= ve successfully compiled them but am having a pretty rough go at it.
<= div>
Found this old post: =A0http://www.mail-a= rchive.com/cassandra-user@incubator.apache.org/msg02893.html=A0... but = seems the examples never made it to the wiki.

-sd

--
Sasha Dolgy
sasha.dolgy@gmail.com
--00163642751fee59db049c9648ac--