unsubscribe

2013-02-19 Thread Anurag Gujral
Unsubscribe me please. Thanks A

Re: Out of memory error in cassandra

2011-07-12 Thread Anurag Gujral
/index#nodes-are-dying-with-oom-errors ? On Mon, Jul 11, 2011 at 1:55 PM, Anurag Gujral anurag.guj...@gmail.com wrote: Hi All, I am getting following error from cassandra: ERROR [ReadStage:23] 2011-07-10 17:19:18,300 DebuggableThreadPoolExecutor.java (line 103) Error

Out of memory error in cassandra

2011-07-11 Thread Anurag Gujral
Hi All, I am getting following error from cassandra: ERROR [ReadStage:23] 2011-07-10 17:19:18,300 DebuggableThreadPoolExecutor.java (line 103) Error in ThreadPoolExecutor java.lang.OutOfMemoryError: Java heap space at

urgent how to specify multiple hosts in cassandra

2011-06-17 Thread Anurag Gujral
Hi All I specified multiple hosts in seeds field when using cassandra-0.8 like this seeds: 192.168.1.115,192.168.1.110,192.168.1.113 But I am getting error that hile parsing a block mapping in reader, line 106, column 13: - seeds: 192.168.1.115,192.168. ...

upgrading from cassandra 0.7.3 to 0.8.0

2011-06-15 Thread Anurag Gujral
Hi All, I had a cassandra node which was running on cassandra 0.7.3. Without changing the data directories I installed cassandra 0.8.0 but when I query data I get timeouts. Can somehow please guide me how to go about upgrade from cassandra 0.7.3 to cassandra 0.8.0. Thanks Anurag

downgrading from cassandra 0.8 to 0.7.3

2011-06-15 Thread Anurag Gujral
Hi All, I moved to cassandra 0.8.0 from cassandra-0.7.3 when I try to move back I get the following error: java.lang.RuntimeException: Can't open sstables from the future! Current version f, found file: /data/cassandra/data/system/Schema-g-9. Please suggest. Thanks Anurag

Re: problems using property snitch file

2011-05-16 Thread Anurag Gujral
are moving? Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 16 May 2011, at 12:28, Anurag Gujral wrote: IPAddress1=DC1:RAC1 IPAddress1=DC2:RAC1 IPAddress1=DC2:RAC1 IPAddress1=DC2:RAC1 Thanks Anurag On Sun, May 15, 2011

Re: assertion error in cassandra when doing nodetool move

2011-05-15 Thread Anurag Gujral
I am using version 0.7.3 Thanks Anurag On Fri, May 13, 2011 at 11:15 AM, Anurag Gujral anurag.guj...@gmail.comwrote: I am using network Topology strategy for one of my keyspaces. Thanks Anurag On Thu, May 12, 2011 at 6:45 PM, Anurag Gujral anurag.guj...@gmail.comwrote: Hi All

Re: problems using property snitch file

2011-05-15 Thread Anurag Gujral
Cassandra Developer @aaronmorton http://www.thelastpickle.com On 14 May 2011, at 11:48, Anurag Gujral wrote: Hi All, I have built a cassandra cluster which is using property snitch file to specify my network topology to cassandra.The keyspace I have use network topology strategy

Re: Converting separate clusters in mutliple dc to one cluster across multiple dcs

2011-05-15 Thread Anurag Gujral
://www.thelastpickle.com On 14 May 2011, at 04:55, Anurag Gujral wrote: Hi All, I have 3 separate cassandra clusters running in multiple data centers which I want to convert to one cassandra cluster across multiple data centers Does anyone tried this? If so what are the steps: I

Re: assertion error in cassandra when doing nodetool move

2011-05-13 Thread Anurag Gujral
Cassandra Developer @aaronmorton http://www.thelastpickle.com On 13 May 2011, at 13:45, Anurag Gujral wrote: Hi All, I run following command on one of my nodes to move the token from 0 to 2. /usr/cassandra/cassandra/bin/nodetool -h 10.170.195.204 -p 8080 move 2. I dont

Converting separate clusters in mutliple dc to one cluster across multiple dcs

2011-05-13 Thread Anurag Gujral
Hi All, I have 3 separate cassandra clusters running in multiple data centers which I want to convert to one cassandra cluster across multiple data centers Does anyone tried this? If so what are the steps: I think I need to do the following: a)Change cluster name: What is the

