Re: Internal error processing get: Null pointer exception

2011-11-02 Thread Jonathan Ellis
Absolutely right. Patch attached to https://issues.apache.org/jira/browse/CASSANDRA-3449 On Wed, Nov 2, 2011 at 2:09 PM, Erik Forkalsrud wrote: > On 11/01/2011 09:02 PM, Jonathan Ellis wrote: >> >> That doesn't make sense to me.  CS:147 is >> >>             columnFamilyKeyMap.put(row.key, row.cf

Cassandra Process Crashes without warning

2011-11-02 Thread Jahangir Mohammed
Have this weird issue. Initially, it was jvm crashing with Segmentation fault errors. Once I updated it, it did solve the problem that jvm isn't crashing. This time cassandra process just dies without any warning in the logs. To note specifics of the node: 98GB RAM 400 GB Disk Space Currently used

Re: data model for unique users in a time period

2011-11-02 Thread David Jeske
I understand what you are thinking daniel, but this approach has at least one big wrinkle. You would be introducing depencencies between compaction and replication. The 'unique' idempotent records are required for cassandra to read repair properly. Therefore, if a compaction (or even a memtable f

Re: Second Cassandra users survey

2011-11-02 Thread Boris Yen
1. entity groups 2. cql support in cassandra-cli. 3. offset support in slice_range. 4. more sophisticated secondary index implementation. On Wed, Nov 2, 2011 at 8:38 PM, Patrick Julien wrote: > - entity groups > - co-processors > - materialized views > - CQL support directly in cassandra-cli > >

Node OOM, Slice query - missing data?

2011-11-02 Thread Thomas Richter
Hi there, We run a 3 node cluster with 0.7.8 with replication factor 3 for all key spaces. We store external->internal key mappings in a column family with one row for each customer. The largest row contains abount 200k columns. If we import external data we load the whole row and map externa

Re: OOM

2011-11-02 Thread Ben Coverston
Smells like ulimit. Have you been able to reproduce this with the C* process running as root? On Wed, Nov 2, 2011 at 8:12 AM, A J wrote: > java.lang.OutOfMemoryError: unable to create new native thread

Re: Internal error processing get: Null pointer exception

2011-11-02 Thread Erik Forkalsrud
On 11/01/2011 09:02 PM, Jonathan Ellis wrote: That doesn't make sense to me. CS:147 is columnFamilyKeyMap.put(row.key, row.cf); where cFKM is Map columnFamilyKeyMap = new HashMap(); So cFKM can't be null, and HashMap accomodates both null key and null value, so I'm not

Re: Specifying properties for Cassandra

2011-11-02 Thread Aaron Turner
Well hopefully you're using something like Hector on the back end to talk to Cassandra. If so, look at the config knobs it offers and go from there. On Wed, Nov 2, 2011 at 11:42 AM, Lewis John Mcgibbney wrote: > Hi, > > In our project we are using Cassandra 0.8.1, as I am using an object > rela

Specifying properties for Cassandra

2011-11-02 Thread Lewis John Mcgibbney
Hi, In our project we are using Cassandra 0.8.1, as I am using an object relational mapping framework Its my intention to specify properties in a properties file which the ORM can pass to Cassandra. Can someone please advise if there is anything else over and above the properties below which shoul

Re: Problem SliceByNamesReadCommand on super column family after flush operation

2011-11-02 Thread Mike Smith
Hi Jonathan, Jira ticket: CASSANDRA-3446 The problem is not apparent for standard column families. Thanks, Mike On Tue, Nov 1, 2011 at 7:14 PM, Jonathan Ellis wrote: > Can you file a Jira ticket? And, can you reproduce using normal colum

Java Heap Exc.; Memtable; Right config?

2011-11-02 Thread Jacob Schneider
hey, i have a question and need help... Description: I am using cassandra 1.* (3GB ram;4Cors) with 1 node (at first). I am saving different sizes (0.01mb – 600mb) of files and indexes in the db and i want to know whats the best size of a value in a column. If the optimal size is smaller then

Re: 0.8.1: JVM Crash Segmentation Fault

2011-11-02 Thread Jahangir Mohammed
Thanks. Will try upgrading jvm. Is 1.0 or 0.8.6 is backwards compatible with 0.8.1? Thanks, Jahangir. On Wed, Nov 2, 2011 at 9:39 AM, Sylvain Lebresne wrote: > On Wed, Nov 2, 2011 at 2:03 PM, Jahangir Mohammed > wrote: > > Hello All, > > JVM is crashing on the cassandra nodes. Re-start doesn't

Re: Internal error processing get: Null pointer exception

2011-11-02 Thread Ramesh Natarajan
Are we doing anything wrong here? or can this be a bug in cassandra? thanks Ramesh On Tue, Nov 1, 2011 at 11:02 PM, Jonathan Ellis wrote: > That doesn't make sense to me.  CS:147 is > >            columnFamilyKeyMap.put(row.key, row.cf); > > where cFKM is > >        Map columnFamilyKeyMap = new

OOM

2011-11-02 Thread A J
Hi, For a single node of cassandra(1.0 version) having 15G of data+index, 48GB RAM, 8GB heap and about 2.6G memtable threshold, I am getting OOM when I have 1000 concurrent inserts happening at the same time. I have kept concurrent_writes: 128 in cassandra.yaml as there are a total of 16 cores (su

Re: Upgrading to 1.0

2011-11-02 Thread Jonathan Ellis
1.0 can read 0.6 data files but is not network-compatible, so you need to do an all-at-once upgrade. Additionally, the Thrift api changed started with 0.7; see NEWS.txt for details. On Wed, Nov 2, 2011 at 6:46 AM, Jake Maizel wrote: > Hello, > We run a medium sized cluster of 12 nodes on 0.6.13

Re: unsubscribe

2011-11-02 Thread Eric Evans
On Wed, Nov 2, 2011 at 7:44 AM, Antonio VA Hilario wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > - -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > unsubscribe http://threepanelsoul.com/2008/12/02/on-sea-lions/ -- Eric Evans Acunu | http://www.acunu.com | @acunu

Re: 0.8.1: JVM Crash Segmentation Fault

2011-11-02 Thread Sylvain Lebresne
On Wed, Nov 2, 2011 at 2:03 PM, Jahangir Mohammed wrote: > Hello All, > JVM is crashing on the cassandra nodes. Re-start doesn't help for long. > Ring information: > $ bin/nodetool -h A ring; > Address         DC          Rack        Status State   Load            Owns >    Token > >    1276058875

Re: 0.8.1: JVM Crash Segmentation Fault

2011-11-02 Thread Thibaut Britz
Hi, We use these type of crashes as indicator that the node might have some hardware errors. Did you check the ram? (eg memtest86) Thibaut On Wed, Nov 2, 2011 at 2:03 PM, Jahangir Mohammed wrote: > Hello All, > > JVM is crashing on the cassandra nodes. Re-start doesn't help for long. > > Ri

0.8.1: JVM Crash Segmentation Fault

2011-11-02 Thread Jahangir Mohammed
Hello All, JVM is crashing on the cassandra nodes. Re-start doesn't help for long. Ring information: $ bin/nodetool -h A ring; Address DC RackStatus State LoadOwns Token 127605887595351923798765477786913079297 A DC1 RAC1Up Normal

Re: Cassandra 1.x and proper JNA setup

2011-11-02 Thread Maciej Miklas
I've just found, that JNA will be not used from 1.1 release - https://issues.apache.org/jira/browse/CASSANDRA-3271 I would be also nice to know what was the reason for this decision. Regards, Maciej On Wed, Nov 2, 2011 at 1:34 PM, Viktor Jevdokimov < viktor.jevdoki...@adform.com> wrote: > Up, al

unsubscribe

2011-11-02 Thread Antonio VA Hilario
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 unsubscribe - -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org iQIcBAEBAgAGBQJOsTpDAAoJEMDwM2gyrmVA86wQAJ2J61KDXMb8zxIKLq9CV8vS ZKykA2pHHiJ8J

Re: Upgrading to 1.0

2011-11-02 Thread Zhu Han
I'd like to know whether it is possible to upgrade from 0.6.13 to 1.0.x directly, either. Is there anything we should notice that "nodetool scrub" might not fix? On Wed, Nov 2, 2011 at 7:46 PM, Jake Maizel wrote: > Hello, > > We run a medium sized cluster of 12 nodes on 0.6.13 and would like t

Re: Second Cassandra users survey

2011-11-02 Thread Patrick Julien
- entity groups - co-processors - materialized views - CQL support directly in cassandra-cli On Tue, Nov 1, 2011 at 6:59 PM, Jonathan Ellis wrote: > Hi all, > > Two years ago I asked for Cassandra use cases and feature requests. > [1]  The results [2] have been extremely useful in setting and > p

RE: Cassandra 1.x and proper JNA setup

2011-11-02 Thread Viktor Jevdokimov
Up, also interested in answers to questions below. Best regards/ Pagarbiai Viktor Jevdokimov Senior Developer Email: viktor.jevdoki...@adform.com Phone: +370 5 212 3063 Fax: +370 5 261 0453 J. Jasinskio 16C, LT-01112 Vilnius, Lithuania Disclaimer: The information contained in this message a

missing a sub column

2011-11-02 Thread Jeesoo Shin
Hi, I'm using Hector 0.8.0-2 & Cassandra 0.8.6 on EC2 XLarge systems. I have a Supercolumn with 10 sub columns. Most of times it works, but occasionally I find last sub column is missing completely. I checked our program that it's successfully inserting all 10 sub columns into HColumn just before

Upgrading to 1.0

2011-11-02 Thread Jake Maizel
Hello, We run a medium sized cluster of 12 nodes on 0.6.13 and would like to move to 1.0. What's the best practices for this? Can we do a rolling upgrade or does the entire cluster need to be upgraded at once? Regards, Jake -- Jake Maizel Head of Network Operations Soundcloud Mail & GTalk:

Debian package jna bug workaroung

2011-11-02 Thread Peter Tillotson
see below  * JAVA_HOME=/usr/lib/jvm/java-6-openjdk  works -- Reading the documentation over at Datastax “The Debian and RPM packages of Cassandra install JNA automatically” http://www.datastax.com/dev/blog/whats-new-in-cassandra-1-0-improved-memory-and-disk-space-management And indeed the Debia

Re: Storing and querying IP ranges in Cassandra

2011-11-02 Thread Tamas Marki
On Tue, Nov 1, 2011 at 7:28 PM, Aaron Turner wrote: > On Tue, Nov 1, 2011 at 9:17 AM, Tamas Marki wrote: > > Hello, > > > > I'm new to the list and also to Cassandra. I found it when I was > searching > > for something to replace our busy mysql server. > > > > One of the things we use the server

Re: Storing and querying IP ranges in Cassandra

2011-11-02 Thread Tamas Marki
On Tue, Nov 1, 2011 at 6:30 PM, Brandon Williams wrote: > On Tue, Nov 1, 2011 at 11:17 AM, Tamas Marki wrote: > > Hello, > > > > I'm new to the list and also to Cassandra. I found it when I was > searching > > for something to replace our busy mysql server. > > > > One of the things we use the s

Re: Tool for SQL -> Cassandra data movement

2011-11-02 Thread Brian O'Neill
COTs/Open-Source ETL tools exist to do this. (Talend, Pentaho, CloverETL, etc.) With those, you should be able to do this without writing any code. All of the tools can read from a SQL database. Then you just need to push the data into Cassandra. Many of the ETL tools support web services, w