Re: Error while starting Cassandra for the first time

2015-02-05 Thread Mark Reddy
Hey Krish, If you want to use these config values rather than comment them out, feel free to post a sample of the config that is giving you trouble, I'd be happy to take a look at it and see if I could see where your issue is. The fact that all the config options are directories may be an

Re: Case Study for Learning Cassandra

2015-02-05 Thread Mark Reddy
Hey Krish, Here is a list of use cases from the industry: http://planetcassandra.org/apache-cassandra-use-cases/ You may find some examples on how people/companies are using and running their C* clusters. Also DataStax provide online training that will get you up to speed on several aspects of

Re: Newly added column not visible

2015-02-05 Thread Carlos Rolo
Hey Saurabh, Your issue seems similar to one I have, but mine seems like a timing issue (and not easy to reproduce) , check the comments here https://issues.apache.org/jira/browse/CASSANDRA-8012 and see if it fits your problem. Otherwise do like Mark recommended and create a new JIRA issue.

Re: Newly added column not visible

2015-02-05 Thread Mark Reddy
Hey Saurabh, I can't say that I have experienced this before, however if you can reliably reproduce the issue it would be worth commenting on the JIRA issue you linked to or alternatively creating a new JIRA with as much info (setup, test case, debug logs, etc) as possible. Regards, Mark On 5

Writing the same column frequently - anti pattern?

2015-02-05 Thread Andreas Finke
Hi, we are currently writing the same column within a row multiple times (up to 10 times a second). I am familiar with the concept of tombstones in SSTables. My question is: I assume that in our case in most cases when a column gets overwritten it still resides in the memtable. So I assume for

Re: Writing the same column frequently - anti pattern?

2015-02-05 Thread Philip Thompson
You are correct. If an overwrite occurs while the original is still in the memtable, only the newest will be flushed to disk. On Thu, Feb 5, 2015 at 6:15 PM, Andreas Finke andreas.fi...@solvians.com wrote: Hi, we are currently writing the same column within a row multiple times (up to 10

RE: Problems with user defined types (cql) and Datastax Java Driver

2015-02-05 Thread Andreas Finke
Hi Alex, I did so. Thanks for that hint. Andi From: Alex Popescu [al...@datastax.com] Sent: 05 February 2015 18:14 To: user Subject: Re: Problems with user defined types (cql) and Datastax Java Driver Andreas, Can you please post your question to the Java

Re: Writing the same column frequently - anti pattern?

2015-02-05 Thread Jonathan Haddad
Well... this is actually only true if your server times are perfectly in sync. The reality is if 1 server is 50ms ahead and 1 is 50 behind, your will actually end up with unpredictable results. On Thu Feb 05 2015 at 4:22:43 PM Philip Thompson philip.thomp...@datastax.com wrote: You are

Re: Problems with user defined types (cql) and Datastax Java Driver

2015-02-05 Thread Alex Popescu
Andreas, Can you please post your question to the Java driver ml https://groups.google.com/a/lists.datastax.com/forum/#!forum/java-driver-user as you'll have better chances to get an answer there. thanks On Thu, Feb 5, 2015 at 9:10 AM, Andreas Finke andreas.fi...@solvians.com wrote: Hi,

Problems with user defined types (cql) and Datastax Java Driver

2015-02-05 Thread Andreas Finke
Hi, I encountered the problem that in Java the Session does not create a valid UserType for my corresponding CQL user defined type. CQL_SCHEMA: create keyspace if not exists quotes WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }; CREATE TYPE IF NOT EXISTS

Re: Writing the same column frequently - anti pattern?

2015-02-05 Thread Robert Coli
On Thu, Feb 5, 2015 at 4:15 PM, Andreas Finke andreas.fi...@solvians.com wrote: we are currently writing the same column within a row multiple times (up to 10 times a second). I am familiar with the concept of tombstones in SSTables. My question is: I assume that in our case in most cases

Anonymous user in permissions system?

2015-02-05 Thread Erik Forsberg
Hi! Is there such a thing as the anonymous/unauthenticated user in the cassandra permissions system? What I would like to do is to grant select, i.e. provide read-only access, to users which have not presented a username and password. Then grant update/insert to other users which have presented

Re: Anonymous user in permissions system?

2015-02-05 Thread Carlos Rolo
Hello Erik, It seems possible, refer to the following documentation to see if it fits your needs: http://www.datastax.com/documentation/cassandra/2.0/cassandra/security/secureInternalAuthenticationTOC.html