Re: assertion error in cassandra when doing nodetool move

2011-05-13 Thread Anurag Gujral
I am using network Topology strategy for one of my keyspaces. Thanks Anurag On Thu, May 12, 2011 at 6:45 PM, Anurag Gujral anurag.guj...@gmail.comwrote: Hi All, I run following command on one of my nodes to move the token from 0 to 2. /usr/cassandra/cassandra/bin/nodetool -h

problems using property snitch file

2011-05-13 Thread Anurag Gujral
Hi All, I have built a cassandra cluster which is using property snitch file to specify my network topology to cassandra.The keyspace I have use network topology strategy. When I tried to add new node to this cluster,I get the following error: RROR [main] 2011-05-13 23:45:44,152

Re: network topology issue

2011-05-12 Thread Anurag Gujral
Thanks everyone for your responses. On Thu, May 12, 2011 at 1:18 AM, Sylvain Lebresne sylv...@datastax.comwrote: On Thu, May 12, 2011 at 1:58 AM, Anurag Gujral anurag.guj...@gmail.com wrote: Hi All, I am testing network topology strategy in cassandra I am using two nodes

Hinted Handoff

2011-05-12 Thread Anurag Gujral
Hi All, I have two questions: a) Is there a way to turn on and off hinted handoff per keyspace rather than for multiple keyspaces. b)It looks like cassandra stores hinted handoff data in one row.Is it true? .Does having one row for hinted handoff implies if nodes are down for longer

assertion error in cassandra when doing nodetool move

2011-05-12 Thread Anurag Gujral
Hi All, I run following command on one of my nodes to move the token from 0 to 2. /usr/cassandra/cassandra/bin/nodetool -h 10.170.195.204 -p 8080 move 2. I dont understand why is this happening? I am getting the following assertion error: Exception in thread main

network topology issue

2011-05-11 Thread Anurag Gujral
Hi All, I am testing network topology strategy in cassandra I am using two nodes , one node each in different data center. Since the nodes are in different dc I assigned token 0 to both the nodes. I added both the nodes as seeds in the cassandra.yaml and I am using properyfilesnitch

installing cassandra on ec2 boxes

2011-05-10 Thread Anurag Gujral
Hi All, I am trying to install cassandra on ec2 boxes . I am using domain names to specify the listen_address and seeds. I am getting following error from cassandra when I try to create keyspace. Warning: unreachable nodes IP(address of the cassandra instance).. schemas agree across the

Re: installing cassandra on ec2 boxes

2011-05-10 Thread Anurag Gujral
. As you're getting started, you may also find this blog that my team put together helpful: https://sites.google.com/a/techlabs.accenture.com/cassandra/ - Sameer On Tue, May 10, 2011 at 9:39 AM, Anurag Gujral anurag.guj...@gmail.comwrote: Hi All, I am trying to install cassandra

Re: How to load schema non-programmatically? loadSchemaFromYAML doesn't work

2011-05-10 Thread Anurag Gujral
Use jconsole give your hostname:port (hostname,port on which cassandra is running) then from the MBean select storage service . On the storage service MBean execute operation loadSchemaFromXML(); You may have to change the hostname in the your cassandra jmx settings thanks A On Tue, May 10,

Re: datacenter ShardStrategy

2011-05-09 Thread Anurag Gujral
NetworkTopologyStrategy instead. Intro: http://www.datastax.com/dev/blog/deploying-cassandra-across-multiple-data-centers On Sun, May 8, 2011 at 8:09 PM, Anurag Gujral anurag.guj...@gmail.com wrote: Hi All, I want to use datacenter ShardStrategy in my cassandra setup .Can

cassandra not reading keyspaces defined in cassandra.yaml

2011-05-09 Thread Anurag Gujral
Hi All, I have following in my cassandra.yaml keyspaces: - column_families: - column_metadata: [] column_type: Standard compare_with: BytesType gc_grace_seconds: 86400 key_cache_save_period_in_seconds: 14400 keys_cached: 0.0 max_compaction_threshold: 32

strange behaviour in cassandra

2011-05-08 Thread Anurag Gujral
Hi All, I stop my cassandra node and restarted it,this start and stop resulted in decrease in the space used by cassandra by 20%. I am not sure what is happening?Can Anyone please shower some light on this behaviour. Thanks Anurag

