Re: NetworkTopologyStrategy ring distribution across 2 DC

2014-03-12 Thread Ramesh Natarajan
at 1:37 PM, Ramesh Natarajan wrote: > >> >> Note: Ownership information does not include topology; for complete >> information, specify a keyspace >> >> Also the owns column is 0% for the second DC. >> >> Is this normal? >> > > Yes. > >

Fwd: NetworkTopologyStrategy ring distribution across 2 DC

2014-03-11 Thread Ramesh Natarajan
Hi, I have 14 cassandra nodes, running as 2 data centers using PropertyFileSnitch as follows 192.168.1.101=DC1:RAC1 192.168.1.102=DC1:RAC1 192.168.1.103=DC1:RAC1 192.168.1.104=DC1:RAC1 192.168.1.105=DC1:RAC1 192.168.1.106=DC1:RAC1 192.168.1.107=DC1:RAC1 192.168.1.108=DC2:RAC1 192.168.1.109=DC2:RA

datastax opscenter authentication

2012-01-23 Thread Ramesh Natarajan
I am trying to integrate opscenter in our environment and I was wondering if we can use PAM authentication instead of a password file for opscenter authentication? thanks Ramesh

Re: specifying initial cassandra schema

2012-01-18 Thread Ramesh Natarajan
dy a schema in the cassandra > cluster, you'll get a exception from schematool but no impact to the > cluster. > > Bye > > Carlos Pérez Miguel > > > > 2012/1/17 Ramesh Natarajan : > > I usually start cassandra and then use cassandra-cli to import a > > sc

specifying initial cassandra schema

2012-01-17 Thread Ramesh Natarajan
I usually start cassandra and then use cassandra-cli to import a schema. Is there any automated way to load a fixed schema when cassandra starts automatically? I have a test setup where i run cassandra on a single node. I have a OS image packaged with cassandra and it automatically starts cassa

Re: gracefully recover from data file corruptions

2011-12-16 Thread Ramesh Natarajan
onths in the > future. > > Ben > > On Fri, Dec 16, 2011 at 5:16 PM, Jeremiah Jordan > wrote: >> >> You need to run repair on the node once it is back up (to get back the >> data you just deleted).  If this is happening on more than one node you >> could have

gracefully recover from data file corruptions

2011-12-16 Thread Ramesh Natarajan
We are running a 30 node 1.0.5 cassandra cluster running RHEL 5.6 x86_64 virtualized on ESXi 5.0. We are seeing Decorated Key assertion error during compactions and at this point we are suspecting anything from OS/ESXi/HBA/iSCSI RAID. Please correct me i am wrong, once a node gets into this state

Re: tmp files in /var/lib/cassandra/data

2011-12-14 Thread Ramesh Natarajan
       0   > 155320746 /opt/cassandra/data/system/HintsColumnFamily-tmp-hc-1107-Index.db > java       8185      root  955u      REG               8,32          0   > 155320747 /opt/cassandra/data/system/HintsColumnFamily-tmp-hc-1107-Data.db > > Going to try rolling back to 1.0.5 for the tim

tmp files in /var/lib/cassandra/data

2011-12-14 Thread Ramesh Natarajan
We are using leveled compaction running cassandra 1.0.6. I checked the data directory (/var/lib/cassandra/data) and i see these 0 bytes tmp files. What are these files? thanks Ramesh -rw-r--r-- 1 root root0 Dec 14 17:15 uid-tmp-hc-106-Data.db -rw-r--r-- 1 root root0 Dec 14 17:15

Re: cassandra in production environment

2011-12-12 Thread Ramesh Natarajan
n JRE 1.6.29 thanks Ramesh On Mon, Dec 12, 2011 at 10:02 AM, Jason Wellonen wrote: > RHEL 6.1 and 6.2 with KVM.  No file corruptions that I am aware of. > > Jason > > -Original Message- > From: Ramesh Natarajan [mailto:rames...@gmail.com] > Sent: Sunday, December 1

cassandra in production environment

2011-12-11 Thread Ramesh Natarajan
Hi, We are currently testing cassandra in RHEL 6.1 64 bit environment running on ESXi 5.0 and are experiencing issues with data file corruptions. If you are using linux for production environment can you please share which OS/version you are using? thanks Ramesh

