Multi-dc restart impact

2013-09-05 Thread Chris Burroughs
We have a 2 DC cluster running cassandra 1.2.9. They are in actual physically separate DCs on opposite coasts of the US, not just logical ones. The primary use of this cluster is CL.ONE reads out of a single column family. My expectation was that in such a scenario restarts would have minima

Is CAS working in Cassandra 2.0?

2013-09-05 Thread Jakub Janeček
Hello, I wanted to use the new CAS functionality in Cassandra 2.0 and for some reason it does not work when I try to update or insert a row when CAS fails. Let me show: I have a fresh installation of Cassandra 2.0 on my Mac OS filled with a keyspace and this column family: CREATE TABLE card

Re: Key cache size

2013-09-05 Thread Nate McCall
You may have hit memory pressure caising cassandra to resize your cache. You can change the behavior by modifying reduce_cache_capacity_at in cassandra.yaml See the comments in such for details. On Sep 4, 2013 4:08 PM, "Daning Wang" wrote: > We noticed that key cache could not be fully populated

Security?

2013-09-05 Thread Hartzman, Leslie
Does Cassandra have any security features to restrict access or does this have to be done at the business tier? Thanks. Les [CONFIDENTIALITY AND PRIVACY NOTICE] Information transmitted by this email is proprietary to Medtronic and is intended for use only by the individual or entity to which

RE: Security?

2013-09-05 Thread Hartzman, Leslie
Thanks for the info. So open-source Cassandra does not provide for auditing? -Original Message- From: Jeremy Hanna [mailto:jeremy.hanna1...@gmail.com] Sent: Thursday, September 05, 2013 9:47 AM To: user@cassandra.apache.org Subject: Re: Security? For open-source Cassandra, there is a fr

Re: Security?

2013-09-05 Thread Jeremy Hanna
For open-source Cassandra, there is a framework for security (see the security book-thing in the sidebar): http://www.datastax.com/documentation/cassandra/1.2/webhelp/index.html For those wanting additional things like auditing and other features, there's DataStax Enterprise: http://www.datasta

Client SSL - cassandra-cli -OK, cqlsh -Problem

2013-09-05 Thread Robert Wagner
I am having a problem connecting via SSL using cqlsh. If I try with the cassandra-cli command: cassandra-cli -ts /etc/cassandra/conf/.truststore -tspw -h -p 9160 -tf org.apache.cassandra.cli.transport.SSLTransportFactory it connects fine. If I try with cqlshrc [root@ccluster1 ~]# more .cqlshrc

SSTableReader support files in Distribute File System

2013-09-05 Thread java8964 java8964
Hi, I don't think currently Cassandra can support this, but if it does, can someone tell me how, or is it reasonable to ask this feature and where should I submit it to? I am thinking that SSTableReader class, and underline supporting classes, should support handling the files in a DFS, like CFS

Re: Maintain backup for single node cluster

2013-09-05 Thread Robert Coli
On Thu, Sep 5, 2013 at 1:39 PM, Ertio Lew wrote: > I would like to have a single node cassandra cluster initially but to > maintain backups for single node how about occasionally & temporarily > adding a second node (one that would contain the backup, this could be my > dev machine as well, far

Maintain backup for single node cluster

2013-09-05 Thread Ertio Lew
I would like to have a single node cassandra cluster initially but to maintain backups for single node how about occasionally & temporarily adding a second node (one that would contain the backup, this could be my dev machine as well, far far from first node in some remote datacenter) to cluster a

Re: Custom data type is not work at C* 2.0

2013-09-05 Thread Dave Brosius
I think your class is missing a required public TypeSerializer getSerializer() {} method This is what you need to derive from https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=blob;f=src/java/org/apache/cassandra/db/marshal/AbstractType.java;h=74fe446319c199433b47d3ae60fc4d644e86b653;

Re: Security?

2013-09-05 Thread Jeremy Hanna
Right so the auditing feature is one that is only in the DataStax Enterprise version. This sub-topic in the DSE documentation describes what's in Apache Cassandra versus what's in DataStax Enterprise with respect to security: http://www.datastax.com/docs/datastax_enterprise3.1/security/security

Re: Custom data type is not work at C* 2.0

2013-09-05 Thread Katsutoshi
Thanks to your reply, this problem has been solved. I was making a mistake which uses AbstractType of a version 1.2.9. 2013/9/6 Dave Brosius > I think your class is missing a required > > public TypeSerializer getSerializer() {} > > method > > > This is what you need to derive from > > > https

Help on Cassandra Limitaions

2013-09-05 Thread J Ramesh Kumar
Hi, http://wiki.apache.org/cassandra/CassandraLimitations In the above link, I found the below limitation, "The maximum number of cells (rows x columns) in a single partition is 2 billion.". Here what does "partition" mean ? Is it node (or) column family (or) anything else ? Thanks, Ramesh

Re: Help on Cassandra Limitaions

2013-09-05 Thread Hannu Kröger
I asked the same thing earlier and this is what patrick mcfadin replied: "It's not worded well. Essentially it's saying there is a 2B limit on a row. It should be worded a 'CQL row'" I hope helps. Cheers, Hannu On 6.9.2013, at 8.20, J Ramesh Kumar wrote: > Hi, > > http://wiki.apache.org/ca

Re: Help on Cassandra Limitaions

2013-09-05 Thread Sylvain Lebresne
Well, I don't know if that's what Patrick replied but that's not correct. The wording *is* correct, though it does uses CQL3 terms. For CQL3, the term "partition" is used to describe all the (CQL) rows that share the same partition key (If you don't know what the latter is: http://cassandra.apache.