Re: what's the difference between repair CF separately and repair the entire node?

2011-09-13 Thread Sylvain Lebresne
On Wed, Sep 14, 2011 at 2:38 AM, Yan Chunlu wrote: > me neither don't want to repair one CF at the time. > the "node repair" took a week and still running, compactionstats and > netstream shows nothing is running on every node,  and also no error > message, no exception, really no idea what was it

Re: what's the difference between repair CF separately and repair the entire node?

2011-09-13 Thread Yan Chunlu
me neither don't want to repair one CF at the time. the "node repair" took a week and still running, compactionstats and netstream shows nothing is running on every node, and also no error message, no exception, really no idea what was it doing, I stopped yesterday. maybe I should run repair ag

Re: what's the difference between repair CF separately and repair the entire node?

2011-09-13 Thread Peter Schuller
> I think it is a serious problem since I can not "repair".  I am > using cassandra on production servers. is there some way to fix it > without upgrade?  I heard of that 0.8.x is still not quite ready in > production environment. It is a serious issue if you really need to repair one CF at th

Re: what's the difference between repair CF separately and repair the entire node?

2011-09-13 Thread Peter Schuller
>> It's "okay" but won't do what you want; due to a bug you'll see >> streaming of data for other column families than the one you're trying >> to repair. This will be fixed in 1.0. > > I think we might be running into this. Is CASSANDRA-2280 the issue > you're referring to? Yes. Sorry for not pro

Re: Configuring multi DC cluster

2011-09-13 Thread aaron morton
Looks good to me. Last time I checked the Partitioner did not take the DC into consideration https://issues.apache.org/jira/browse/CASSANDRA-3047 Good luck. - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 14/09/2011, at 8:41 AM, Anand S

Re: Index search in provided list of rows (list of rowKeys).

2011-09-13 Thread aaron morton
Not sure it's a feature cassandra needs, it would radically change the meaning of get_indexes_slices(). If you already know the row keys the assumption would be you know they are the rows you want to get. Feel free to add a Jira though. IMHO this sounds more like Sphinx not supporting all the

Configuring multi DC cluster

2011-09-13 Thread Anand Somani
Hi, Just trying to setup a cluster of 4 nodes for multiDC scenario - with 2 nodes in each DC. This is all on the same box just for testing the configuration aspect. I have configured things as - PropertyFile - 127.0.0.4=SC:rack1 127.0.0.5=SC:rack2 127.0.0.6=AT:rack1 127

Re: StorageProxy Mbean not exposed in 0.7.8 anymore

2011-09-13 Thread Anand Somani
yes, I see it now. Thx On Tue, Sep 13, 2011 at 10:11 AM, Nick Bailey wrote: > The StorageProxyMBean should still be exposed. It won't exist until some > reads or writes are performed on the cluster though. You may need to > actually do some reads/writes to see it show up. > > > On Tue, Sep 13,

Re: StorageProxy Mbean not exposed in 0.7.8 anymore

2011-09-13 Thread Nick Bailey
The StorageProxyMBean should still be exposed. It won't exist until some reads or writes are performed on the cluster though. You may need to actually do some reads/writes to see it show up. On Tue, Sep 13, 2011 at 11:53 AM, Anand Somani wrote: > Hi, > > Upgraded from 7.4 to 7.8, noticed that St

StorageProxy Mbean not exposed in 0.7.8 anymore

2011-09-13 Thread Anand Somani
Hi, Upgraded from 7.4 to 7.8, noticed that StorageProxy (under cassandra.db) is no longer exposed, is that intentional? So the question are these covered somewhere else? Thanks Anand

Re: Error in upgrading cassandra to 0.8.5

2011-09-13 Thread Roshan Dawrani
On Tue, Sep 13, 2011 at 7:03 PM, Jonathan Ellis wrote: > Just remove the row cache files. > Thanks a lot. The 0.8.5 Cassandra started just fine after getting rid of those *KeyCache files. -- Roshan Blog: http://roshandawrani.wordpress.com/ Twitter: @roshandawrani

Re: memtable flush thresholds

2011-09-13 Thread Jonathan Ellis
Because for small columns the Java "container" objects are larger than the actual column data. On Tue, Sep 13, 2011 at 9:38 AM, Radim Kolar wrote: >> flush of Memtable-idx_graphable@915643571 > (4671498/96780112 serialized/live bytes, 59891 ops) > can somebody explain why difference between live

Re: Error in upgrading cassandra to 0.8.5

2011-09-13 Thread Jonathan Ellis
More or less. NEWS.txt explains upgrade procedure in more detail. On Tue, Sep 13, 2011 at 8:43 AM, Roshan Dawrani wrote: > Hi. > Thanks for replying back. Just a quick cross-confirmation, if you don't > mind: > So, I can do the following without fearing any loss of data, etc? > * "nodetool drain

Re: Can initial_token be decimal or hexadecimal format?

2011-09-13 Thread Jonathan Ellis
Parsing is done by TokenFactory.fromString, so yes, it matters per partitioner. On Tue, Sep 13, 2011 at 4:09 AM, Mck wrote: > And does it matter when using different partitoners? > > In the config it seems only strings are used. > In RP it parses this string into a BigInteger so it needs to be in

