Re: JMX(RMI) dynamic port allocation problem still exists?

2012-08-29 Thread Jim Cistaro
You may already be aware, but another possible solution is to use MX4J to do your JMX over REST (I have not tried this myself yet). http://wiki.apache.org/cassandra/Operations#Monitoring_with_MX4J From: Yang tedd...@gmail.commailto:tedd...@gmail.com Reply-To:

Re: JMX(RMI) dynamic port allocation problem still exists?

2012-08-29 Thread Peter Schuller
I can recommend Jolokia highly for providing an HTTP/JSON interface to JMX (it can be trivially run in agent mode by just altering JVM args): http://www.jolokia.org/ -- / Peter Schuller (@scode, http://worldmodscode.wordpress.com)

Re: Why Cassandra secondary indexes are so slow on just 350k rows?

2012-08-29 Thread Robin Verlangen
What this means is that eventually you will have 1 row in the secondary index table with 350K columns Is this really true? I would have expected that Cassandra used internal index sharding/bucketing? With kind regards, Robin Verlangen *Software engineer* * * W http://www.robinverlangen.nl E

Re: Why Cassandra secondary indexes are so slow on just 350k rows?

2012-08-29 Thread Robin Verlangen
@Edward: I think you should consider a queue for exporting the new rows. Just store the rowkey in a queue (you might want to consider looking at http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Distributed-work-queues-td5226248.html ) and process that row every couple of minutes.

Re: JMX(RMI) dynamic port allocation problem still exists?

2012-08-29 Thread Senthilvel Rangaswamy
We use Jolokia. Its pretty awesome. On Tue, Aug 28, 2012 at 11:44 PM, Peter Schuller peter.schul...@infidyne.com wrote: I can recommend Jolokia highly for providing an HTTP/JSON interface to JMX (it can be trivially run in agent mode by just altering JVM args): http://www.jolokia.org/ --

Re: Commit log periodic sync?

2012-08-29 Thread aaron morton
- if during the streaming session, the sstable that was about to stream out but was being compacted, would we see error in the log? No. Remember we never modify files on disk. And the truth contained in one file generated by compaction is the same as thetruth contained in the files before

Re: Expanding cluster to include a new DR datacenter

2012-08-29 Thread aaron morton
It would be handy to work out what the corruption is. Could you snapshot the system keyspace and store it somewhere, just incase we can look at it later ? Is there a way I can confirm this Errors in the client and/or the server log is the the traditional way. go about cleaning up/restoring

Re: Automating nodetool repair

2012-08-29 Thread aaron morton
Staggering the repairs also gives the DynamicSnitch a chance to route around nodes which maybe running slow. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 29/08/2012, at 11:19 AM, Omid Aladini omidalad...@gmail.com wrote: Secondly,

Re: Row level statistics

2012-08-29 Thread aaron morton
But does cassandra provide statistics at the granularity of rows. No. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 29/08/2012, at 12:05 PM, Shankaranarayanan P N shankarp...@gmail.com wrote: Hello, I have seen that cassandra gives

Re: Node forgets about most of its column families

2012-08-29 Thread aaron morton
But the following nodetool repair crashes. It has to be stopped and then re-started. How did it crash ? Are there any suggestions for logging or similar so that we can get a clue next time this happens. Can you make the logs from #5 available? If you feel you can describe the situation

Re: Node forgets about most of its column families

2012-08-29 Thread aaron morton
Thanks Peter. This is 1.1.X ? Any thoughts on how recent the last schema change was ? Had the schema started in a pre 1.1X cluster? If so had their been a migration change after 1.1 upgrade? Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com

unsubscribe

2012-08-29 Thread Tiwari, Dushyant
-- NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall

unsubscribe

2012-08-29 Thread Phil
Sent from my iPhone

UNSUBSCRIBE

2012-08-29 Thread Baskar Sikkayan

keyspace and column family creationŠhow to use ConsistencyLevel.ALL with creation?

2012-08-29 Thread Hiller, Dean
The playOrm test suite drops the keyspace and recreates it for tests to wipe out the in-memory or cassandra db. Today, we successfully ran our test suite on a 6 node cluster. The one issue I had though was I needed to sleep after keyspace creation and column family creation. BEFORE that I

Re: unsubscribe

2012-08-29 Thread Eric Evans
On Wed, Aug 29, 2012 at 7:33 AM, Tiwari, Dushyant dushyant.tiw...@morganstanley.com wrote: NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within

Re: Node forgets about most of its column families

2012-08-29 Thread Edward Sargisson
Hi Aaron, Thanks for the reply. I've recorded what we know at https://issues.apache.org/jira/browse/CASSANDRA-4583. This includes log snippets from two of the nodes from around the time. I don't know what is relevant so they've got everything that was in the system log at the time of the

performance is drastically degraded after 0.7.8 -- 1.0.11 upgrade

2012-08-29 Thread Илья Шипицин
in terms of our high-rate write load cassandra1.0.11 is about 3 (three!!) times slower than cassandra-0.7.8 after some investigation carried out I noticed files with sha1 extension (which are missing for Cassandra-0.7.8) in maybeWriteDigest() function I see no option fot switching sha1 digests

Re: how is this possible ---- token range sum 100% ?

