Hi,
I am trying to parse below shown XML file using xom parser in java and put each
key,value pairs into Map. Later I am trying to insert this Map into Cassandra
using Mutator object. My XML file looks like as below:
sample
Max0.25000/Max
test
Not really a cassandra question, but it would seem your xml file isn't
particularly well designed. It would seem you need to qualify your
test entries with indices when put in the map, such as
put(test.1.C, 0);
put(test.2.C, 50);
before figuring out the cassandra angle, i'd rethink
InvalidRequestException(why:consistency level LOCAL_ONE not compatible with
replication strategy (org.apache.cassandra.locator.SimpleStrategy)) at
The LOCAL_ONE consistency level can only be used with the
NetworkTopologyStrategy.
I had a quick look and the code does not use LOCAL_ONE,
Do you have the logs from after the restart ?
Did it include a Drop Keyspace…” INFO level message ?
Cheers
-
Aaron Morton
New Zealand
@aaronmorton
Co-Founder Principal Consultant
Apache Cassandra Consulting
http://www.thelastpickle.com
On 4/12/2013, at 2:44 am, Desimpel,
I just tested this with 1.2.9 and DROP TABLE took a snapshot and moved the
existing files out of the dir.
Do you have some more steps to reproduce ?
Cheers
A
-
Aaron Morton
New Zealand
@aaronmorton
Co-Founder Principal Consultant
Apache Cassandra Consulting
I had the same requirement and modified iptraf to log traffic every second.
https://github.com/hobinyoon/iptraf-3.0.0.git
Hobin
On Thu, Dec 5, 2013 at 2:17 AM, Jason Wee peich...@gmail.com wrote:
Hi,
Will it be simpler to just measure the network interface of the node
instead?
/Jason
Hi Aaron,
Thanks for your response. I didn't make any change to the code when I got
that exception. I just ran the example as is after I cloned the repo from
github.
I did a git pull today on cassandra-2.0 branch, built via ant and re-ran
the example and now I am not getting the error from before
Fixed the bug. One of the clients was trying to drop a context to which
another client was writing and this was causing the exception.
Thanks.
On Dec 8, 2013 11:31 PM, Aaron Morton aa...@thelastpickle.com wrote:
IllegalRequestException does not existing in the server code in version
2.0. Is
Hi Dave,
Thanks for your reply. I don't have any control over the XML file. I would try
to put in HashMap as you suggested.
Regards,
Santosh
From: Dave Brosius [mailto:dbros...@mebigfatguy.com]
Sent: Sunday, December 08, 2013 9:39 PM
To: user@cassandra.apache.org
Subject: Re: Parse xml and