Re: Internal error processing get_slice (NullPointerException)

2012-03-30 Thread aaron morton
Fixed in 1.0.9 / 1.1 https://issues.apache.org/jira/browse/CASSANDRA-4095 Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 27/03/2012, at 12:56 PM, John Laban wrote: > Has anyone seen this particular NPE before from Cassandra? > > This is

RE: Internal error processing batch_mutate java.util.ConcurrentModificationException

2012-02-07 Thread Viktor Jevdokimov
message in error, please contact the sender immediately and irrevocably delete this message and any copies. From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Monday, February 06, 2012 21:03 To: user@cassandra.apache.org Subject: Re: Internal error proce

Re: Internal error processing batch_mutate java.util.ConcurrentModificationException

2012-02-06 Thread aaron morton
That looks like a bug. Were you writing counters ? Can you please add it here https://issues.apache.org/jira/browse/CASSANDRA , include some information on the request that caused it and email the bug report back to the list. (note to self) I *think* the problem is the counter WritePerformer

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

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: 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

Re: Internal error processing get: Null pointer exception

2011-11-01 Thread Jonathan Ellis
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 sure what there is to thorw NPE. On Tue, Nov 1, 2

Re: Internal error processing get_range_slices

2011-08-15 Thread Jonathan Ellis
The count you specify is the worst case, so if you can't even allocate a List to handle it, you shouldn't be specifying such a high count. Better find that out immediately, then when your data set grows in production. On Mon, Aug 15, 2011 at 8:15 AM, Patrik Modesto wrote: > On Mon, Aug 15, 2011 a

Re: Internal error processing get_range_slices

2011-08-15 Thread Patrik Modesto
On Mon, Aug 15, 2011 at 15:09, Jonathan Ellis wrote: > On Mon, Aug 15, 2011 at 7:13 AM, Patrik Modesto > wrote: >> PS: while reading the email before I'd send it, I've noticed the >> keyRange.count =... is it possible that Cassandra is preallocating >> some internal data acording the KeyRange.cou

Re: Internal error processing get_range_slices

2011-08-15 Thread Jonathan Ellis
On Mon, Aug 15, 2011 at 7:13 AM, Patrik Modesto wrote: > PS: while reading the email before I'd send it, I've noticed the > keyRange.count =... is it possible that Cassandra is preallocating > some internal data acording the KeyRange.count parameter? That's exactly what it does. -- Jonathan Ell

Re: "Internal error processing get" during bootstrap

2011-07-31 Thread aaron morton
The wiki has info on setting up a cluster, see http://wiki.apache.org/cassandra/Operations and http://wiki.apache.org/cassandra/GettingStarted If get errors check the server side logs (/var/log/cassandra), also make sure that you are getting the exception raised by thrift. e.g. TInvalidRequest

Re: "Internal error processing get" during bootstrap

2011-07-31 Thread Rafael Almeida
I'm going to tell you guys the answers I could find so far. On Tuesday, July 26, 2011, Rafael Almeida wrote: > I couldn't find much documentation regarding how to make a cluster, but it > seemed simple enough. At cassandra server A (10.0.0.2) I had seeds: > "locahost". At server B (10.0.0.3) I

Re: Internal error

2011-04-21 Thread Sylvain Lebresne
http://www.datastax.com/docs/0.7/troubleshooting/index#nodes-are-dying-with-oom-errors -- Sylvain On Thu, Apr 21, 2011 at 7:37 AM, Renato Bacelar da Silveira < renat...@indabamobile.co.za> wrote: > Thank you kindly Jonathan, it was indeed logged in the server. > > Appreciate all the help so far

Re: Internal error processing get_range_slices

2011-04-20 Thread Jonathan Ellis
"internal error" means an error on the server. check the server log for the stacktrace. On Wed, Apr 20, 2011 at 11:54 AM, Renato Bacelar da Silveira < renat...@indabamobile.co.za> wrote: > Hi all > > I am just augmenting the information on the following error: > > -- error --

Re: Internal error processing insert

