On 6/27/2011 3:39 PM, David Strauss wrote:
On Mon, 2011-06-27 at 15:06 -0600, AJ wrote:
Would anyone care to talk about their experiences with using Solandra
along side another application that uses Cassandra (also on the same
node)? I'm curious about any resource contention issues or
I was thinking of leveraging ec2 snitch. But my question is then how do I
give replica placement options?
Or can I give snitch as ec2snitch and write the nodes
cassandra-topology.prop and in give locator strategy at time of creating
keyspace as network topology strategy. But will it work?
And
if I'm planning to store 20TB of new data per week, and expire all data every 2
weeks, with a replication factor of 3, do I only need approximately 120 TB of
disk? I'm going to use ttl in my column values to automatically expire data. Or
would I need more capacity to handle sstable merges?
Hmm... Just tested the config. It works, got confused with the options, my
bad.
On Wed, Jun 29, 2011 at 2:26 PM, pankajsoni0126 pankajsoni0...@gmail.comwrote:
I was thinking of leveraging ec2 snitch. But my question is then how do I
give replica placement options?
Or can I give snitch as
I had a strange problem recently where I was unable to set the value of a column
to '0' (it always returned '1') but setting it to other values worked fine:
[default@Test] set Urls['rowkey']['status']='1';
Value inserted.
[default@Test] get Urls['rowkey'];
= (column=status, value=1,
On Wed, Jun 29, 2011 at 5:36 AM, Jacob, Arun arun.ja...@disney.com wrote:
if I'm planning to store 20TB of new data per week, and expire all data
every 2 weeks, with a replication factor of 3, do I only need approximately
120 TB of disk? I'm going to use ttl in my column values to automatically
Are there any options to encrypt the column families when they are
stored in the database. Say in a given keyspace some CF has sensitive
info and I don't want a 'select *' of that CF to layout the data in
plain text.
Thanks.
On Wed, Jun 29, 2011 at 12:37 PM, A J s5a...@gmail.com wrote:
Are there any options to encrypt the column families when they are
stored in the database. Say in a given keyspace some CF has sensitive
info and I don't want a 'select *' of that CF to layout the data in
plain text.
Thanks.
I
I hacked around the code, and first I thought that the cost on map put and
get was due to the synchronization cost , so I tried
replacing concurrentSkipListMap with TreeMap. I created a subclass of
ColumnFamily and use the subclass only in pure read path : interestingly
on the read path, no more
I'll start with my question: given a CF with comparator TimeUUIDType, what
is the most efficient way to get the greatest column's value?
Context: I've been running cassandra for a couple of months now, so
obviously it's time to start layering more on top :-) In my test
environment, I managed to
Someone asked a while ago whether Cassandra was vulnerable to injection attacks:
http://stackoverflow.com/questions/5998838/nosql-injection-php-phpcassa-cassandra
With Thrift, the answer was 'no'.
With CQL, presumably the situation is different, at least until prepared
statements are possible
With multiple data dirs you are still limited by the space free on any
one drive. So if you have two data dirs with 40GB free on each, and you
have 50GB to be compacted, it won't work, but if you had a raid, you
would have 80GB free and could compact...
-Original Message-
From:
From what I read, Cassandra allows a single column value to be up-to
2GB but would chunk the data if greater than 64MB.
Is the chunking transparent to the application or does the app need to
know if/how/when the chunking happened for a specific column value
that happened to be 64MB.
Thank you.
Cassandra uses accrual failure detector to interpret the gossips.
Is it somehow possible to extract these (gossip values and results of
the failure detector) in an external system ?
Thanks
In reviewing client logs as part of our Cassandra testing, I noticed
several Hector All host pools marked down exceptions in the logs.
Further investigation showed a consistent pattern of
java.net.SocketException: Broken pipe and java.net.SocketException:
Connection reset messages. These errors
A simple solution is to setup log4j to a DEBUG level on Gossip events.
You can also use the StorageProxy/Fat client and then participate in gossip.
Each system has its own converging view of the ring, thus what your local
gossip things is the topology may not be the same across the cluster.
On 6/22/2011 9:18 AM, Trevor Smith wrote:
Right -- that's the part that I am more interested in fleshing out in
this post.
Here is one way. Use MVCC
http://en.wikipedia.org/wiki/Multiversion_concurrency_control. A
single global clean-up process would be acceptable since it's not a
The extra () in the describe keyspace output is only there if the column
comparator is the BytesType, the client tries to format the data as UTF8.
Dont forget truncate is doing snapshots, so check the snapshots dir and delete
things if you are using it a lot for testing.
The 0 == 1 thing
How about get_slice() with reversed == true and count = 1 to get the highest
time UUID ?
Or you can also store a column with a magic name that have the value of the
timeuuid that is the current metric to use.
Cheers
-
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
AFAIK there is no server side chunking of column values.
This link http://wiki.apache.org/cassandra/FAQ#large_file_and_blob_storage is
just suggesting in the app you do not store more than 64MB per column.
Cheers
-
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
20 matches
Mail list logo