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 91EBAD138 for ; Wed, 3 Oct 2012 07:45:10 +0000 (UTC) Received: (qmail 90658 invoked by uid 500); 3 Oct 2012 07:45:08 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 90616 invoked by uid 500); 3 Oct 2012 07:45:08 -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 90608 invoked by uid 99); 3 Oct 2012 07:45:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 07:45:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,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-a56.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 07:45:02 +0000 Received: from homiemail-a56.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a56.g.dreamhost.com (Postfix) with ESMTP id CA91CFE064 for ; Wed, 3 Oct 2012 00:44:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=ZVbaOcjHtyRAr54tFfDt/exPOO 4=; b=cTFKB8eC5EPh6/Ggx6gfVpK7K9R2Zwze43glzLZxoNLhzEO5zT0PWIqy5c htI/FHi7BYT1iCw5Db/utb+7RkcalhvqknOzswaeZhi909Ibiw6s0hgRQLgGp/5p p+luxx1AYAWuSZfm9RLqcteC7N7dHpsQNLHzoYHKDovCRUEJA= Received: from [172.16.1.10] (unknown [203.86.207.101]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a56.g.dreamhost.com (Postfix) with ESMTPSA id 48E59FE05B for ; Wed, 3 Oct 2012 00:44:38 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_9EC6BB3D-3FED-409D-A6BA-CAEA252CFFF4" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Subject: Re: Getting serialized Rows from CommitLogSegment file Date: Wed, 3 Oct 2012 20:44:40 +1300 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1498) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_9EC6BB3D-3FED-409D-A6BA-CAEA252CFFF4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 >=20 > Do you know where (which e-mail thread) was it discussed? I would like = to know a little further about it. http://www.mail-archive.com/user@cassandra.apache.org/msg25033.html Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 3/10/2012, at 8:24 PM, Felipe Schmidt wrote: > Hey Ben. Yes, that's what I'm doing. >=20 > Do you know where (which e-mail thread) was it discussed? I would like = to know a little further about it. > Anyway, if I try to use the method Schema.instance.getTables, that = returns a list of all registered tables (keyspaces) into the system, it = returns null. > Do you have some idea about why is it happening? >=20 > Thank you very much. >=20 > Regards, > Felipe Mathias Schmidt > (Computer Science UFRGS, RS, Brazil) >=20 >=20 >=20 >=20 >=20 > 2012/10/2 Ben Hood <0x6e6562@gmail.com> > Filipe, >=20 > On Tue, Oct 2, 2012 at 2:56 PM, Felipe Schmidt = wrote: > > Seems like the information was dropped or, maybe, not existent in = this > > instance of the Schema. But, as soon as I know, it's just one = instance of > > the schema in Cassandra, right? >=20 > If I understand you correctly, you are trying to process the commit > log to get a change list? >=20 > If so, then this question has been asked and the general consensus is > that whilst being possible, the commit log is an internal apparatus > subject to change that is not guaranteed to give you the information > you think you should get. Other suggested approaches include producing > your event stream of mutations using AOP or multiplexing change events > on the app layer as they go into Cassandra. >=20 > HTH, >=20 > Ben >=20 --Apple-Mail=_9EC6BB3D-3FED-409D-A6BA-CAEA252CFFF4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
Do you know where (which e-mail = thread) was it discussed? I would like to know a little further = about it.http://www.mail-archive.com/user@cassandra.apache.org/msg25033.html=


Cheers

http://www.thelastpickle.com

On 3/10/2012, at 8:24 PM, Felipe Schmidt <felipefsch@gmail.com> = wrote:

Hey Ben. Yes, that's what I'm doing.

Do = you know where (which e-mail thread) was it discussed? I would like = to know a little further about it.
Anyway, if I try to use the = method Schema.instance.getTables, that returns a list of all registered = tables (keyspaces) into the system, it returns null.
Do you have some idea about why is it = happening?

Thank you very much.

Regards,
Felipe Mathias Schmidt
(Computer = Science UFRGS, RS, Brazil)





2012/10/2 Ben Hood <0x6e6562@gmail.com>
Filipe,

On Tue, Oct 2, 2012 at 2:56 PM, Felipe Schmidt <felipefsch@gmail.com> = wrote:
> Seems like the information was dropped or, maybe, not existent in = this
> instance of the Schema. But, as soon as I know, it's just one = instance of
> the schema in Cassandra, right?

If I understand you correctly, you are trying to process the = commit
log to get a change list?

If so, then this question has been asked and the general consensus = is
that whilst being possible, the commit log is an internal apparatus
subject to change that is not guaranteed to give you the information
you think you should get. Other suggested approaches include = producing
your event stream of mutations using AOP or multiplexing change = events
on the app layer as they go into Cassandra.

HTH,

Ben


= --Apple-Mail=_9EC6BB3D-3FED-409D-A6BA-CAEA252CFFF4--