Re: strange behaviour in cassandra

2011-05-08 Thread Anurag Gujral
Thanks for your response I think the reference you are talking about is http://wiki.apache.org/cassandra/MemtableSSTable Regards, Anurag On Sun, May 8, 2011 at 11:01 AM, Peter Schuller peter.schul...@infidyne.com wrote: I stop my cassandra node and restarted it,this start and stop

datacenter ShardStrategy

2011-05-08 Thread Anurag Gujral
Hi All, I want to use datacenter ShardStrategy in my cassandra setup .Can someone please let me know what steps / configuration changes I need to make. Thanks Anurag

code for read operations cassandra

2011-04-18 Thread Anurag Gujral
Hi All, Can you please point me to the code where cassandra is iterating over all the sstables for a key when doing read operation on a key. Thanks a ton, Regards, Anurag

raid 0 and ssd

2011-04-13 Thread Anurag Gujral
Hi All, We are using three ssd disks with cassandra 0.7.3 , should we set them as raid0 .What are the advantages and disadvantages of doing this. Please advise. Thanks Anurag

erros which starting cassandra

2011-04-12 Thread Anurag Gujral
Hi All, I am getting the following errors when I am trying to start cassandra . Error occurred during initialization of VM Could not reserve enough space for object heap I am using cassandra 0.7.3 uname -a Linux hostname 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 x86_64

Re: erros which starting cassandra

2011-04-12 Thread Anurag Gujral
I was able to resolve this by changing the heap size Thanks Anurag On Tue, Apr 12, 2011 at 1:38 PM, Anurag Gujral anurag.guj...@gmail.comwrote: Hi All, I am getting the following errors when I am trying to start cassandra . Error occurred during initialization of VM Could

weird error when connecting to cassandra mbean proxy

2011-04-07 Thread Anurag Gujral
Hi All, I have written a code for connecting to mbean server runnning on cassandra node. I get the following error: Exception in thread main java.lang.reflect.UndeclaredThrowableException at $Proxy1.getReadOperations(Unknown Source) at

running compaction from a machine outside the cluster

2011-04-05 Thread Anurag Gujral
Hi All, Is there a way I can run compaction on the cassandra cluster from a machine where cassandra is not installed.I have a cluster of 6 machines but I want to run compaction on them from a different machine which does not have cassandra installed. Thanks Anurag

old JMX code is not working with new cassandra version

2011-04-05 Thread Anurag Gujral
Hi All, I had written code for cassandra 0.6.3 using JMX to call compaction,when I try to use that code to connect to 0.7.3 I get the following error Exception in thread main java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:

Re: urgent

2011-04-03 Thread Anurag Gujral
Apr 2011, at 01:56, Anurag Gujral wrote: Hi All, I have setup a cassandra cluster with three data directories but cassandra is using only one of them and that disk is out of space and .Why is cassandra not using all the three data directories. Plz Suggest. Thanks Anurag

change row cache size in cassandra

2011-04-03 Thread Anurag Gujral
Hi All, How can I change the row cache size in cassandra. I could not find any documentation on this. Thanks Anurag

Re: compaction behaviour

2011-04-03 Thread Anurag Gujral
regards, Zhu Han On Sun, Apr 3, 2011 at 9:21 AM, Anurag Gujral anurag.guj...@gmail.comwrote: Hi All, I have loaded data into cassandra using batch processing the response times for reads are in the range of 0.8 ms but I am using SSDs. so I expect the read times to be even faster

Re: change row cache size in cassandra

2011-04-03 Thread Anurag Gujral
Hi All, I looked at the nodetool there is an option to change cache sizes . Thanks Anurag On Sun, Apr 3, 2011 at 12:25 PM, Anurag Gujral anurag.guj...@gmail.comwrote: Hi All, How can I change the row cache size in cassandra. I could not find any documentation

compaction behaviour

2011-04-02 Thread Anurag Gujral
Hi All, I have loaded data into cassandra using batch processing the response times for reads are in the range of 0.8 ms but I am using SSDs. so I expect the read times to be even faster. Every time I run compaction the latency numbers reduce to 0.3 to 0.4ms , is there a way I can

urgent

