?
Kind regards,
Pieter Callewaert
From: Yuki Morishita [mailto:mor.y...@gmail.com]
Sent: dinsdag 22 mei 2012 16:21
To: user@cassandra.apache.org
Subject: Re: supercolumns with TTL columns not being compacted correctly
Data will not be deleted when those keys appear in other stables outside of
. This gurantees me the new sstable being written only
> >> contains the data from the old sstable.
> >>
> >> The data in the sstable is more than 31 days old and gc_grace is 0, but
> >> still the data from the sstable is being written to the new one, while
&g
written to the new one, while I am
>> 100% sure all the data is invalid.
>>
>>
>>
>> Kind regards,
>>
>> Pieter Callewaert
>>
>>
>>
>> From: samal [mailto:samalgo...@gmail.com]
>> Sent: dinsdag 22 mei 2012 14:33
>> To: user@cassandra
to the new one, while I am
> 100% sure all the data is invalid.
>
>
>
> Kind regards,
>
> Pieter Callewaert
>
>
>
> From: samal [mailto:samalgo...@gmail.com]
> Sent: dinsdag 22 mei 2012 14:33
> To: user@cassandra.apache.org
> Subject: Re: supercolumns with TTL c
>
>
> From: samal [mailto:samalgo...@gmail.com]
> Sent: dinsdag 22 mei 2012 14:33
> To: user@cassandra.apache.org (mailto:user@cassandra.apache.org)
> Subject: Re: supercolumns with TTL columns not being compacted correctly
>
>
>
>
> Data will remain till next compa
gc_grace is 0, but still
the data from the sstable is being written to the new one, while I am 100% sure
all the data is invalid.
Kind regards,
Pieter Callewaert
From: samal [mailto:samalgo...@gmail.com]
Sent: dinsdag 22 mei 2012 14:33
To: user@cassandra.apache.org
Subject: Re: supercolumns with TTL
Data will remain till next compaction but won't be available. Compaction
will delete old sstable create new one.
On 22-May-2012 5:47 PM, "Pieter Callewaert"
wrote:
> Hi,
>
> ** **
>
> I’ve had my suspicions some months, but I think I am sure about it.
>
> Data is being written by the SST
great video, thanks!
On Thu, Oct 13, 2011 at 7:45 AM, hani elabed wrote:
> Hi Dean,
> I don't have have an answer to your question, but just in case you haven't
> seen this screencast by Ed Anuff on Cassandra Indexes, it helped me a lot.
> http://blip.tv/datastax/indexing-in-cassandra-5495633
>
Hi Dean,
I don't have have an answer to your question, but just in case you haven't
seen this screencast by Ed Anuff on Cassandra Indexes, it helped me a lot.
http://blip.tv/datastax/indexing-in-cassandra-5495633
Hani
On Wed, Oct 12, 2011 at 12:18 PM, Dean Hiller wrote:
> I heard cassandra may
Ok, thanks both
2010/4/15 Ted Zlatanov
> On Wed, 14 Apr 2010 23:34:52 -0700 Vijay wrote:
>
> V> On Wed, Apr 14, 2010 at 10:28 PM, Christian Torres >wrote:
>
> >> I'm defining a ColumnFamily (Table) type Super, It's posible to have a
> >> SuperColumn inside another SuperColumn or SuperColumns c
On Wed, 14 Apr 2010 23:34:52 -0700 Vijay wrote:
V> On Wed, Apr 14, 2010 at 10:28 PM, Christian Torres wrote:
>> I'm defining a ColumnFamily (Table) type Super, It's posible to have a
>> SuperColumn inside another SuperColumn or SuperColumns can only have normal
>> columns?
V> Yes a super colum
Yes a super column can only have columns in it.
Regards,
On Wed, Apr 14, 2010 at 10:28 PM, Christian Torres wrote:
> I'm defining a ColumnFamily (Table) type Super, It's posible to have a
> SuperColumn inside another SuperColumn or SuperColumns can only have normal
> columns?
>
> --
> Christi
Juan,
check the attached source file .
Cao Jiguang
2010-03-17
casablinca126.com
发件人: Juan Manuel Garcia del Moral
发送时间: 2010-03-17 00:09:53
收件人: user@cassandra.apache.org
抄送:
主题: Re: Re: SuperColumns in C++ API
Many thanks for your code, would you please send me the get_slice
g(chTmp);
> col_path.column.assign(strCol);
> client.insert(strKeyspace,strKey, col_path, strValue,time(NULL), ONE);
>}
> }
> catch(TException &tx)
> {
>printf("ERROR: %s\n", tx.what());
>error_num ++ ;
> }
>
RLEN];
string str_zeros;
while(iclose();
}
//---
cheers,
Cao Jiguang
2010-03-16
casablinca126.com
发件人: Juan Manuel Garcia del Moral
发送时间: 2010-03-16 05:16:50
收件人: user@cassandra.apache.org
抄送:
主题: Re: SuperColumns in C++ API
Ok, I'll c
Ok, I'll check out libcassandra in a while.
I've been able to insert values with this:
new_col.__isset.super_column = true;
new_col.__isset.column = true; /* this is required! */
new_col.column_family.assign("Anonimos");
new_col.super_column.assign("Tag");
new_col.column.a
you're still not setting isset on column_family.
you need both isset and assign on each value you're sending.
maybe you should use http://github.com/posulliv/libcassandra ?
On Mon, Mar 15, 2010 at 3:29 PM, Juan Manuel Garcia del Moral
wrote:
> Ok,
>
> Now I've changed to:
>
> ColumnPath new
Sorry I was testing wrong, the values are there:
cassandra> get SocialAds.Anonimos['1']['Tag'];
=> (column=300, value=200, timestamp=12345678)
Thank you so much for your help.
2010/3/15 Juan Manuel Garcia del Moral
> Ok,
>
> Now I've changed to:
>
> ColumnPath new_col;
> new_col.__i
Ok,
Now I've changed to:
ColumnPath new_col;
new_col.__isset.super_column = true;
new_col.__isset.column = true; /* this is required! */
new_col.column_family.assign("Anonimos");
new_col.super_column.assign("Tag");
new_col.column.assign("300");
client.insert("Soc
Ah, thrift is letting you set something to be null, that shouldn't be
legal. This is fixed in 0.6 svn, btw.
it looks like you are setting new_col.__isset.column to true, but not
actually assigning it a value.
On Mon, Mar 15, 2010 at 3:14 PM, Juan Manuel Garcia del Moral
wrote:
> This is what th
This is what the log says:
ERROR [pool-1-thread-8] 2010-03-15 15:54:06,753 Cassandra.java (line 1482)
Internal error processing insert
java.lang.AssertionError: QueryPath(columnFamilyName='Anonimos',
superColumnName='[...@d0357a', columnName='null')
at
org.apache.cassandra.db.ColumnFamily.
check the server log for exception. and if you are not on 0.5.1 or
0.6 svn branch, upgrade.
On Mon, Mar 15, 2010 at 12:47 PM, Juan Manuel Garcia del Moral
wrote:
> Many thanks!
>
> That seems to be useful,
>
> But now I'm getting
> The error message: "Internal error processing insert"
>
> I'm n
Many thanks!
That seems to be useful,
But now I'm getting
The error message: "Internal error processing insert"
I'm not sure if I'm setting the timestamp properly
2010/3/15 Padraig O'Sullivan
> You need to manually set the __isset fields when using the thift API
> in C++. Since you are try
You need to manually set the __isset fields when using the thift API
in C++. Since you are trying to insert a super column, you need to set
the super_column __isset field.
So this:
new_col.__isset.column = true;
should become:
new_col.__isset.super_column = true;
-Padraig
On Mon, Mar 15, 2010
24 matches
Mail list logo