Re: Out of memory on wide row read

2015-05-19 Thread Antoine Blanchet
The issue has been closed by Jonathan Ellis. The limit is useless in CQL because of the automatic paging feature http://www.datastax.com/dev/blog/client-side-improvements-in-cassandra-2-0, that's cool. But this feature will not be add to the Thrift API. Subject closed :). On Mon, May 18, 2015 at

cqlsh ValueError: Don't know how to parse type string

2015-05-19 Thread Kaushal Shriyan
Hi, I am running cassandra version 1.2.19 and cqlsh version 3.1.8 in my setup cqlsh:apprepo select * from test_proxy_revisions_r21 limit 10 ; Traceback (most recent call last): File ./cqlsh, line 1039, in perform_statement_untraced self.cursor.execute(statement, decoder=decoder) File

Re: Batch isolation within a single partition

2015-05-19 Thread Sylvain Lebresne
On Tue, May 19, 2015 at 9:42 AM, DuyHai Doan doanduy...@gmail.com wrote: If RF 1, the consistency level at QUORUM cannot guarantee strict isolation (for normal mutation or batch). If you look at this slide:

Re: Batch isolation within a single partition

2015-05-19 Thread DuyHai Doan
If RF 1, the consistency level at QUORUM cannot guarantee strict isolation (for normal mutation or batch). If you look at this slide: http://www.slideshare.net/doanduyhai/cassandra-introduction-apache-con-2014-budapest/25, you can see that the mutation is sent by the coordinator, in parallel, to

Re: cqlsh ValueError: Don't know how to parse type string

2015-05-19 Thread DuyHai Doan
Hello Kaushal Humm your schema is using the ancient DynamicCompositeType. Can you just send a describe of the table in cassandra-cli ? On Tue, May 19, 2015 at 9:44 AM, Kaushal Shriyan kaushalshri...@gmail.com wrote: Hi, I am running cassandra version 1.2.19 and cqlsh version 3.1.8 in my

Re: Batch isolation within a single partition

2015-05-19 Thread Martin Krasser
On 19.05.15 10:04, Sylvain Lebresne wrote: On Tue, May 19, 2015 at 9:42 AM, DuyHai Doan doanduy...@gmail.com mailto:doanduy...@gmail.com wrote: If RF 1, the consistency level at QUORUM cannot guarantee strict isolation (for normal mutation or batch). If you look at this slide:

Re: cqlsh ValueError: Don't know how to parse type string

2015-05-19 Thread Kaushal Shriyan
Hi DuyHai Doan, Please find the below details /opt/test4/share/apache-cassandra/bin/cassandra-cli -h 0 Connected to: “test” on 0/9160 Welcome to Cassandra CLI version 1.2.19 Type 'help;' or '?' for help. Type 'quit;' or 'exit;' to quit. [default@unknown] use testrepo; Authenticated to

Re: Batch isolation within a single partition

2015-05-19 Thread Stefan Podkowinski
Multiple inserts for the same partition key within a batch will be consolidated into a single row update operation (since 2.0.6, #6737https://issues.apache.org/jira/browse/CASSANDRA-6737). Ie. you get the same row level isolationhttp://www.datastax.com/dev/blog/row-level-isolation guarantees

Re: Batch isolation within a single partition

2015-05-19 Thread Martin Krasser
On 19.05.15 10:38, Stefan Podkowinski wrote: Multiple inserts for the same partition key within a batch will be consolidated into a single row update operation (since 2.0.6, #6737 https://issues.apache.org/jira/browse/CASSANDRA-6737). Ie. you get the same row level isolation

Re: cqlsh ValueError: Don't know how to parse type string

2015-05-19 Thread Kaushal Shriyan
Hi DuyHai Doan, I am looking forward for your reply and please do let me know if you need any other additional information. Regards, Kaushal On Tue, May 19, 2015 at 2:36 PM, Kaushal Shriyan kaushalshri...@gmail.com wrote: Hi DuyHai Doan, Please find the below details

Re: Consistency Issues

2015-05-19 Thread Jared Rodriguez
It looks like NTP was the problem. Thanks for the solution!!! On Wed, May 13, 2015 at 9:20 AM, Robert Wille rwi...@fold3.com wrote: Timestamps have millisecond granularity. If you make multiple writes within the same millisecond, then the outcome is not deterministic. Also, make sure you

Does Cassandra CQL supports 'Create Table as Select'?

2015-05-19 Thread amit tewari
Hi We would like to have the ability of being able to create new tables from existing tables (on the fly), but with with a new/different partition key. Can this be done from CQL? Thanks Amit

Re: Does Cassandra CQL supports 'Create Table as Select'?

2015-05-19 Thread Jonathan Haddad
Here's a simple example I did a little while ago that might be helpful: https://github.com/rustyrazorblade/spark-data-migration On Tue, May 19, 2015 at 10:53 PM Jonathan Haddad j...@jonhaddad.com wrote: It's not built into Cassandra. You'll probably want to take a look at Apache Spark the

Re: Does Cassandra CQL supports 'Create Table as Select'?

2015-05-19 Thread Jonathan Haddad
It's not built into Cassandra. You'll probably want to take a look at Apache Spark the DataStax connector. https://github.com/datastax/spark-cassandra-connector Jon On Tue, May 19, 2015 at 10:29 PM amit tewari amittewar...@gmail.com wrote: Hi We would like to have the ability of being

Re: Out of memory on wide row read

2015-05-19 Thread Jack Krupansky
Shame on me for not noticing that you uttered the magic anti-pattern word - Thrift. Yeah, the standard response to any inquiry concerning Thrift is always that you should be migrating to CQL3. -- Jack Krupansky On Tue, May 19, 2015 at 3:13 AM, Antoine Blanchet a.blanc...@abc-arbitrage.com

spout storm cassandra

2015-05-19 Thread Vanessa Gligor
Is there any way to consume inputs from Cassandra using a Storm spout? Thank you.

Re: Fail to add a node to a cluster - Unknown keyspace system_traces

2015-05-19 Thread Tzach Livyatan
More finding on the problem: 1. the problem present itself when using nodetool status $ nodetool status error: Unknown keyspace system_traces -- StackTrace -- java.lang.AssertionError: Unknown keyspace system_traces at org.apache.cassandra.db.Keyspace.init(Keyspace.java:270) at

[BETA-RELEASE] Apache Cassandra 2.2.0-beta1 released

2015-05-19 Thread Jake Luciani
The Cassandra team is pleased to announce the release of Apache Cassandra version 2.2.0-beta1. This release is *not* production ready. We are looking for testing of existing and new features. If you encounter any problem please let us know [1]. Cassandra 2.2 features major enhancements such as:

Re: spout storm cassandra

2015-05-19 Thread Manoj Khangaonkar
Hi, Storm spouts are supposed to read from somewhere - preferably streams. In theory, you could write a spout that queries cassandra and makes data available to storm. But remember that cassandra datamodel is based on partitioning based on key and the use of wide columns. So if the your data