Upgrading Cassandra cluster from 0.6.3 to 0.7.5

2011-06-16 Thread Ali Ahsan
Hi All, We are upgrading cassandra from 0.6.3 to 0.7.5.We have two node in cluster.I am bit confused how to upgrade them can you have any guide. -- S.Ali Ahsan Senior System Engineer e-Business (Pvt) Ltd 49-C Jail Road, Lahore, P.O. Box 676 Lahore 54000, Pakistan Tel: +92 (0)42 3758 7140

Question regarding Compaction

2011-05-17 Thread Ali Ahsan
Hi All, I was diagnosing high CPU usage on my Cassandra 0.6.3.Then i came across Cassandra wiki link which suggested following. To lower compaction priority (thus reducing its impact on the rest of the system, and making it take longer), add these options to cassandra.in.sh in 0.6.3

Re: Question regarding Compaction

2011-05-17 Thread Ali Ahsan
On 05/17/2011 11:57 PM, Jonathan Ellis wrote: You've had people on this list tell you you should upgrade off such an old release at least twice already this month. The reason we do this is, the odds are good that the answer is someone else ran into that problem a year ago and it got fixed.

Re: Gossiper question

2011-05-17 Thread Ali Ahsan
On 05/18/2011 09:28 AM, Cassa L wrote: Hi, I have 9 node cluster with RF-3 and using Cassandra0.70/Hector26. Recently we are seeing lot of UnavailableException at the client side. Whenever this happens, I found following pattern in Cassandra node's log file at that given time, * INFO

Cassandra node is not blanced Rf=2 Random Partitioner

2011-05-13 Thread Ali Ahsan
My cluster is unbalanced.One have 99 GB Data and other have 87 GB can any one explain why this is happening. [root@cassandra2 conf]# /root/cassandra/bin/nodetool -h 10.0.0.4 ring Address Status Load Range Ring

Re: Cassandra node is not blanced Rf=2 Random Partitioner

2011-05-13 Thread Ali Ahsan
On 05/13/2011 11:46 AM, Ali Ahsan wrote: My cluster is unbalanced.One have 99 GB Data and other have 87 GB can any one explain why this is happening. [root@cassandra2 conf]# /root/cassandra/bin/nodetool -h 10.0.0.4 ring Address Status Load Range

Cassandra causing very high load on CPU's 0.6.3

2011-05-12 Thread Ali Ahsan
Hi All I am experience some problem with me two Cassandra node with RF=2,Both node CPU's usage is very high,load average: 9.47, 5.72, 5.11 and this causing my application to time out .I have xeon with 8 processor and 16 GB of Ram.and LVM setup for Cassandra.How can i trace the main issue of

Re: Cassandra causing very high load on CPU's 0.6.3

2011-05-12 Thread Ali Ahsan
On 05/12/2011 04:08 PM, Ali Ahsan wrote: Hi All I am experience some problem with me two Cassandra node with RF=2,Both node CPU's usage is very high,load average: 9.47, 5.72, 5.11 and this causing my application to time out .I have xeon with 8 processor and 16 GB of Ram.and LVM setup

Re: GC for ParNew (cassandra under performance ) 0.6.3

2011-05-07 Thread Ali Ahsan
Hi That sloved my issue of GC,Now i am facing with new one i have no swap but this process kswapd0 take up 100% cpu when there is load on cassandra any idea why this is happening On 05/05/2011 09:06 PM, Ali Ahsan wrote: Thanks replying,let me disable my swap memory. On 05/05/2011 09:01 PM

Re: GC for ParNew (cassandra under performance ) 0.6.3

2011-05-07 Thread Ali Ahsan
This what free -m and vmstat show now my CPU is on 100% [root@cassandra2 ~]# free -m total used free sharedbuffers cached Mem: 16043 15966 76 0 4900 -/+ buffers/cache: 15061982 Swap:0

Re: GC for ParNew (cassandra under performance ) 0.6.3

2011-05-07 Thread Ali Ahsan
i have changed /proc/sys/vm/pagecache from 100 to 10. On 05/07/2011 10:36 PM, Ali Ahsan wrote: This what free -m and vmstat show now my CPU is on 100% [root@cassandra2 ~]# free -m total used free sharedbuffers cached Mem: 16043 15966

GC for ParNew (cassandra under performance ) 0.6.3

2011-05-05 Thread Ali Ahsan
Hi All I have two cassandra node with RF=2,Cassandra start under performing i mean red write are slow and i see following info in cassandra log.I have centos 5.5 64 bit with 14 GB memory assigned to cassandra.I am using LVM for cassandra.When i reboot my cassanrda every thing become normal.

