Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 240A81079 for ; Sun, 24 Apr 2011 20:30:41 +0000 (UTC) Received: (qmail 55632 invoked by uid 500); 24 Apr 2011 20:30:39 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 55609 invoked by uid 500); 24 Apr 2011 20:30:39 -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 55599 invoked by uid 99); 24 Apr 2011 20:30:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Apr 2011 20:30:39 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of subrahmanyaharve@gmail.com designates 209.85.216.179 as permitted sender) Received: from [209.85.216.179] (HELO mail-qy0-f179.google.com) (209.85.216.179) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Apr 2011 20:30:33 +0000 Received: by qyk7 with SMTP id 7so1011934qyk.10 for ; Sun, 24 Apr 2011 13:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=t5UlCB8ZHcVdBr5Q/JkO2h7B7N3tHZTfrsRz1gnXbj4=; b=kxxi8b0jtwnU6Jzjp83qLzvWcJLKcH29G1WanOlo3Xrk+xnE+MDXPp4ckX4FAAULIK tIqZ7mHdzUr3l9d2TRi8vqmaH9w9oUcsdwk9lexgSnLkW5lEZ/nGmNfbzD/ykYEC7Zf2 qxwVRBMAB6lbalburF2c3nadtgUAWL6pYwibs= 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 :cc:content-type; b=LBoIf0hw26HC8W9GpqMyai02UHLxmL9VFypRhDEmknn4wIQBu+lcttgfF4yO2K/3gI VQFCK63l5GhPhz+DhPJdljIYwB4qn9TpIGU7jQApjTJdXxWbaWp/8yPuGJ4b8pbbb88c 3GxYsz5YZ9ilMQpHaPsDkhLkoA6EBaWsxA1So= MIME-Version: 1.0 Received: by 10.229.102.66 with SMTP id f2mr2228221qco.263.1303677012695; Sun, 24 Apr 2011 13:30:12 -0700 (PDT) Received: by 10.229.19.79 with HTTP; Sun, 24 Apr 2011 13:30:12 -0700 (PDT) In-Reply-To: References: Date: Sun, 24 Apr 2011 13:30:12 -0700 Message-ID: Subject: Re: sstable2json From: Subrahmanya Harve To: user@cassandra.apache.org Cc: dev@cassandra.apache.org Content-Type: multipart/alternative; boundary=002354470e843e5b0004a1aff53f --002354470e843e5b0004a1aff53f Content-Type: text/plain; charset=ISO-8859-1 Thanks Edward. Thats a good idea. Regards, smh. On Sat, Apr 23, 2011 at 11:04 AM, Edward Capriolo wrote: > On Fri, Apr 22, 2011 at 9:07 PM, Jonathan Ellis wrote: > > No. > > > > On Fri, Apr 22, 2011 at 3:22 PM, Subrahmanya Harve > > wrote: > >> Hi, > >> > >> Is there a tool similar to sstable2json that can be used to convert data > in > >> commitlog to json? Or does sstable2json let us read the commitlog as > well? > >> > >> Regards, > >> smh. > >> > > > > > > > > -- > > Jonathan Ellis > > Project Chair, Apache Cassandra > > co-founder of DataStax, the source for professional Cassandra support > > http://www.datastax.com > > > > You could > 1)configure a second instance of cassandra > 2)copy the commit logs to it > 3) start the instance. (this will write the commit logs to memtables) > 4) flush the column families > 5) sstable2json the results > --002354470e843e5b0004a1aff53f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks Edward. Thats a good idea.

Regards,
smh.


On Sat, Apr 23, 2011 at 11:04 AM, Edward Capriolo = <edlinuxguru@= gmail.com> wrote:
<= div class=3D"h5">On Fri, Apr 22, 2011 at 9:07 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
> No.
>
> On Fri, Apr 22, 2011 at 3:22 PM, Subrahmanya Harve
> <subrahmanyaharve@gma= il.com> wrote:
>> Hi,
>>
>> Is there a tool similar to sstable2json that can be used to conver= t data in
>> commitlog to json? Or does sstable2json let us read the commitlog = as well?
>>
>> Regards,
>> smh.
>>
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support<= br> > http://www.datas= tax.com
>

You could
1)configure a second instance of cassandra
2)copy the commit logs to it
3) start the instance. (this will write the commit logs to memtables)
4) flush the column families
5) sstable2json the results

--002354470e843e5b0004a1aff53f--