2011-02-14 Thread Matthew Dennis
I had actually meant to (and thought I did) type "greater than zero and less than *or equal* to number of nodes". That being said, you usually do want it less than the number of nodes in the cluster because otherwise your cluster essentially has the same performance as a single node. In general (

Re: Internal error processing insert

2011-02-14 Thread Aaron Morton
He probably meant in production. When playing around, and if you only have 2 nodes, you can set it to 2. From memory RF of 2 means the Quorum is also 2, so you cannot afford to lose one. Thats fine for playing. Aaron On 15 Feb, 2011,at 01:51 PM, mcasandra wrote: mcasandra wrote: > > In earlier p

Re: Internal error processing insert

2011-02-14 Thread mcasandra
mcasandra wrote: > > In earlier post same thread you mentioned that replication factor should > be set to less than N. > > Currently I am testing on 2 node cluster and I was able to set > replication_factor to 2 (=N) and also when I did cfstats (I don't quite > understand cfstats in detail) and

Re: Internal error processing insert

2011-02-14 Thread mcasandra
In earlier post same thread you mentioned that replication factor should be set to less than N. Currently I am testing on 2 node cluster and I was able to set replication_factor to 2 (=N) and also when I did cfstats (I don't quite understand cfstats in detail) and see some activity on both nodes

Re: Internal error processing insert

2011-02-14 Thread Matthew Dennis
On Mon, Feb 14, 2011 at 6:28 PM, Aaron Morton wrote: > Will take a closer look at the code tonight, perhaps we should return an > error if you try to using Network Topology it cannot detect any DC's . > > +1

Re: Internal error processing insert

2011-02-14 Thread Eric Gilmore
For now, I have committed a change in the misleading documentation, substituting SimpleStrategy for NTS. Sorry you ran into trouble due to that, mcasandra. On Mon, Feb 14, 2011 at 4:28 PM, Aaron Morton wrote: > Will take a closer look at the code tonight, perhaps we should return an > error if y

Re: Internal error processing insert

2011-02-14 Thread Aaron Morton
Will take a closer look at the code tonight, perhaps we should return an error if you try to using Network Topology it cannot detect any DC's . CheersAaron On 15 Feb, 2011,at 01:22 PM, mcasandra wrote: That's what I thought might be happening since network topology will try to find one node on the

Re: Internal error processing insert

2011-02-14 Thread mcasandra
That's what I thought might be happening since network topology will try to find one node on the other data center. Message is little confusing though. [default@unknown] update keyspace twissandra placement_strategy='org.apache.cassandra.locator.SimpleStrategy'; Syntax error at position 28: miss

Re: Internal error processing insert

2011-02-14 Thread Aaron Morton
Not sure why the docs suggest to use the NetworkTopologyStrategy, if their are no data centres configured the NetworkTopologyStrategy will say the replication factor is 0. I think this is the source of the "invalid response count 1 for replication factor 0"  message. Can you try with the SimpleStra

Re: Internal error processing insert

2011-02-14 Thread mcasandra
No it's not set to 0. I am just following the example on datastax getting started site. Here are all the commands: [default@unknown] create keyspace twissandra with replication_factor=1 ... and placement_strategy='org.apache.cassandra.locator.NetworkTopologyStrategy'; 22dea790-3893-11e0-9174-

Re: Internal error processing insert

2011-02-14 Thread Matthew Dennis
Is your ReplicationFactor (RF) really set to 0? Don't do that, it needs to be at least 1 and probably needs to be 3 in production if you care about your data. It must be greater than 0 and less than the number of nodes in your ring. It represents the number of nodes to copy/replicate data to. An

Re: Internal error when using SimpleSnitch and dynamic_snitch: true

2011-01-17 Thread Jonathan Ellis
Already fixed for 0.7.1 in CASSANDRA-1530. On Mon, Jan 17, 2011 at 11:29 AM, Jim Ancona wrote: > We accidently configured our cluster with SimpleSnitch (instead of > PropertyFileSnitch) and dynamic_snitch: true. This is with version > 0.7.0. > > We saw the errors below on get_slice and batch_muta

Re: "Internal error processing get" in get after insert ttl

2010-09-23 Thread Michal Augustýn
Thank you very much! This solved my problem. Columns are really deleted and there is no warn/error in log. Augi 2010/9/23 Sylvain Lebresne > Oups, that would be a bug. > Would you mind grabbing the patch attached to > https://issues.apache.org/jira/browse/CASSANDRA-1539 and check that is > does

Re: "Internal error processing get" in get after insert ttl

2010-09-23 Thread Sylvain Lebresne
Oups, that would be a bug. Would you mind grabbing the patch attached to https://issues.apache.org/jira/browse/CASSANDRA-1539 and check that is does fix the problem ? -- Sylvain On Thu, Sep 23, 2010 at 1:28 PM, Michal Augustýn wrote: > Ah, I didn't know that, thank you! > Here is the trace: > ER

Re: "Internal error processing get" in get after insert ttl

2010-09-23 Thread Michal Augustýn
Ah, I didn't know that, thank you! Here is the trace: ERROR 13:25:59,418 Internal error processing get java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: column is not marked for delete at org.apache.cassandra.service.StorageProxy.weakRead

Re: "Internal error processing get" in get after insert ttl

2010-09-23 Thread Jonathan Ellis
cassandra.bat is looking for a file named log4j.properties on the classpath. On Thu, Sep 23, 2010 at 5:52 AM, Michal Augustýn wrote: > Unfortunately, I'm running Cassandra on Windows platform and the logging > doesn't work; I'm not able to configure them properly respectively. > I always get "log

Re: "Internal error processing get" in get after insert ttl -

2010-09-23 Thread Jonathan Ellis
this probably means you have a nonsense replicationfactor on that keyspace. r1000404 adds that information to the assert in trunk. On Thu, Sep 23, 2010 at 3:36 AM, vineet daniel wrote: > I got similar error but while inserting I am using 07 Beta 1 and l found the > following in the logs : > > ERR

Re: "Internal error processing get" in get after insert ttl

2010-09-23 Thread Michal Augustýn
Unfortunately, I'm running Cassandra on Windows platform and the logging doesn't work; I'm not able to configure them properly respectively. I always get "log4j:WARN No appenders could be found for logger (org.apache.cassandra.utils.CLibrary)." after Cassandra starts. I tried to copy "log4j-server.

Re: "Internal error processing get" in get after insert ttl -

2010-09-23 Thread Michal Augustýn
I don't have underscores in column families names... Btw. I'm using yesterday's night build. Augi 2010/9/23 vineet daniel > Hi > > I was using 'access_logs' as column family name changed it to Accesslogs > and it worked. May be cassandra doesn't like underscores and small letters. > > > Regards

Re: "Internal error processing get" in get after insert ttl -

2010-09-23 Thread vineet daniel
Hi I was using 'access_logs' as column family name changed it to Accesslogs and it worked. May be cassandra doesn't like underscores and small letters. Regards Vineet Daniel Cell : +918106217121 Websites : Blog | Linkedin

Re: "Internal error processing get" in get after insert ttl -

2010-09-23 Thread vineet daniel
I got similar error but while inserting I am using 07 Beta 1 and l found the following in the logs : ERROR 13:59:44,555 Internal error processing insert java.lang.AssertionError: invalid response count 1 at org.apache.cassandra.service.WriteResponseHandler.determineBlockFor(WriteResponseHa

Re: "Internal error processing get" in get after insert ttl

2010-09-23 Thread Sylvain Lebresne
You should not have anything special to do. Could you check the cassandra logs and give us the stack trace of the error ? -- Sylvain On Thu, Sep 23, 2010 at 8:36 AM, Michal Augustýn wrote: > Hello, > I tried to use Column.Ttl property but I was not successful. My simple test: > 1) insert column

Re: Internal error processing get_indexed_slices?

2010-08-27 Thread Ed Anuff
Never mind, did an "ant clean" and then rebuilt and it looks fine now. Ed On Fri, Aug 27, 2010 at 5:30 PM, Ed Anuff wrote: > Seeing this error on the latest build with code that worked fine > previously. Any ideas? > > 2010-08-27 17:24:45,037 ERROR (pool-1-thread-2) > [org.apache.cassandra.thr

RE: Internal error processing describe_keyspace

2010-04-23 Thread Amol Deshpande
M To: user@cassandra.apache.org Subject: Re: Internal error processing describe_keyspace can you attach the full stacktrace? On Fri, Apr 23, 2010 at 4:50 PM, Amol Deshpande wrote: > Hi, > > > > I 'm new to Cassandra, trying to set up a single node to play with.  I set > one

Re: Internal error processing describe_keyspace

2010-04-23 Thread Jonathan Ellis
can you attach the full stacktrace? On Fri, Apr 23, 2010 at 4:50 PM, Amol Deshpande wrote: > Hi, > > > > I ‘m new to Cassandra, trying to set up a single node to play with.  I set > one up in a VM (0.6.1 off the website) , running fedora 12.  Things seem > peachy in that I can connect to it with

Re: Internal error

2010-04-13 Thread Jonathan Ellis
On Tue, Apr 13, 2010 at 11:23 AM, Scott White wrote: > ERROR [pool-1-thread-60] 2010-04-13 04:58:11,806 Cassandra.java (line 1492) > Internal error processing insert internal error means "check the server log for the stacktrace" > Also a side question I was curious about, is the state of a boost