2011-04-01 Thread Anurag Gujral
Hi All, I have setup a cassandra cluster with three data directories but cassandra is using only one of them and that disk is out of space and .Why is cassandra not using all the three data directories. Plz Suggest. Thanks Anurag

Understanding cfhistogram output

2011-04-01 Thread Anurag Gujral
Hi All, I ran nodetool with cfhistogram I dont fully understand the output.Can someone please shower some light on it. Thanks Anurag

Fatal error from a cassandra node

2011-03-30 Thread Anurag Gujral
Hi All, I have 6 node cassandra cluster all are setup with same configurationI am getting fatal exceptions in one of the nodes ERROR [Thread-604] 2011-03-29 20:19:13,218 AbstractCassandraDaemon.java (line 114) Fatal exception in thread Thread[Thread-604,5,main]

Re: Fatal error from a cassandra node

2011-03-30 Thread Anurag Gujral
I am using 16G of heap space how much more should i increase. Please suggest Thanks Anurag On Wed, Mar 30, 2011 at 11:43 AM, Narendra Sharma narendra.sha...@gmail.com wrote: http://wiki.apache.org/cassandra/MemtableThresholds#JVM_Heap_Size On Wed, Mar 30, 2011 at 11:41 AM, Peter Schuller

Cassandra error Insufficient space to compact