2012-08-29 Thread Omid Aladini
The change is introduced in 1.1.1 [1] which takes replication factor into account [2]. That's why 18.75% * 16 = 300% (which you have replication factor of 3). [1] https://issues.apache.org/jira/browse/CASSANDRA-3412 [2]

Re: how is this possible ---- token range sum 100% ?

2012-08-29 Thread Yang
thanks! On Wed, Aug 29, 2012 at 10:19 AM, Omid Aladini omidalad...@gmail.comwrote: The change is introduced in 1.1.1 [1] which takes replication factor into account [2]. That's why 18.75% * 16 = 300% (which you have replication factor of 3). [1]

Re: Dynamic Column Families in CQLSH v3

2012-08-29 Thread Jonathan Ellis
To elaborate, we don't know yet how to expose DCT in CQL3. If you can give more background on what you're using DCT for, that would help. (If we're lucky, it's also possible that you don't actually need DCT -- Collections in 1.2 is done entirely with classic CT under the hood.) On Mon, Aug 27,

Spring - cassandra

2012-08-29 Thread Radim Kolar
is author of Spring - Cassandra here? I am interested in getting this merged into upstream spring. They have cassandra support on their todo list.

Re: Spring - cassandra

2012-08-29 Thread Brian O'Neill
You looking for the author of Spring Data Cassandra? https://github.com/boneill42/spring-data-cassandra If so, I guess that is me. =) -brian --- Brian O'Neill Lead Architect, Software Development Apache Cassandra MVP Health Market Science The Science of Better Results 2700 Horizon Drive €

Cassandra Hadoop integration issue using CFIF

2012-08-29 Thread Ben Frank
Hey all, I'm having an issue using ColumnFamilyInputFormat in an hadoop job. The mappers spin out of control and just keep reading records over and over, never getting to the end. I have CF with wide rows (although none is past about 5 at the columns at the moment), I've tried setting wide

RE: Expanding cluster to include a new DR datacenter

2012-08-29 Thread Bryce Godfrey
Well I tried to drop the keyspace, but it's still there. No errors in logs and Cassandra-cli showed the schema agreement after the command. I took a snapshot of the system keyspace first. Nothing is crashing in the clients yet either, still able to read/write to that keyspace.

AUTO : Samuel CARRIERE is out of the office (retour 19/09/2012)

2012-08-29 Thread Samuel CARRIERE
Je suis absent(e) du bureau jusqu'au 19/09/2012 Remarque : ceci est une réponse automatique à votre message Re: Node forgets about most of its column families envoyé le 29/08/2012 18:43:52. C'est la seule notification que vous recevrez pendant l'absence de cette personne.

Re: JMX(RMI) dynamic port allocation problem still exists?

2012-08-29 Thread Yang
nice, thanks guys! On Tue, Aug 28, 2012 at 11:58 PM, Senthilvel Rangaswamy senthil...@gmail.com wrote: We use Jolokia. Its pretty awesome. On Tue, Aug 28, 2012 at 11:44 PM, Peter Schuller peter.schul...@infidyne.com wrote: I can recommend Jolokia highly for providing an HTTP/JSON

unsubscribe

2012-08-29 Thread Juan Antonio Gomez Moriano
-- Juan Antonio Gomez Moriano DEVELOPER TEAM LEADER

Re: Cassandra Hadoop integration issue using CFIF

2012-08-29 Thread Ben Frank
This line always returns 0 because the key ByteBuffer has already been read from. startToken = partitioner.getTokenFactory().toString(partitioner.getToken(Iterables.getLast(rows).key)); I was able to get it to work by using .mark() and .reset() on the buffer. I'll log a bug, but confused as to

a simple solution to replace dead node

2012-08-29 Thread Yang
when we setup our new Cassandra Cluster recently, we looked at the problem of what to do when a node dies and needs to be replaced. we could either let it be dead and have ops team spin up a new node and manually assign a token to it; we could also use Priam. but our company uses Puppet to

Re: keyspace and column family creationŠhow to use ConsistencyLevel.ALL with creation?

2012-08-29 Thread aaron morton
describe_schema_versions on the thrift API (SystemManager.describe_schema_versions() on pycassa) is what you are after. Call it before hand to know what's what, and then call until all nodes converge on the new schema. Cheers - Aaron Morton Freelance Developer @aaronmorton

Re: Why Cassandra secondary indexes are so slow on just 350k rows?

2012-08-29 Thread aaron morton
*from 12 to 20 seconds (!!!) to find 5000 rows*. More is not always better. Cassandra must materialise the full 5000 rows and send them all over the wire to be materialised on the other side. Try asking for a few hundred at a time and see how it goes. Cheers - Aaron

Re: performance is drastically degraded after 0.7.8 -- 1.0.11 upgrade

2012-08-29 Thread aaron morton
in terms of our high-rate write load cassandra1.0.11 is about 3 (three!!) times slower than cassandra-0.7.8 We've not had any reports of a performance drop off. All tests so far have show improvements in both read and write performance. I agree, such digests save some network IO, but they

Re: Node forgets about most of its column families

2012-08-29 Thread aaron morton
For those playing along at home Edwards ticket was marked as a dup of Problem with creating keyspace after drop https://issues.apache.org/jira/browse/CASSANDRA-4219 Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 30/08/2012, at 4:43 AM,