Re: adding node without bootstrap

2011-09-13 Thread Edward Capriolo
2011/9/13 Radim Kolar > If i add node without bootstrap and run repair on both nodes then no data > are moved to new node, just new writes are going to new node. This is > expected behaviour or it is some kind of user or program error? > No. This is exactly what you are asking the node to do by

Re: memtable flush thresholds

2011-09-13 Thread Radim Kolar
flush of Memtable-idx_graphable@915643571*(4671498/96780112 serialized/live bytes, 59891 ops) can somebody explain why difference between live and serialized is so big? Serialized bytes are actual bytes written to sstable? *

Re: balancing issue with Random partitioner

2011-09-13 Thread David McNelis
So we tried decommissionning the 100.5 node, then re added it to the ring. It now appears to be streaming data properly to that node. On Tue, Sep 13, 2011 at 6:56 AM, David McNelis wrote: > I ran a repair on 100.5. It returned back almost immediately and netstats > and tpstats don't show any

adding node without bootstrap

2011-09-13 Thread Radim Kolar
If i add node without bootstrap and run repair on both nodes then no data are moved to new node, just new writes are going to new node. This is expected behaviour or it is some kind of user or program error?

Re: Replace Live Node

2011-09-13 Thread Kyle Gibson
Just wanted to update and say the move was completed without any issues in v 0.7.8. Thanks for all the help everyone. On Mon, Sep 12, 2011 at 4:31 PM, Jeremy Hanna wrote: >> So to move data from node with token 0, the new node needs to have >> initial token set to 17014118346046923173168730371588

Re: Error in upgrading cassandra to 0.8.5

2011-09-13 Thread Roshan Dawrani
Hi. Thanks for replying back. Just a quick cross-confirmation, if you don't mind: So, I can do the following without fearing any loss of data, etc? * "nodetool drain" and bring down the 0.7.0 node (it's a one node setup that I am upgrading) * remove all files from saved_caches directory (both sy

Re: Error in upgrading cassandra to 0.8.5

2011-09-13 Thread Jonathan Ellis
Just remove the row cache files. On Tue, Sep 13, 2011 at 8:23 AM, Roshan Dawrani wrote: > Hi, > I am in the process of upgrading Cassandra to the recently released v0.8.5 > and facing an issue. > We had two Cassandra environments - one having 0.7.0 and another 0.7.2. The > upgrade on 0.7.2 has ha

Error in upgrading cassandra to 0.8.5

2011-09-13 Thread Roshan Dawrani
Hi, I am in the process of upgrading Cassandra to the recently released v0.8.5 and facing an issue. We had two Cassandra environments - one having 0.7.0 and another 0.7.2. The upgrade on 0.7.2 has happened smoothly, but on the environment having 0.7.0, when I make the switch, the DB fails to come

Re: balancing issue with Random partitioner

2011-09-13 Thread David McNelis
I ran a repair on 100.5. It returned back almost immediately and netstats and tpstats don't show any additional activity. Nor does the Java process start using more juice. When I look at the cfstats for the main keyspace, number of keys is 0 in all cases. When I look at other nodes in the clust

Re: NullPointerException doing cleanup

2011-09-13 Thread Fredrik Stigbäck
Thanks. Will upgrade to 0.8.5. Regards /Fredrik 2011/9/13 Sylvain Lebresne > This should be fixed in 0.8.5 (more precisely by > https://issues.apache.org/jira/browse/CASSANDRA-3039) > > -- > Sylvain > > On Tue, Sep 13, 2011 at 12:53 PM, Fredrik Stigbäck > wrote: > > Trying to do a nodetool cle

Re: NullPointerException doing cleanup

2011-09-13 Thread Sylvain Lebresne
This should be fixed in 0.8.5 (more precisely by https://issues.apache.org/jira/browse/CASSANDRA-3039) -- Sylvain On Tue, Sep 13, 2011 at 12:53 PM, Fredrik Stigbäck wrote: > Trying to do a nodetool cleanup but gets a NullPointerException. > I've done some debugging and found out that the propert

NullPointerException doing cleanup

2011-09-13 Thread Fredrik Stigbäck
Trying to do a nodetool cleanup but gets a NullPointerException. I've done some debugging and found out that the property org.apache.cassandra.db.compaction.PrecompactedRow.compactedCf is initilaized to null since ColumnFamilyStore.removeDeleted(ColumnFamily, int) returns null which I interpret as

AUTO: Manoj Chaudhary is out of the office (returning 09/15/2011)

2011-09-13 Thread Manoj Chaudhary
I am out of the office until 09/15/2011. I will be out office starting 09/13/2011 for WebSphere F&C conference , returning back on 09/16/2011. I will respond to your message when I return to the office on 09/16//2011. For anything urgent please contact Clara Liang( Clara C Liang/Silicon Valle

Can initial_token be decimal or hexadecimal format?

2011-09-13 Thread Mck
And does it matter when using different partitoners? In the config it seems only strings are used. In RP it parses this string into a BigInteger so it needs to be in decimal format, but for ByteOrderPartitioner it uses FBUtilities.hexToBytes(..) when translating a string to a token (BytesToken).