2011-03-30 Thread Anurag Gujral
Hi All, I am getting following message from cassandra WARN [CompactionExecutor:1] 2011-03-30 18:46:33,272 CompactionManager.java (line 406) insufficient space to compact all requested files SSTableReader( I am using 16G of java heap space ,please let me know should I consider this as

Re: Cassandra error Insufficient space to compact

2011-03-30 Thread Anurag Gujral
Sharma narendra.sha...@gmail.comwrote : The space referred in the log message is disk space and not heap. So check if you are running low on disk space. Thanks, Naren On Wed, Mar 30, 2011 at 4:55 PM, Anurag Gujral anurag.guj...@gmail.comwrote: Hi All, I am getting following

Re: Fatal error from a cassandra node

2011-03-30 Thread Anurag Gujral
, Mar 30, 2011 at 4:45 PM, Anurag Gujral anurag.guj...@gmail.comwrote: I am using 16G of heap space how much more should i increase. Please suggest Thanks Anurag On Wed, Mar 30, 2011 at 11:43 AM, Narendra Sharma narendra.sha...@gmail.com wrote: http://wiki.apache.org/cassandra

add new data directory to cassandra

2011-03-30 Thread Anurag Gujral
Hi All, I had a single directory designated as data file directory in cassandra ,but it ran out of space .I am adding a new data directory in addition to the one I have .What should I do so that cassandra balance the space on both of them. Thanks Anurag

question on saved_cache_directory

2011-03-26 Thread Anurag Gujral
Hi All, I have sdd and normal disk .I am using sdd for data directory should i also use sdd for saved_cache directory. Thanks Anurag

Re: cassandra client sample code for 0.7.3

2011-03-25 Thread Anurag Gujral
at 10:01 PM, Anurag Gujral anurag.guj...@gmail.comwrote: I am in need of sample code(basically cassandra client) in java using batch_mutate If someone has please reply back Thanks Anurag

weird cassandra issue

2011-03-25 Thread Anurag Gujral
Hi All, I am using cassandra 0.7.3 and thrift 0.0.5 when I am trying to write to cassandra using batch_mutate I get the following error: InvalidRequestException(why:Key may not be empty) at org.apache.cassandra.thrift.Cassandra$batch_mutate_result.read(Cassandra.java:16007)

error connecting to cassandra 0.7.3

2011-03-24 Thread Anurag Gujral
I am using cassandra-0.7.3 and thrift-0.0.5,I wrote a java client using thrift 0.0.5 when I try to connect to local cassandra server I get the following error ERROR com.bluekai.cassandra.validation.ValidationThread - Failed to connect to 127.0.0.1. org.apache.thrift.transport.TTransportException:

error connecting to cassandra 0.7.3

2011-03-24 Thread Anurag Gujral
-- From: Anurag Gujral anurag.guj...@gmail.com Date: Thu, Mar 24, 2011 at 1:26 AM Subject: error connecting to cassandra 0.7.3 To: user@cassandra.apache.org I am using cassandra-0.7.3 and thrift-0.0.5,I wrote a java client using thrift 0.0.5 when I try to connect to local cassandra server I get

Re: error connecting to cassandra 0.7.3

2011-03-24 Thread Anurag Gujral
is transport creation for your thrift interface? Cassandra 0.7 uses Framed transport as default 2011/3/24 Anurag Gujral anurag.guj...@gmail.com I am using the following code to create my client. tr = new TSocket(url, port); TProtocol proto = new TBinaryProtocol(tr); client = new

Re: error connecting to cassandra 0.7.3

2011-03-24 Thread Anurag Gujral
$Client.send_set_keyspace(Cassandra.java:414) at org.apache.cassandra.thrift.Cassandra$Client.set_keyspace(Cassandra.java:403) Please suggest why is this an error Thanks Anurag On Thu, Mar 24, 2011 at 7:15 AM, Anurag Gujral anurag.guj...@gmail.comwrote: Hi Ruslan where is this framed transport defined. I

Re: error connecting to cassandra 0.7.3

2011-03-24 Thread Anurag Gujral
Hi All, I was able to resolve by making socket open. Thanks Anurag On Thu, Mar 24, 2011 at 7:48 AM, Anurag Gujral anurag.guj...@gmail.comwrote: Hi All, I am using the following code as per suggestion by Ruslan tr = new TSocket(url, port,timeout

cassandra client sample code for 0.7.3

2011-03-24 Thread Anurag Gujral
I am in need of sample code(basically cassandra client) in java using batch_mutate If someone has please reply back Thanks Anurag

script to modify cassandra.yaml file

2011-03-20 Thread Anurag Gujral
Hi All, I want to modify the values in the cassandra.yaml which comes with the cassandra-0.7 package based on values of hostnames, colo etc. Does someone knows of some script which I can use which reads in default cassandra.yaml and write outs new cassandra.yaml with values based on

getting exception when cassandra 0.7.3 is starting

2011-03-17 Thread Anurag Gujral
I am getting exception when starting cassandra 0.7.3 ERROR 01:10:48,321 Exception encountered during startup. java.lang.NegativeArraySizeException at org.apache.cassandra.db.ColumnFamilyStore.readSavedCache(ColumnFamilyStore.java:274) at

Re: getting exception when cassandra 0.7.3 is starting

2011-03-17 Thread Anurag Gujral
, Naren On Wed, Mar 16, 2011 at 11:15 PM, Anurag Gujral anurag.guj...@gmail.comwrote: I am getting exception when starting cassandra 0.7.3 ERROR 01:10:48,321 Exception encountered during startup. java.lang.NegativeArraySizeException

InvalidRequestException: Mutation must have one ColumnOrSuperColumn or one Deletion

2011-03-17 Thread Anurag Gujral
Hi All, I am using function batch_mutate of cassandra 0.7 and I am getting the error InvalidRequestException: Mutation must have one ColumnOrSuperColumn or one Deletion. I have my own C++ cassandra client using thrift 0.0.5 api. Any Suggestions. Sample Code mapstring,

Re: InvalidRequestException: Mutation must have one ColumnOrSuperColumn or one Deletion

2011-03-17 Thread Anurag Gujral
Thanks for the reply. I added mutation.__isset.column_or_supercolumn=true; Now I am getting TApplicationException: Internal error processing batch_mutate Any suggestions? Thanks Anurag On Thu, Mar 17, 2011 at 8:13 AM, Anurag Gujral anurag.guj...@gmail.comwrote: Hi All, I am using

Re: InvalidRequestException: Mutation must have one ColumnOrSuperColumn or one Deletion

2011-03-17 Thread Anurag Gujral
jbel...@gmail.com wrote: Internal error means there is a stacktrace in the server system.log and in this case probably also means you sent some kind of invalid request that our validation didn't catch. On Thu, Mar 17, 2011 at 11:29 AM, Anurag Gujral anurag.guj...@gmail.com wrote: Thanks

Cassandra c++ client

2011-03-16 Thread Anurag Gujral
Hi All, Anyone knows about stable C++ client for cassandra? Thanks Anurag

Using cassandra as key /value store

2010-03-25 Thread Anurag Gujral
Hi All, I am designing an application where I need to store data as key-value pair without the present need to use column/super-column family stuff. Does my use case fits Cassandra. My traffic will be 70-80% read traffic.The latency requirements are 100ms. Thanks Anurag