Unsubscribe me please.
Thanks
A
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
out 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
> wrote:
> > Hi All,
> >I want to use datacenter ShardStrategy in my cassandra setup
> &g
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
memt
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
> 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 wrote:
>
>> Hi All,
>
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, 2011
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
show you
> the correct syntax.
>
>
> More info on tokens:
>
> http://journal.paul.querna.org/articles/2010/09/24/cassandra-token-selection/
> <http://journal.paul.querna.org/articles/2010/09/24/cassandra-token-selection/>
> http://wiki.apache.org/cassandra/O
Thanks everyone for your responses.
On Thu, May 12, 2011 at 1:18 AM, Sylvain Lebresne wrote:
> On Thu, May 12, 2011 at 1:58 AM, Anurag Gujral
> wrote:
> > Hi All,
> > I am testing network topology strategy in cassandra I am
> using
> > two nodes , one
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 per
Hi All,
I want to change the token for my cassandra node from T to T+1.
It appears that cassandra in this case brings all the data from the other
nodes(which basically mean i can only do move token if RF is > 1 for my
cluster) . Does cassandra node whose token I am changing looks at the
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" java.lang.Assertion
Aaron Morton
> Freelance 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/c
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 procedu
I am using network Topology strategy for one of my keyspaces.
Thanks
Anurag
On Thu, May 12, 2011 at 6:45 PM, 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
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 Abstract
I am using version 0.7.3
Thanks
Anurag
On Fri, May 13, 2011 at 11:15 AM, Anurag Gujral wrote:
> I am using network Topology strategy for one of my keyspaces.
> Thanks
> Anurag
>
>
> On Thu, May 12, 2011 at 6:45 PM, Anurag Gujral wrote:
>
>> Hi All,
>>
e 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.
r if you need.
>
> Hope that helps.
>
> -
> Aaron Morton
> Freelance Cassandra Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 14 May 2011, at 04:55, Anurag Gujral wrote:
>
> Hi All,
> I have 3 separate cassandra clusters r
?
>
> 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
> I
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
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
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 "", line 106, column 13:
- seeds: "192.168.1.115","192.168. ...
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
org.apache.cassandra.utils.BloomFilterSerializer.deserialize(B
es-are-dying-with-oom-errors
> ?
>
> On Mon, Jul 11, 2011 at 1:55 PM, Anurag Gujral
> wrote:
> > Hi All,
> >I am getting following error from cassandra:
> > ERROR [ReadStage:23] 2011-07-10 17:19:18,300
> > DebuggableThreadPoolExecutor.j
Hi All,
Anyone knows about stable C++ client for cassandra?
Thanks
Anurag
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
org.apache.cassandra.db.ColumnFamilyStore.(ColumnFam
d, Mar 16, 2011 at 11:15 PM, Anurag Gujral
> wrote:
>
>> 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.ColumnF
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
map > cfmap;
vector
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 wrote:
> Hi All,
> I am using function batch_
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
&g
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 numbe
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:
--
From: Anurag Gujral
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 the following error
ERROR
ion for your thrift interface? Cassandra 0.7
> uses Framed transport as default
>
>
> 2011/3/24 Anurag Gujral
>
>>
>> I am using the following code to create my client.
>>
>> tr = new TSocket(url, port);
>> TProtocol proto = new TBinaryProto
$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 wrote:
> Hi Ruslan
> where is this framed transport defined.
> I did TProto
Hi All,
I was able to resolve by making socket open.
Thanks
Anurag
On Thu, Mar 24, 2011 at 7:48 AM, Anurag Gujral wrote:
> Hi All,
> I am using the following code as per suggestion by Ruslan
>tr = new TSocket(url, port,timeout);
>TTransport tr
I am in need of sample code(basically cassandra client) in java using
batch_mutate
If someone has please reply back
Thanks
Anurag
ateColumn("name2", "val2", timeStamp));
> info.setColumns(cols);
>
>
> Map> mutations = new HashMap List>();
> List mutation = new ArrayList();
> mutation.add(getMutation(info));
>
> mutations.put("SuperCF", mutation);
> Map>> mutationMap = new
> HashMap>>();
> mutationMap.put(ByteBuffer.wrap(getBytes("row-key")), mutations);
> client.batch_mutate(mutationMap, CL);
>
> Thanks,
> Naren
>
>
> On Thu, Mar 24, 2011 at 10:01 PM, Anurag Gujral
> wrote:
>
>> I am in need of sample code(basically cassandra client) in java using
>> batch_mutate
>> If someone has please reply back
>> Thanks
>> Anurag
>>
>
>
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)
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
Hi All,
Does anyone knows where to get /have a fabric script for deploying
cassandra on multiple machines.
Thanks
Anurag
Hi All,
I am currently porting a cassandra c++ client from 0.6.* to 0.7.3.
The c++ client I had in 0.6.* used to function
conn->client->send_multiget_slice which used to take as parameter cseqid.
The sign of the function in 0.6.* was
void CassandraClient::send_multiget_slice(const std::st
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]
java.lang.OutOfMemoryE
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 wrote:
> http://wiki.apache.org/cassandra/MemtableThresholds#JVM_Heap_Size
>
>
>
> On Wed, Mar 30, 2011 at 11:41 AM, Peter Schuller <
> peter.schul...@infi
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 a
Sharma
wrote
:
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 wrote:
>
>> Hi All,
>> I am getting followin
aren
>
>
> On Wed, Mar 30, 2011 at 4:45 PM, Anurag Gujral wrote:
>
>>
>> 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 <
&
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
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
Hi All,
I ran nodetool with cfhistogram I dont fully understand the
output.Can someone please shower some light on it.
Thanks
Anurag
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 run
on
>
> On 2 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
Hi All,
How can I change the row cache size in cassandra. I could not find
any documentation on this.
Thanks
Anurag
; Zhu Han
>
>
>
> On Sun, Apr 3, 2011 at 9:21 AM, Anurag Gujral wrote:
>
>> 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
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 wrote:
> Hi All,
> How can I change the row cache size in cassandra. I could not find
> any documentation on this.
> Thanks
> Anurag
>
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
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:
java.net.ConnectExcep
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
com.smeet.cassandra.CassandraJmxHttpServerMy.(Cassan
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 x
I was able to resolve this by changing the heap size
Thanks
Anurag
On Tue, Apr 12, 2011 at 1:38 PM, Anurag Gujral wrote:
> Hi All,
> I am getting the following errors when I am trying to start
> cassandra .
>
> Error occurred during initialization of VM
> Could not re
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
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
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
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 wrote:
> > I stop my cassandra node and restarted it,this start and stop
> > resulted in decrease in
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
67 matches
Mail list logo