Re: Datastax DSE binaries

2014-06-27 Thread Jack Krupansky
Here are some notes from the DataStax Enterprise Best Practices White Paper: Upgrading from DataStax Community (DSC) or Apache Cassandra to DSE is just like upgrading from one version to another. Before upgrading to DSE, DataStax recommends upgrading to the version of Cassandra contained in th

Re: Merging keyspaces

2014-06-27 Thread Pavel Kogan
Thanks Robert. On Fri, Jun 27, 2014 at 2:21 PM, Robert Coli wrote: > On Fri, Jun 27, 2014 at 10:57 AM, Pavel Kogan > wrote: > >> So basically when I rename all files during merge of keyspaces, I will >> substitute dest keyspace, column family is the same cause it is same >> scheme, and I will

Re: HA Proxy

2014-06-27 Thread Arup Chakrabarti
We tried using HAProxy (to force connections to the closest datacenter) instead of relying on Hector to do the right thing and had problems with it. The client libraries we have used are smart enough to handle the node up/down case, and in most scenarios, if there is a slow node, they will route ar

Cassandra is making cross datacenter call internally to get the data from different datacenters?

2014-06-27 Thread Check Peck
I have our application code deployed in two data centers, DC1 and DC2 and Cassandra nodes are also in DC1 and DC2 making a single cluster. Our application servers in DC1 are communicating to DC1 Cassandra nodes which I verified with "netstat -a | grep 9042" But somehow internally DC1 Cassandra n

Re: Merging keyspaces

2014-06-27 Thread Robert Coli
On Fri, Jun 27, 2014 at 10:57 AM, Pavel Kogan wrote: > So basically when I rename all files during merge of keyspaces, I will > substitute dest keyspace, column family is the same cause it is same > scheme, and I will chose arbitrary number just to avoid collision, correct? > What is the range? I

Re: Merging keyspaces

2014-06-27 Thread Pavel Kogan
Thanks Robert. When I look at column families files it seems like the format is: [keyspace]-[cf]-jb-[number]-CompressionInfo.db [keyspace]-[cf]-jb-[number]-Data.db [keyspace]-[cf]-jb-[number]-Filter.db [keyspace]-[cf]-jb-[number]-Index.db [keyspace]-[cf]-jb-[number]-Statistics.db [keyspace]-[cf]-

Re: HA Proxy

2014-06-27 Thread Johan Edstrom
I think you are going to be creating problems that the drivers were designed to avoid, it is not a good idea in general. /je On Jun 27, 2014, at 11:28 AM, Serge Fonville wrote: > Hector is same way, if any node is slow to responds, times out or dies hector > will remove it from the pool leavin

Re: Merging keyspaces

2014-06-27 Thread Robert Coli
On Fri, Jun 27, 2014 at 8:28 AM, Pavel Kogan wrote: > I want to merge one keyspace (A) data into another (B) with exactly same > scheme. The partition keys of all records are unique in both keyspaces. Can > I just copy all files under keyspace A column families into keyspace B > column families f

Re: HA Proxy

2014-06-27 Thread Serge Fonville
> > Hector is same way, if any node is slow to responds, times out or dies > hector will remove it from the pool leaving making it look like cluster > dead. The entire fault tolerant part of cassandra would be lost. Does this still apply if all nodes contain all data? Kind regards/met vriendelijk

Re: HA Proxy

2014-06-27 Thread Chris Lohfink
Hector is same way, if any node is slow to responds, times out or dies hector will remove it from the pool leaving making it look like cluster dead. The entire fault tolerant part of cassandra would be lost. Chris On Jun 27, 2014, at 11:00 AM, Michael Dykman wrote: > NO, really it can't. I k

Re: HA Proxy

2014-06-27 Thread Michael Dykman
NO, really it can't. I know little of Hector, but when using the datastax driver, Cassandra provides a highly available set of connections; a single Cassandra session will have explicit connections to all of the node which make up a given cluster. The Cassandra server itself relies on a lot of cr

Merging keyspaces

2014-06-27 Thread Pavel Kogan
Hi all, I want to merge one keyspace (A) data into another (B) with exactly same scheme. The partition keys of all records are unique in both keyspaces. Can I just copy all files under keyspace A column families into keyspace B column families folders, after running nodetool flush? Is filenames co

Re: Datastax DSE binaries

2014-06-27 Thread Som Nair
Hi Jack Thanks for the reply . I am looking to migrate from raw Cassandra to the DSE enterprise ? i) is migrating as simple as downloading the DSE binaries and a restart maybe ii) any configurations that I need to modify in yaml iii) I am on raw version 1.25. Do I need to get this to a particu

Re: Datastax DSE binaries

2014-06-27 Thread Jack Krupansky
Are you asking how to do a fresh DSE install, or how to migrate from raw Cassandra to DSE? Or, are you asking about DataStax Community Edition? DataStax Enterprise: http://www.datastax.com/download DataStax Community Edition: http://planetcassandra.org/cassandra/ AFAIK, there is no puppet suppo

HA Proxy

2014-06-27 Thread Richard Jennings
Can a Cassandra client such as Hector operate successfully behind a HA Proxy where the cluster is represented by a single IP Address? Regards

Datastax DSE binaries

2014-06-27 Thread Som Nair
Hi How and where do we include these binaries in a apache cassandra installation . I would like to include these in a puppet configuration.

Re: Cassandra CLI showing inconsistent results during gets

2014-06-27 Thread Chris Lohfink
Where was the 09_09 column inserted from? Are you sure whatever did the insert is doing a local_quorum on the same DC the cli is in? It may return before all the nodes get response back (ie 2 of the 3 in local DC) which report not having the data. After all the nodes respond it will check the