Re: Buggy JRE error

2013-05-27 Thread Chidambaran Subramanian
I got this error today. INFO 11:16:08,067 Enqueuing flush of Memtable-LocationInfo@8820986(41/51 serialized/live bytes, 1 ops) INFO 11:16:08,068 Writing Memtable-LocationInfo@8820986(41/51 serialized/live bytes, 1 ops) ERROR 11:16:08,077 Exception in thread Thread[COMMIT-LOG-ALLOCATOR,5,main] java

Re: Cassandra + Hadoop - 2 Task attempts with million of rows

2013-05-27 Thread Arya Goudarzi
We haven't tried using Pig. However, we had a problem where our mapreduce job blew up for a subset of data. It appeared that we had a bug in our code that had generated a row as big as 3Gb. It was actually causing long GC pauses and would cause GC thrashing. The hadoop job of course would time out.

Re: Usage of getKeyRange method

2013-05-27 Thread Renato Marroquín Mogrovejo
Thanks Andrey! I will try that. Renato M. 2013/5/24 Andrey Ilinykh > you can specify startKey/endKey only if you use ByteOrederedPartitioner. > In this case startToken/endToken are null. > I guess (but not sure) with RandomPartitioner you have to specify > startToken/endToken, keys are null

Re: Running Cassandra with no open TCP ports

2013-05-27 Thread Edward Capriolo
No. Your only option is to give each instance its own ports. On Mon, May 27, 2013 at 10:24 PM, Mark Mccraw wrote: > Hi All, > > I'm using Cassandra as an embedded datastore for a small service that > doesn't need (or want) to act as a database service in any way. Moreover, > we may want to s

Running Cassandra with no open TCP ports

2013-05-27 Thread Mark Mccraw
Hi All, I'm using Cassandra as an embedded datastore for a small service that doesn't need (or want) to act as a database service in any way. Moreover, we may want to start up multiple instances of the application, and right now whenever that happens, we get port conflicts on 7000 because Cass

Re: Using CQL to insert a column to a row dynamically

2013-05-27 Thread Matthew Hillsborough
Thanks for the reply so far. If I can describe my data model, maybe it'll be easier to see why I wanted to have "wide rows". Maybe there's a better way to model this data using Cassandra or perhaps Cassandra isn't the right tool. Here's an example. Let's say I have a database (relational for argum

Re: Using CQL to insert a column to a row dynamically

2013-05-27 Thread Jonathan Ellis
On Mon, May 27, 2013 at 9:28 AM, Matthew Hillsborough wrote: > I am trying to understand some fundamentals in Cassandra, I was under the > impression that one of the advantages a developer can take in designing a > data model is by dynamically adding columns to a row identified by a key. > That me

Re: Using CQL to insert a column to a row dynamically

2013-05-27 Thread Edward Capriolo
You can add wide rows to CQL3 tables but you can not add wide rows in the same way you can for non-cql-3 compact storage tables. "What I'm not understanding is why there is so much emphasis to predefined columns in CQL examples, particularly in the CREATE TABLE/COLUMNFAMILY examples:" ^ I ask mys

Re: Creating namespace and column family from multiple nodes concurrently

2013-05-27 Thread Arthur Zubarev
Sorry for the belated reply. Your approach #2 must work. One concern I can think of: if the machines are spread across geographically and there is a substantial difference in network speed, AND you want to sync data this may take forever. Also add a very good check on whether the schema got app

Re: Using CQL to insert a column to a row dynamically

2013-05-27 Thread Hiller, Dean
Wide rows, dynamic columns are still possible in CQL3. There are some links here http://comments.gmane.org/gmane.comp.db.cassandra.user/30321 Also, there are other advantages to noSQL, not just schemaless aspect such as that it can accept tons of writes and you can scale the writes(you can't do

Using CQL to insert a column to a row dynamically

2013-05-27 Thread Matthew Hillsborough
Hi all, I posted a similar thread on stackoverflow - hope it's not repetitive for anyone here. Looking for better insight from the community on whether Cassandra is the right tool for me or not. I am trying to understand some fundamentals in Cassandra, I was under the impression that one of the a

Re: Opscenter graphs having no data [Resolved]

2013-05-27 Thread cscetbon.ext
Forget it ! The issue came from a different configuration (cassandra-env.sh) of the chosen node. It was not using the CMS garbage. Regards -- Cyril SCETBON On May 27, 2013, at 12:10 PM, cscetbon@orange.com wrote: Hi, I'm using Opscenter 3.1.0 and see no da

Re: Compaction causing OutOfHeap

2013-05-27 Thread Jabbar Azam
Hello, I've notice in an earlier 1.2.x that if I had a compaction throughput throttle some of the nodes would give an out of memory error only if I was inserting data for more than 10 hours continuosly. The work around was to switch off compaction throttling. This was in a test environment doing

Re: Unable to drop secondary index

2013-05-27 Thread Michal Michalski
(REMINDER: the problem is that I cannot run ALTER on any CF - it seems to work [schema number changes, no error occurs etc.], but no params are updated.) Hi Aaron (let me turn directly to you, as you were the only one who replied my previous mails ;-) ), Today we've added new CF and I notice

Re: Cassandra read reapair

2013-05-27 Thread Kais Ahmed
Hi aaron, I was sure that phpcassa use QUORUM for W and R by default, but you're right, the default CL for R AND W is ONE. We are in this configuration W + R < N, how can i do to repair some keys that always return inconsistent data. Thanks, 2013/5/24 Kais Ahmed > Hi aaron an thanks,

Re: Problem with streaming data from Hadoop: DecoratedKey(-1, )

2013-05-27 Thread Michal Michalski
For now I'm giving up, but I'll have to "refresh" this thread in future ;-) The last thing I found out is that entry that I marked in previous mail as "LAST VALID KEY/VALUE PAIR" is the problem - it is fine itself, but it "breaks" the stream somehow. Removing it fixes the problem, but I still

Re: Buggy JRE error

2013-05-27 Thread Kais Ahmed
Hi chiddu, You have to configure your operating system to use the Oracle JRE instead of OpenJDK. http://www.datastax.com/docs/1.0/install/install_jre 2013/5/27 S Chidambaran > I get these errors frequently as Cassandra starts up. I'm using the > official Java distribution from Ubuntu. > > >

[RELEASE] Apache Cassandra 1.1.12 released

2013-05-27 Thread Sylvain Lebresne
The Cassandra team is pleased to announce the release of Apache Cassandra version 1.1.12. Cassandra is a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model. You can read more here: http://cassan

Re: Multiple cursors

2013-05-27 Thread Vitalii Tymchyshyn
Sorry, it was T9. Of course, it was async thrift client, not "a sync". 21 трав. 2013 11:16, "aaron morton" напис. > We were successfully using a sync thrift client. With it we could send > multiple requests through the single connection and wait for answers. > > Can you provide an example ? > > W