Hello All,
I'm wondering before restarting the a node in a cluster. If I delete the
system keyspace, what data would I be losing, would I be losing anything?
Regards,
Utku
Jonathan, I have downloaded 0.6.8 and the iteration problem is fixed.
Thanks,
Eric
-Original Message-
From: Jonathan Ellis [mailto:jbel...@gmail.com]
Sent: donderdag 11 november 2010 23:05
To: user
Subject: Re: iteration does not yield all data with consistency ONE
Can you try with the l
I'm using tag cassandra-0.7.0-beta3. I wouldn't know why I need range scans
since I perform a multi_get on the indexed keys.
Regards,
Chris
On Sun, Nov 14, 2010 at 9:51 AM, Jonathan Ellis wrote:
> Are you using a version with working range scans?
>
> On Sat, Nov 13, 2010 at 6:11 PM, Christian D
Great. Thanks for helping us track that down!
On Mon, Nov 15, 2010 at 6:45 AM, Eric van Orsouw
wrote:
> Jonathan, I have downloaded 0.6.8 and the iteration problem is fixed.
> Thanks,
> Eric
>
> -Original Message-
> From: Jonathan Ellis [mailto:jbel...@gmail.com]
> Sent: donderdag 11 nove
Mostly these things: stored schema information, cached cluster info,
the token, hints. Everything but the hints can be replaced.
Gary.
On Mon, Nov 15, 2010 at 06:29, Utku Can Topçu wrote:
> Hello All,
>
> I'm wondering before restarting the a node in a cluster. If I delete the
> system keyspace
... but blowing away your saved token is a great way to lose data if
you don't know what you're doing.
On Mon, Nov 15, 2010 at 8:17 AM, Gary Dusbabek wrote:
> Mostly these things: stored schema information, cached cluster info,
> the token, hints. Everything but the hints can be replaced.
>
> Ga
So,
The practice of deleting the system datadir and setting the token in the
configuration (so that we're not losing it) can be treated as a safe(!)
operation if we're OK to lose the hints? Or are there other things to be
aware of?
Regards,
Utku
On Mon, Nov 15, 2010 at 3:25 PM, Jonathan Ellis
Hello list,
I'm in the process of writing an application which uses cassandra as a
"storage" backend. The application is a graph database and it's supposed
to be a baseline application for further development in the field.
The idea is to implement a property graph: a multigraph (multiple edges
co
On Sun, Nov 14, 2010 at 12:50 AM, Jonathan Ellis wrote:
> As you may have guessed from the lack of a "reversed" option on the
> range slice api, backward scans are not supported. The standard thing
> to do is load the keys you are interested in as columns to a row.
>
That makes sense. Just need
no, i do not endorse making a "practice" of blowing away the system
dir. we can and do change what goes there between versions and you
should not mess with it unless you know what you are doing, and even
then very very rarely.
On Mon, Nov 15, 2010 at 8:51 AM, Utku Can Topçu wrote:
> So,
>
> The
Did I answer the question sufficiently? I need repair to work, and the
cluster is sick.
On 11/14/2010 2:17 PM, Jonathan Ellis wrote:
> What exception is causing it to fail/retry?
>
> On Sun, Nov 14, 2010 at 3:49 PM, Chip Salzenberg wrote:
>> My by-now infamous eight-node cluster running 0.7.0bet
Is X.20 spewing these errors constantly now?
Did X.21 log anything when/before the errors started on X.20?
It looks to me like you had an out-of-Cassandra's-control network
problem (or maybe X.21 restarted) and the retry code isn't working.
On Sun, Nov 14, 2010 at 7:26 PM, Chip Salzenberg wrote
On 11/15/2010 10:30 AM, Jonathan Ellis wrote:
> Is X.20 spewing these errors constantly now?
Yes.
> Did X.21 log anything when/before the errors started on X.20?
I find X.21's data disk is full. "nodetool ring" says that X.21 has a
load of only 326.2 GB, but the 1T partition is full.
When I tra
I tried both setting authority to
org.apache.cassandra.auth.SimpleAuthority and AllowAllAuthority...
I uncommitted the "Application logging options" in
log4j-server.properties, is this enough?
Thanks,
On 11/14/2010 8:10 AM, Eric Evans wrote:
On Fri, 2010-11-12 at 17:07 -0800, Alaa Zubaidi wro
On 11/13/10 11:59 AM, Reverend Chip wrote:
Swapping could conceivably be a
factor; the JVM is 32G out of 72G, but the machine is 2.5G into swap
anyway. I'm going to disable swap and see if the gossip issues resolve.
Are you using JNA/memlock to prevent the JVM's heap from being swapped?
There
On Mon, 2010-11-15 at 11:30 -0800, Alaa Zubaidi wrote:
> I tried both setting authority to
> org.apache.cassandra.auth.SimpleAuthority and AllowAllAuthority...
If you are using SimpleAuthenticator then you should be using
SimpleAuthority.
> I uncommitted the "Application logging options" in
> lo
Rows are distributed around the cluster according to the ordering from the Partitioner used, and the Replication Strategy. All data for the same key will be stored together, and then replicated RF times. To answer your questions...1) Each node is responsible for the keys between the previous nodes
On 11/15/2010 11:34 AM, Rob Coli wrote:
> On 11/13/10 11:59 AM, Reverend Chip wrote:
>> Swapping could conceivably be a
>> factor; the JVM is 32G out of 72G, but the machine is 2.5G into swap
>> anyway. I'm going to disable swap and see if the gossip issues resolve.
>
> Are you using JNA/memlock t
On Mon, Nov 15, 2010 at 1:03 PM, Reverend Chip wrote:
> I find X.21's data disk is full. "nodetool ring" says that X.21 has a
> load of only 326.2 GB, but the 1T partition is full.
Load only tracks live data -- is the rest tmp files.
> Somehow repair decided it needed to triple the data usage.
On Mon, Nov 15, 2010 at 2:08 PM, Reverend Chip wrote:
> None of those messages has appeared in either output.log or system.log. ?
This was only added to 0.6/0.7 branches a couple days ago.
--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cass
On 11/15/10 12:08 PM, Reverend Chip wrote:
"
logger_.warn("Unable to lock JVM memory (ENOMEM)."
or
logger.warn("Unknown mlockall error " + errno(e));
"
Trunk also logs if it is successful :
"
logger.info("JNA mlockall successful");
None of those messages has appeared in either output.log or sy
>>1) "So if your node tokens are set as "vertexid_" all keys with the same
prefix will be in the same range."
Adding to Aaron's comment -
This will be the case if you use OrderPreservingPartitioner.
RandomPartitioner(the default) will distribute the tokens randomly across
nodes.
On Mon, Nov 15,
I set authority to SimpleAuthority and log4j.rootLogger=DEBUG,stdout,R
and its still the same, the error in my application is
$batch_mutate_result.read(Cassandra.java:16477)
InvalidRequestException(why: you have not logged in)
and in the system.log after DEBUG .. Disseminating load info..
On 11/15/2010 12:13 PM, Rob Coli wrote:
> On 11/15/10 12:08 PM, Reverend Chip wrote:
>>> "
>>> logger_.warn("Unable to lock JVM memory (ENOMEM)."
>>> or
>>> logger.warn("Unknown mlockall error " + errno(e));
>>> "
>>>
>>> Trunk also logs if it is successful :
>>> "
>>> logger.info("JNA mlockall suc
On 11/15/2010 12:09 PM, Jonathan Ellis wrote:
> On Mon, Nov 15, 2010 at 1:03 PM, Reverend Chip wrote:
>> I find X.21's data disk is full. "nodetool ring" says that X.21 has a
>> load of only 326.2 GB, but the 1T partition is full.
> Load only tracks live data -- is the rest tmp files.
No, there
On Mon, 2010-11-15 at 12:26 -0800, Alaa Zubaidi wrote:
> I set authority to SimpleAuthority and log4j.rootLogger=DEBUG,stdout,R
>
> and its still the same, the error in my application is
> $batch_mutate_result.read(Cassandra.java:16477)
> InvalidRequestException(why: you have not logged in)
>
>
On Mon, Nov 15, 2010 at 3:05 PM, Reverend Chip wrote:
> On 11/15/2010 12:09 PM, Jonathan Ellis wrote:
>> On Mon, Nov 15, 2010 at 1:03 PM, Reverend Chip wrote:
>>> I find X.21's data disk is full. "nodetool ring" says that X.21 has a
>>> load of only 326.2 GB, but the 1T partition is full.
>> Loa
On 11/15/2010 2:01 PM, Jonathan Ellis wrote:
> On Mon, Nov 15, 2010 at 3:05 PM, Reverend Chip wrote:
>>
>> There are a lot of non-tmps that were not included in the load
>> figure. Having stopped the server and deleted tmp files, the data are
>> still using way more space than "ring" claimed -- a
On Mon, Nov 15, 2010 at 5:05 PM, Reverend Chip wrote:
>> You can move the data files do a node with more space, compact there,
>> and move them back, but if you don't care about the data rebuilding is
>> more straightforward.
>
> The nodes are configured identically. What's the point in just
> co
Hi
Problem:
Call - client.get_range_slices(). Using tokens (not keys), fails with
TimedoutException which I think is misleading (Read on)
Server : Works with 6.5 server, but not with 6.6 or 6.8
Client: have tried both 6.5 and 6.6
I am getting a TimedoutException when I do a get_ran
I removed the exception handling and It seems that the login() is hanging?
On 11/15/2010 1:36 PM, Eric Evans wrote:
On Mon, 2010-11-15 at 12:26 -0800, Alaa Zubaidi wrote:
I set authority to SimpleAuthority and log4j.rootLogger=DEBUG,stdout,R
and its still the same, the error in my application
TimedOutException means the host that your client is talking to sent
the request to another machine, which threw the logged exception and
thus did not reply.
You're doing an illegal query; token-based queries have to be on
non-wrapping ranges (left token < right token), or a wrapping range of
(min
Can you try using the command line cassandra-cli tool ? fire it up and look at the online help, if you pass a user name and password to the "use" statement it will perform a login after setting the keyspace for the connection. Try testing the login that way, and see what is logged server side (wit
I only have 1 node (not a cluster), so not sure what another machine it is
trying to send to? This is a very basic test that I am doing, hence only 1
node.
I use describe_ring to get a list of TokenRanges (1 in this case) and use
the end_token and start_token from it to get_range_slices. So what s
In this case you could try subtracting 1 from the right hand side token. AFAIK the recommended approach to reading all rows in a CF is to use keys on the KeyRange see http://wiki.apache.org/cassandra/FAQ#iter_worldTokens are more of an internal feature there to support the Hadoop integration http:/
35 matches
Mail list logo