Re: IOException running cassandra 1.0.5

2011-12-09 Thread Ramesh Natarajan
ce it has been written, so this would > suggest an external modification, typically some bit rot. > > In that case you don't have much other choice than removing > the mentioned data file and run a repair. > > -- > Sylvain > > On Fri, Dec 9, 2011 at 1:37 PM, Ramesh Na

Re: AssertionError in hintedhandoff - 1.0.5

2011-12-06 Thread Ramesh Natarajan
https://issues.apache.org/jira/browse/CASSANDRA-3579 thanks Ramesh On Tue, Dec 6, 2011 at 2:16 AM, Sylvain Lebresne wrote: > Do you mind opening a ticket on > https://issues.apache.org/jira/browse/CASSANDRA ? > > Thanks > > -- > Sylvain > > On Tue, Dec 6, 2011 at

Re: Assertion error during bootstraping cassandra 1.0.2

2011-11-28 Thread Ramesh Natarajan
; Sylvain > > On Tue, Nov 22, 2011 at 5:35 PM, Ramesh Natarajan wrote: >> Hi, >> >>  I have a 3 node cassandra cluster. I have RF set to 3 and do reads >> and writes using QUORUM. >> >> Here is my initial ring configuration >> >> [root@CAP4-

Assertion error during bootstraping cassandra 1.0.2

2011-11-22 Thread Ramesh Natarajan
Hi, I have a 3 node cassandra cluster. I have RF set to 3 and do reads and writes using QUORUM. Here is my initial ring configuration [root@CAP4-CNode1 ~]# /root/cassandra/bin/nodetool -h localhost ring Address DC RackStatus State Load OwnsToken 11342745

Re: Internal error processing get: Null pointer exception

2011-11-02 Thread Ramesh Natarajan
p 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, 2011 at 5:56 PM, Ramesh Natarajan wrote: >> We have a 8 node cassandra cl

Re: Second Cassandra users survey

2011-11-01 Thread Ramesh Natarajan
Here is my wish list - I would love Cassandra to - provide a efficient method to retrieve the count of columns for a given row without resorting to read all columns and calculate the count for a given row key. - support auto increment column names - Column slice based query doesn't take advant

Re: Cassandra 1.0: Exception in compaction

2011-10-26 Thread Ramesh Natarajan
llegal Capacity: -2 >would be great. > >-- >Sylvain > >On Wed, Oct 26, 2011 at 6:26 PM, Ramesh Natarajan wrote: >> We are using the final 1.0.0. >> >> Thanks >> Ramesh >> >> On Wed, Oct 26, 2011 at 11:16 AM, Sylvain Lebresne >> wrote: >>

Re: Cassandra 1.0: Exception in compaction

2011-10-26 Thread Ramesh Natarajan
have the full log for one of those node leading to the exception >> that you could share? Not sure that'll help but who knows. >> >> -- >> Sylvain >> >> On Fri, Oct 21, 2011 at 4:34 PM, Ramesh Natarajan wrote: >>> i am using size based compactio

Re: Key count mismatch in cluster for a column family

2011-10-26 Thread Ramesh Natarajan
environment? Are there any known issues/interactions with compaction and updating column family in 1.0? Thanks Ramesh Ramesh Natarajan wrote: >Looks like compaction for this column family stopped after some time. >The last message for this column family in the system.log is >

Re: Key count mismatch in cluster for a column family

2011-10-26 Thread Ramesh Natarajan
Looks like compaction for this column family stopped after some time. The last message for this column family in the system.log is INFO [MigrationStage:1] 2011-10-25 16:57:00,385 Migration.java (line 119) Applying migration 43f106c0-ff54-11e0--68877f281daf Update column family to org.apache.c

Re: nodetool ring Load column

2011-10-21 Thread Ramesh Natarajan
gt; include how you are configured in any JIRA you make, someone else was seeing > a similar issue with compression turned on. > > -Jeremiah > > On Oct 14, 2011, at 1:13 PM, Ramesh Natarajan wrote: > >> What does the Load column in nodetool ring mean?  From the output >&g

Re: Cassandra 1.0: Exception in compaction

2011-10-21 Thread Ramesh Natarajan
ception with leveled compaction, > is it what you are > using too (to help narrow it down)? Also, are you using windows by any chance? > > -- > Sylvain > > > On Thu, Oct 20, 2011 at 9:04 PM, Ramesh Natarajan wrote: >> We are running a 8 node cassandra 1.0 cluster. We are

Cassandra 1.0: Exception in compaction

2011-10-20 Thread Ramesh Natarajan
We are running a 8 node cassandra 1.0 cluster. We are seeing this exception quite often. Any idea how to debug this issue? java.lang.IllegalArgumentException: Illegal Capacity: -2 at java.util.ArrayList.(ArrayList.java:110) at org.apache.cassandra.db.DataTracker$View.newSSTables(

nodetool ring Load column

2011-10-14 Thread Ramesh Natarajan
What does the Load column in nodetool ring mean? From the output below it shows 101.62 GB. However if I do a disk usage it is about 6 GB. thanks Ramesh [root@CAP2-CNode1 cassandra]# ~root/apache-cassandra-1.0.0-rc2/bin/nodetool -h localhost ring Address DC RackStatus St

read on multiple SS tables

2011-10-06 Thread Ramesh Natarajan
Lets assume I perform frequent insert & update on a column family.. Over a period of time multiple sstables will have this row/column data. I have 2 questions about how reads work in cassandra w.r.t. multiple SS tables. -If you perform a query for a specific row key and a column name, does it read

Re: Consistency level and ReadRepair

2011-10-05 Thread Ramesh Natarajan
805 ReadRepair difference : 354774 thanks Ramesh On Wed, Oct 5, 2011 at 2:21 PM, Jonathan Ellis wrote: > As explained in the link in my earlier reply, "Read Repair" just means > "a replica was checked in the background," not that it was out of > sync. > > On Wed, Oc

Re: Consistency level and ReadRepair

2011-10-05 Thread Ramesh Natarajan
Yes Hinted Handoff is enabled. However I don't see any counters raising against the HintedHandoff in the tpstats. thanks Ramesh On Wed, Oct 5, 2011 at 2:10 PM, Mohit Anchlia wrote: > Do you see any errors in the logs? Is your HH enabled? > > On Wed, Oct 5, 2011 at 12:00 PM, Ra

Re: Consistency level and ReadRepair

2011-10-05 Thread Ramesh Natarajan
easing just means you were doing reads at < CL.ALL, and had > the CF configured to perform RR. > > On Wed, Oct 5, 2011 at 12:37 PM, Ramesh Natarajan wrote: >> I have a 12 node cassandra cluster running with RF=3.  I have severl >> clients ( all running on a single node ) c

Memtable Switch Count

2011-10-05 Thread Ramesh Natarajan
What is Memtable Switch Count in the cfstats output? thanks Ramesh

Re: nodetool cfstats on 1.0.0-rc1 throws an exception

2011-10-05 Thread Ramesh Natarajan
table2json to take a look around > * work out steps to reproduce and report it on Jira > Hope that helps. > - > Aaron Morton > Freelance Cassandra Developer > @aaronmorton > http://www.thelastpickle.com > On 4/10/2011, at 11:30 AM, Ramesh Natarajan wrote: >

Consistency level and ReadRepair

2011-10-05 Thread Ramesh Natarajan
I have a 12 node cassandra cluster running with RF=3. I have severl clients ( all running on a single node ) connecting to the cluster ( fixed client - node mapping ) and try to do a insert, update , select and delete. Each client has a fixed mapping of the row-keys and always connect to the same

Re: Cassandra JVM heap size

2011-10-03 Thread Ramesh Natarajan
e it's > easier to deal with failures. If you had 12 nodes half as expensive, > for instance, losing one would be 1/12 of your capacity instead of > 1/6. > > On Mon, Oct 3, 2011 at 9:47 PM, Ramesh Natarajan > wrote: > > I was reading an article @ > http://www.acunu.com/pro

Re: nodetool cfstats on 1.0.0-rc1 throws an exception

2011-10-03 Thread Ramesh Natarajan
wrote: > Looks like you have unexpectedly large rows in your 1.0 cluster but > not 0.8. I guess you could use sstable2json to manually check your > row sizes. > > On Mon, Oct 3, 2011 at 5:20 PM, Ramesh Natarajan > wrote: > > It happens all the time on 1.0. It doesn

Re: nodetool cfstats on 1.0.0-rc1 throws an exception

2011-10-03 Thread Ramesh Natarajan
.0 regression." > > On Mon, Oct 3, 2011 at 5:00 PM, Ramesh Natarajan > wrote: > > We have about 5000 column family and when we run the nodetool cfstats it > > throws out this exception... this is running 1.0.0-rc1 > > This seems to work on 0.8.6. Is this a bu

nodetool cfstats on 1.0.0-rc1 throws an exception

2011-10-03 Thread Ramesh Natarajan
We have about 5000 column family and when we run the nodetool cfstats it throws out this exception... this is running 1.0.0-rc1 This seems to work on 0.8.6. Is this a bug in 1.0.0? thanks Ramesh Keyspace: system Read Count: 28 Read Latency: 5.8675 ms. Write Count: 3

node selection for replication factor 3

2011-10-03 Thread Ramesh Natarajan
I have 6 nodes in a cluster running RandonPartitioner with SimpleStrategy and replication factor 3. Lets say we insert a column with a QUORUM consistency. Based on the md5 hash it decides to go to node 10.19.104.11. How does cassandra pick the other 2 nodes? Is it sequential ( .12 and .13 ) or any

Re: help needed interpreting Read/Write latency in cfstats and cfhistograms output

2011-10-03 Thread Ramesh Natarajan
completed in 1 *microsecond* and 9 > write requests completed n 1 microsecond. > > Cheers > > > - > Aaron Morton > Freelance Cassandra Developer > @aaronmorton > http://www.thelastpickle.com > > On 4/10/2011, at 4:58 AM, Ramesh Natarajan wrote: >

Re: cassandra performance degrades after 12 hours

2011-10-03 Thread Ramesh Natarajan
which I don't really understand why it's that high when swap is >> disabled. Look at sar -r output too to make sure there are no swaps >> occurring. Also, verify jna.jar is installed. >> >> On Mon, Oct 3, 2011 at 11:52 AM, Ramesh Natarajan >> wrote: &g

Re: cassandra performance degrades after 12 hours

2011-10-03 Thread Ramesh Natarajan
successful > message in the logs. > > On Mon, Oct 3, 2011 at 10:36 AM, Ramesh Natarajan > wrote: > > We have 5 CF. Attached is the output from the describe command. We > don't > > have row cache enabled. > > Thanks > > Ramesh > > Keyspace: MSA:

Re: cassandra performance degrades after 12 hours

2011-10-03 Thread Ramesh Natarajan
10:12 AM, Ramesh Natarajan > wrote: > > I am running a cassandra cluster of 6 nodes running RHEL6 virtualized by > > ESXi 5.0. Each VM is configured with 20GB of ram and 12 cores. Our test > > setup performs about 3000 inserts per second. The cassandra data > partition > &g

cassandra performance degrades after 12 hours

2011-10-03 Thread Ramesh Natarajan
I am running a cassandra cluster of 6 nodes running RHEL6 virtualized by ESXi 5.0. Each VM is configured with 20GB of ram and 12 cores. Our test setup performs about 3000 inserts per second. The cassandra data partition is on a XFS filesystem mounted with options (noatime,nodiratime,nobarrier,l

help needed interpreting Read/Write latency in cfstats and cfhistograms output

2011-10-03 Thread Ramesh Natarajan
I am running a cassandra 0.8.6 cluster. I started a clean test setup and run my tests for a while. Later when I run cfstats and cfhistograms ( both ran at the same time ) the values for Read/Write latency doesn't match. As per cfstats the latency for read and write are 5.086 and 0.018 ms respec

reverse range query performance

2011-09-26 Thread Ramesh Natarajan
Hi, I am trying to use the range query to retrieve a bunch of columns in reverse order. The API documentation has a parameter bool reversed which should return the results when queried using keys in a reverse order. Lets say my row has about 1500 columns with column names 1 to 1500, and I query