Re: GC for ParNew (cassandra under performance ) 0.6.3

2011-05-05 Thread Ali Ahsan
Thanks replying,let me disable my swap memory. On 05/05/2011 09:01 PM, Jonathan Ellis wrote: 6s parnew is insane. you're probably swapping. Easiest fix is disabling swap entirely. P.S. 0.6.3 is ancient. -- S.Ali Ahsan Senior System Engineer e-Business (Pvt) Ltd 49-C Jail Road,

Re: cassandra 0.6.3 error Connection refused to host: 127.0.0.1;

2011-04-26 Thread Ali Ahsan
I have added in cassandra.in.sh -Djava.rmi.server.hostname=myipaddress but still getting same error any ideas ? On 04/17/2011 02:24 AM, Tyler Hobbs wrote: http://wiki.apache.org/cassandra/JmxGotchas On Sat, Apr 16, 2011 at 12:20 PM, Ali Ahsan ali.ah...@panasiangroup.com mailto:ali.ah

Re: cassandra 0.6.3 error Connection refused to host: 127.0.0.1;

2011-04-26 Thread Ali Ahsan
...@panasiangroup.com wrote: Any one have solution for this problem ? On 04/13/2011 05:20 PM, Ali Ahsan wrote: I am not running any firewall this physical machine not EC2,I can telnet to port 8080 telnet 127.0.0.1 8080 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape

Re: cassandra 0.6.3 error Connection refused to host: 127.0.0.1;

2011-04-16 Thread Ali Ahsan
Any one have solution for this problem ? On 04/13/2011 05:20 PM, Ali Ahsan wrote: I am not running any firewall this physical machine not EC2,I can telnet to port 8080 telnet 127.0.0.1 8080 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character

Re: cassandra 0.6.3 error Connection refused to host: 127.0.0.1;

2011-04-13 Thread Ali Ahsan
using 127.0.0.1 ? Are you running any sort of fire wall? Check you can connect from the node to the JMX port (8080 by default) using telnet Aaron On 13 Apr 2011, at 04:25, Ali Ahsan wrote: Any one can guide me on this issue ? On 04/12/2011 04:07 PM, Ali Ahsan wrote: Hi All I have migrated my

Re: Cassandra node's replication factor two with random partition non Bootstrap node problem

2011-04-13 Thread Ali Ahsan
This solved we are doing some thing wrong in our application thanks for your help. On 04/13/2011 01:43 AM, Peter Schuller wrote: I have two cassandra node's,If Boot strapped nodes goes down my service remains alive,But if my non Bootstrap (master) node goes down my live site goes down as

cassandra 0.6.3 error Connection refused to host: 127.0.0.1;

2011-04-12 Thread Ali Ahsan
Hi All I have migrated my server to centos 5.5.Every thing is up but facing a little issue i have two cassandra nodes. 10.0.0.4 cassandra2 10.0.0.3 cassandra1 I am using open jdk with cassandra,We are faing following error when using nodetool.Only on one server that is cassandra2.Hosts

Re: cassandra 0.6.3 error Connection refused to host: 127.0.0.1;

2011-04-12 Thread Ali Ahsan
Please any one can On 04/12/2011 04:07 PM, Ali Ahsan wrote: Hi All I have migrated my server to centos 5.5.Every thing is up but facing a little issue i have two cassandra nodes. 10.0.0.4 cassandra2 10.0.0.3 cassandra1 I am using open jdk with cassandra,We are faing following error when

Re: Cassandra monitoring tool

2011-04-12 Thread Ali Ahsan
Thanks for sharing this info,I am getting following error,Can please be more specific how can i run this java -cp /home/ali/apache-cassandra-0.6.3/lib/simple-cassandra-monitoring-1.0.jar 127.0.0.1 ks1:cf1,ks1:cf2 Exception in thread main java.lang.NoClassDefFoundError: 127/0/0/1 Caused by:

Re: Cassandra monitoring tool

2011-04-12 Thread Ali Ahsan
On 04/12/2011 10:42 PM, Héctor Izquierdo Seliva wrote: I forgot to mention it has been coded against 0.7.x, and I'm not sure it will work on 0.6.x. I'll try to add support for both 0.6.x and the new 0.8.x version as soon as possible. I think these error is because of 0.6.3 ? xception in

Cassandra node's replication factor two with random partition non Bootstrap node problem

2011-04-12 Thread Ali Ahsan
Hi All I have two cassandra node's,If Boot strapped nodes goes down my service remains alive,But if my non Bootstrap (master) node goes down my live site goes down as well,I am using cassandra 0.6.3 can any elaborate on this problem.

Re: Cassandra monitoring tool

2011-04-12 Thread Ali Ahsan
Yes same host,I will test this with my developer team and let you know more on it. On 04/12/2011 11:14 PM, Héctor Izquierdo Seliva wrote: I'm not sure. Are you runing it in the same host as the cassandra node? -- S.Ali Ahsan Senior System Engineer e-Business (Pvt) Ltd 49-C Jail Road,

Cassandra 0.6.3 ring not balance in terms of data size

2011-03-17 Thread Ali Ahsan
Hi All We are running Cassandra 0.6.3,We have two node's with replication factor one and ordered partitioning.Problem we are facing at the moment all data is being send to one Cassandra node and its filling up quite rapidly and we are short of disk space.Unfortunately we have hardware

Re: Cassandra 0.6.3 ring not balance in terms of data size

2011-03-17 Thread Ali Ahsan
that helps. Aaron On 17 Mar 2011, at 22:50, Ali Ahsan wrote: Hi All We are running Cassandra 0.6.3,We have two node's with replication factor one and ordered partitioning.Problem we are facing at the moment all data is being send to one Cassandra node and its filling up quite rapidly and we

Re: Cassandra 0.6.3 ring not balance in terms of data size

2011-03-17 Thread Ali Ahsan
Dear Aaron, We are little confused about OPP token.How to calculate OPP Token? Few of our column families have UUID as key and other's have integer as key. On 03/17/2011 04:22 PM, Ali Ahsan wrote: Below is the ouput of nodetool ring Address Status Load Range

Re: Cassandra 0.6.3 ring not balance in terms of data size

2011-03-17 Thread Ali Ahsan
Please can any one give their comment on this On 03/17/2011 07:02 PM, Ali Ahsan wrote: Dear Aaron, We are little confused about OPP token.How to calculate OPP Token? Few of our column families have UUID as key and other's have integer as key.

Re: How to delete bulk data from cassandra 0.6.3

2011-02-05 Thread Ali Ahsan
Any update on this? On 02/05/2011 12:53 AM, Ali Ahsan wrote: So do we need to write a script ? or its some thing i can do as a system admin without involving and developer.If yes please guide me in this case. On 02/04/2011 10:36 PM, Jonathan Ellis wrote: In that case, you should shut down

Re: How to delete bulk data from cassandra 0.6.3

2011-02-05 Thread Ali Ahsan
Thanks for replying Edward Capriolo.Will this effect cassandra ring integrity? Another question is that will cassandra work properly after this operation.And will it be possible to restore deleted data from backup?. in 0.6.X pkill `pid of cassandra` rm -rf *

Re: How to delete bulk data from cassandra 0.6.3

2011-02-05 Thread Ali Ahsan
Thanks for detailed replay On 02/05/2011 10:01 PM, Edward Capriolo wrote: On Sat, Feb 5, 2011 at 11:35 AM, Ali Ahsanali.ah...@panasiangroup.com wrote: Thanks for replying Edward Capriolo.Will this effect cassandra ring integrity? Another question is that will cassandra work properly after

How to upgrade cassandra from 0.6.3 to 0.7

2011-02-05 Thread Ali Ahsan
Hi All We are planning to upgrade cassanra from 0.6.3 to 0.7 any one can guide me to web link where i can find upgrade procedure.

Re: How to upgrade cassandra from 0.6.3 to 0.7

2011-02-05 Thread Ali Ahsan
Ok let me read it out. On 02/06/2011 12:20 AM, Tyler Hobbs wrote: We are planning to upgrade cassanra from 0.6.3 to 0.7 any one can guide me to web link where i can find upgrade procedure. NEWS.txt in an 0.7.0 package covers all the details of upgrading quite well. -- Tyler Hobbs

How to delete bulk data from cassandra 0.6.3

2011-02-04 Thread Ali Ahsan
Hi All Is there any way i can delete column families data (not removing column families ) from Cassandra without effecting ring integrity.What if i delete some column families data in linux with rm command ? -- S.Ali Ahsan Senior System Engineer e-Business (Pvt) Ltd 49-C Jail Road,

Re: How to delete bulk data from cassandra 0.6.3

2011-02-04 Thread Ali Ahsan
So do we need to write a script ? or its some thing i can do as a system admin without involving and developer.If yes please guide me in this case. On 02/04/2011 10:36 PM, Jonathan Ellis wrote: In that case, you should shut down the server before removing data files. On Fri, Feb 4, 2011 at