Re: Handling Long running Cassandra Rebuild Process

2020-03-28 Thread Aakash Pandhi
A simple way to do is to measure dataset size of source DC and new DC (one you are rebuilding) every hour or so and make sure new DC dataset size is catching up. Not a very effective but helps me.  We recently rebuilt a DC and watched that way. Another idea is to poll system.log for errors relat

Re: Handling Long running Cassandra Rebuild Process

2020-03-27 Thread Jai Bheemsen Rao Dhanwada
netstats only gives the active streams, for example if the rebuild fails because of a network issue or something there is no trace of it. regarding nohup: i am trying to create an api On Friday, March 27, 2020, Erick Ramirez wrote: > If you run nodetool netstats, you would be able to see the st

Re: Handling Long running Cassandra Rebuild Process

2020-03-27 Thread Erick Ramirez
If you run nodetool netstats, you would be able to see the status of the node where it would either be "building" or "normal" if it completed. While it's building, it will also show you the active streams that are in progress. Typically, most admins nohup it or at least redirect the output to a lo

Handling Long running Cassandra Rebuild Process

2020-03-27 Thread Jai Bheemsen Rao Dhanwada
Hello, When I invoke "node tool rebuild" command, I see it is a long running process depending on the data size. I am implementing an API using the JMX mBeans, since the rebuild is a long running operation, the API is waiting for the rebuild to complete. Is there a way to make it asynchronous and

Re: Running Cassandra on FreeBSD

2017-11-20 Thread Jeronimo de A. Barros
Jens, Al Tobey's Cassandra 2.1 tuning guide has excellents infos about running Cassandra. Apparently he uses Arch Linux and we've been using Slackware Linux in a 12 node cluster (2 DCs 6/6) for the last 3 years with no problems. https://tobert.github.io/pages/als-cassandra-21-tuning-

Re: Running Cassandra on FreeBSD

2017-11-18 Thread Jens Grassel
Hi Michael, On Fri, 17 Nov 2017 08:22:20 -0600 Michael Shuler wrote: MS> That ML post was linked on: MS> https://issues.apache.org/jira/browse/CASSANDRA-8325 MS> MS> That JIRA has a couple patches you might look at for examples. thanks. Sadly we don't have time to dive deep into this therefore

Re: Running Cassandra on FreeBSD

2017-11-18 Thread Jens Grassel
Hi Johnny, On Fri, 17 Nov 2017 14:45:21 +0100 Johnny Miller wrote: JM> I don't believe it is supported on FreeBSD - I would recommend you JM> stick to the list here: JM> https://docs.datastax.com/en/landing_page/doc/landing_page/supportedPlatforms.html thanks for the information. I guess we'l

Re: Running Cassandra on FreeBSD

2017-11-17 Thread Michael Shuler
Looks simlar to: https://lists.freebsd.org/pipermail/freebsd-stable/2014-October/080834.html That ML post was linked on: https://issues.apache.org/jira/browse/CASSANDRA-8325 That JIRA has a couple patches you might look at for examples. -- Kind regards, Michael On 11/17/2017 04:06 AM, Jens Gr

Re: Running Cassandra on FreeBSD

2017-11-17 Thread Johnny Miller
Jens, I don't believe it is supported on FreeBSD - I would recommend you stick to the list here: https://docs.datastax.com/en/landing_page/doc/landing_page/supportedPlatforms.html . Also, I would suggest using Oracle JDK. Regards, Johnny On 17 November 2017 at 11:06, Jens Grassel wrote: > H

Running Cassandra on FreeBSD

2017-11-17 Thread Jens Grassel
Hi, we downloaded the latest release and tried to run it on a FreeBSD 11 machine which resultet in a JVM crash. Here is the output: <---snip---> ./bin/cassandra -f  ? 134  CompilerOracle: dontinline org/apache/cassandra/db/Columns$Serializer.deserializeLargeSubset

Re: How can I install a Java Spring Application running Cassandra on to AWS

2017-10-17 Thread Lutaya Shafiq Holmes
Thank YOU On 10/17/17, Who Dadddy wrote: > http://lmgtfy.com/?q=install+java+app+on+AWS > <http://lmgtfy.com/?q=install+java+app+on+AWS> > >> On 17 Oct 2017, at 15:32, Lutaya Shafiq Holmes >> wrote: >> >> How can I install a Java Spring Application running

Re: How can I install a Java Spring Application running Cassandra on to AWS

2017-10-17 Thread Who Dadddy
http://lmgtfy.com/?q=install+java+app+on+AWS <http://lmgtfy.com/?q=install+java+app+on+AWS> > On 17 Oct 2017, at 15:32, Lutaya Shafiq Holmes wrote: > > How can I install a Java Spring Application running Cassandra on to AWS > -- > Lutaaya Shafiq > Web: www.ronz

How can I install a Java Spring Application running Cassandra on to AWS

2017-10-17 Thread Lutaya Shafiq Holmes
How can I install a Java Spring Application running Cassandra on to AWS -- Lutaaya Shafiq Web: www.ronzag.com | i...@ronzag.com Mobile: +256702772721 | +256783564130 Twitter: @lutayashafiq Skype: lutaya5 Blog: lutayashafiq.com http://www.fourcornersalliancegroup.com/?a=shafiqholmes "The

Re: Running Cassandra in Integration Tests

2017-04-28 Thread kurt greaves
Use ccmlib. https://github.com/pcmanus/ccm On 28 April 2017 at 12:59, Matteo Moci wrote: > Sorry for bumping this old thread, but what would be your suggestion for > programmatically start/stop nodes in a cluster? > > I'd like to make some experiments and perform QUORUM writes against a > cluste

Re: Running Cassandra in Integration Tests

2017-04-28 Thread Matteo Moci
Sorry for bumping this old thread, but what would be your suggestion for programmatically start/stop nodes in a cluster? I'd like to make some experiments and perform QUORUM writes against a cluster (REPLICATION=3) with alternatively 2 or 3 nodes up, starting/stopping/restarting nodes in the middl

Re: Running cassandra

2017-03-19 Thread Long Quanzheng
l doesn't work. >>>> >>>> The real problem is this error: >>>> >>>> Error: Could not find or load main class -ea >>>> >>>> Thanks >>>> Long >>>> >>>> On Sun, Mar 19, 2017 at 3:16 AM Vinci

Re: Running cassandra

2017-03-19 Thread benjamin roth
>> Error: Could not find or load main class -ea >>> >>> Thanks >>> Long >>> >>> On Sun, Mar 19, 2017 at 3:16 AM Vinci wrote: >>> >>>> You need to have a log directory to be able to run cassandra. >>>> >>>&

Re: Running cassandra

2017-03-19 Thread Long Quanzheng
Vinci wrote: >> >>> You need to have a log directory to be able to run cassandra. >>> >>> mkdir logs >>> >>> then start the cassandra process. >>> >>> Original Message >>> Subject: Running cassandra >

Re: Running cassandra

2017-03-19 Thread benjamin roth
d not find or load main class -ea > > Thanks > Long > > On Sun, Mar 19, 2017 at 3:16 AM Vinci wrote: > >> You need to have a log directory to be able to run cassandra. >> >> mkdir logs >> >> then start the cassandra process. >> >>

Re: Running cassandra

2017-03-19 Thread Long Quanzheng
he cassandra process. > > Original Message ---- > Subject: Running cassandra > Local Time: 19 March 2017 11:31 AM > UTC Time: 19 March 2017 06:01 > From: prc...@gmail.com > To: user@cassandra.apache.org > > > Hi > I am trying to get started to play with Cassandra follow

Running cassandra

2017-03-18 Thread Long Quanzheng
Hi I am trying to get started to play with Cassandra follow this doc: http://cassandra.apache.org/doc/latest/getting_started/installing.html#prerequisites But I always get the error: qlong@~/ws/cas/apache-cassandra-3.10 $ ./bin/cassandra -f Java HotSpot(TM) 64-Bit Server VM warning: Cannot open f

Running cassandra

2017-03-18 Thread Long Quanzheng
Hi anyone, I am trying to get started to play with Cassandra follow this doc: http://cassandra.apache.org/doc/latest/getting_started/installing.html#prerequisites But I always get the error: qlong@~/ws/cas/apache-cassandra-3.10 $ ./bin/cassandra -f Java HotSpot(TM) 64-Bit Server VM warning: Canno

Re: Running Cassandra in Integration Tests

2016-10-07 Thread Eric Stevens
If you happen to be using Scala, we recently released some tooling we wrote around using CCM for integration testing: https://github.com/protectwise/cassandra-util You define clusters and nodes in configuration, then ask the service to go: https://github.com/protectwise/cassandra-util/blob/master/

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Edward Capriolo
Checkout https://github.com/edwardcapriolo/farsandra. It falls under the realm of almost 100% pure java (besides the fact it uses some shell to launch Cassandra). On Thu, Oct 6, 2016 at 7:08 PM, Ali Akhtar wrote: > Is it possible to create an isolated cassandra instance which is run > during int

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Jonathan Haddad
3.9 falls under the Tick Tock release cycle, which is almost completely untested in production by experienced operators. In the cases where it has been tested, there have been numerous bugs found which I (and I think most people on this list) consider to be show stoppers. Additionally, the Tick T

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Peddi, Praveen
Akhtar mailto:ali.rac...@gmail.com>> Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Date: Thursday, October 6, 2016 at 8:44 PM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>&quo

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Peddi, Praveen
ra.apache.org>" mailto:user@cassandra.apache.org>> Date: Thursday, October 6, 2016 at 8:44 PM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Running Cassandra in Integration Tests Peddi @ Amazon

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Ali Akhtar
gt;> cassandraDaemon.init(null); >> cassandraDaemon.start(); >> >> //stop cassandra after tests are done >> cassandraDaemon.stop(); >> >> From: Ali Akhtar >> Reply-To: "user@cassandra.apache.org" >> Date: Thursday, October 6, 2016 at 8:44

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Ali Akhtar
.apache.org" > Date: Thursday, October 6, 2016 at 8:44 PM > > To: "user@cassandra.apache.org" > Subject: Re: Running Cassandra in Integration Tests > > Peddi @ Amazon, would you be able to share your code such as in a gist, if > possible, please? > > Also, which ve

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Peddi, Praveen
rg>> Date: Thursday, October 6, 2016 at 8:44 PM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Running Cassandra in Integration Tests Peddi @ Amazon, would you be able to share your code such as in a

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Ali Akhtar
ntiate CassandraDeamon after setting system property of > cassandra.config={yaml location}. It works fine for our needs. > > Praveen > > From: Ali Akhtar > Reply-To: "user@cassandra.apache.org" > Date: Thursday, October 6, 2016 at 8:35 PM > To: "user@cassandra.

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Kant Kodali
embedded cassandra instance? you mean dont persist any data to disk? If so I dont see that being possible at this time. prior to running your test code you just run shell script and after test truncate everything and bring down the instance. one way or other this needs to happen underneath so I don

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Peddi, Praveen
.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Date: Thursday, October 6, 2016 at 8:35 PM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Running Cassandra in Integrat

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Ali Akhtar
That looks great Andrew, but it doesn't seem to have been committed to for 5 months. Is anyone still using cassandra-unit , does it work with latest cassandra versions (e.g 3.9)? On Fri, Oct 7, 2016 at 5:33 AM, Andrew Tolbert wrote: > Hi Ali, > > cassandra-unit

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Andrew Tolbert
Hi Ali, cassandra-unit might be what you are looking for. It allows you to run an embedded cassandra instance along side your tests and has some nice integration with JUnit. Thanks, Andy On Thu, Oct 6, 2016 at 7:13 PM Ali Akhtar wrote: > Ok, but t

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Ali Akhtar
Ok, but that's not what this question is about. I'm looking for a way to run an embedded cassandra instance which is created & destroyed during tests and which doesn't persist any state outside the tests. On Fri, Oct 7, 2016 at 5:10 AM, Kant Kodali wrote: > you dont need to look for cassandra

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Kant Kodali
you dont need to look for cassandra java api to start/stop instance. you just need to write a shell script or python or java or any language to execute shell commands! On Thu, Oct 6, 2016 4:57 PM, Ali Akhtar ali.rac...@gmail.com wrote: Okay.. but how would I start this instance? Is there a j

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Ali Akhtar
Okay.. but how would I start this instance? Is there a java api to programmatically start / destroy an instance during tests? On Fri, Oct 7, 2016 at 4:56 AM, Kant Kodali wrote: > sure as long as that isolated instance is treated as separate cluster you > shouldn't run into any problems. > > > >

Re: Running Cassandra in Integration Tests

2016-10-06 Thread Kant Kodali
sure as long as that isolated instance is treated as separate cluster you shouldn't run into any problems. On Thu, Oct 6, 2016 4:08 PM, Ali Akhtar ali.rac...@gmail.com wrote: Is it possible to create an isolated cassandra instance which is run during integration tests and it disappears after

Running Cassandra in Integration Tests

2016-10-06 Thread Ali Akhtar
Is it possible to create an isolated cassandra instance which is run during integration tests and it disappears after tests have finished running? Then its recreated the next time tests run (perhaps being populated with test data). I'm using Java.

Re: Running Cassandra on Java 8 u60..

2015-09-28 Thread Jonathan Haddad
to Java7 and G1GC (early versions were >>> buggy). >>> >>> Cheers, >>> Stefano >>> >>> >>> On Fri, Sep 25, 2015 at 5:08 PM, Kevin Burton >>> wrote: >>> >>>> Any issues with running Cassandra 2.0.16 on Java

Re: Running Cassandra on Java 8 u60..

2015-09-28 Thread Nathan Bijnens
2015, at 7:14 PM, Stefano Ortolani wrote: >> >> I think those were referring to Java7 and G1GC (early versions were >> buggy). >> >> Cheers, >> Stefano >> >> >> On Fri, Sep 25, 2015 at 5:08 PM, Kevin Burton wrote: >> >>> Any issues w

Re: Running Cassandra on Java 8 u60..

2015-09-27 Thread Kevin Burton
k JDK9 will be the one. > > On Sep 25, 2015, at 7:14 PM, Stefano Ortolani wrote: > > I think those were referring to Java7 and G1GC (early versions were buggy). > > Cheers, > Stefano > > > On Fri, Sep 25, 2015 at 5:08 PM, Kevin Burton wrote: > >> Any issu

Re: Running Cassandra on Java 8 u60..

2015-09-27 Thread Graham Sanderson
Stefano > > > On Fri, Sep 25, 2015 at 5:08 PM, Kevin Burton <mailto:bur...@spinn3r.com>> wrote: > Any issues with running Cassandra 2.0.16 on Java 8? I remember there is long > term advice on not changing the GC but not the underlying version of Java. > > Thought

Re: Running Cassandra on Java 8 u60..

2015-09-25 Thread Jeff Jirsa
We saw no problems with 8u60. From: on behalf of Kevin Burton Reply-To: "user@cassandra.apache.org" Date: Friday, September 25, 2015 at 5:08 PM To: "user@cassandra.apache.org" Subject: Running Cassandra on Java 8 u60.. Any issues with running Cassandra 2.0.16 on Java

Re: Running Cassandra on Java 8 u60..

2015-09-25 Thread Stefano Ortolani
I think those were referring to Java7 and G1GC (early versions were buggy). Cheers, Stefano On Fri, Sep 25, 2015 at 5:08 PM, Kevin Burton wrote: > Any issues with running Cassandra 2.0.16 on Java 8? I remember there is > long term advice on not changing the GC but not the underlying v

Running Cassandra on Java 8 u60..

2015-09-25 Thread Kevin Burton
Any issues with running Cassandra 2.0.16 on Java 8? I remember there is long term advice on not changing the GC but not the underlying version of Java. Thoughts? -- We’re hiring if you know of any awesome Java Devops or Linux Operations Engineers! Founder/CEO Spinn3r.com Location: *San

Re: Exception while running cassandra stress client

2015-04-04 Thread ankit tyagi
the same error. Use cassandra-stress shipped with cassandra > 2.1.x to run the test like that. > > Regards > Abhinav > On 02-Apr-2015 11:44 am, "ankit tyagi" wrote: > >> Hi All, >> >> while running cassandra stress tool shipped with cassandra 2.0.

Re: Exception while running cassandra stress client

2015-04-02 Thread Abhinav Ranjan
Hi, We too got the same error. Use cassandra-stress shipped with cassandra 2.1.x to run the test like that. Regards Abhinav On 02-Apr-2015 11:44 am, "ankit tyagi" wrote: > Hi All, > > while running cassandra stress tool shipped with cassandra 2.0.4 version, > i am g

Exception while running cassandra stress client

2015-04-01 Thread ankit tyagi
Hi All, while running cassandra stress tool shipped with cassandra 2.0.4 version, i am getting following error *./bin/cassandra-stress user profile=./bin/test.yaml* *Application does not allow arbitrary arguments: user, profile=./bin/test.yaml* I am stuck on this and not able to find out why

Re: Issue restarting cassandra with a cluster running Cassandra 1.2.x and Cassandra 2.0.x

2015-03-04 Thread Fabrice Facorat
Upgrade a node from 1.2.13 to 2.0.10 works correctly and we did run upgradesstable on the new 2.0.x node. The issue lies with the others nodes still running Cassandra 1.2.x which failed to start if you did just a restart of the node. Here is the describecluster output during the upgrade

Re: Issue restarting cassandra with a cluster running Cassandra 1.2.x and Cassandra 2.0.x

2015-03-03 Thread Tobias Hauth
I would recommend against 2.0.12 as long as nodetool cleanup is broken and wait for 2.0.13. On Tue, Mar 3, 2015 at 11:43 AM, Nate McCall wrote: > Did you run 'upgrade sstables'? See these two sections in 2.0's NEWS.txt: > https://github.com/apache/cassandra/blob/cassandra-2.0/NEWS.txt#L132-L141

Re: Issue restarting cassandra with a cluster running Cassandra 1.2.x and Cassandra 2.0.x

2015-03-03 Thread Nate McCall
Did you run 'upgrade sstables'? See these two sections in 2.0's NEWS.txt: https://github.com/apache/cassandra/blob/cassandra-2.0/NEWS.txt#L132-L141 https://github.com/apache/cassandra/blob/cassandra-2.0/NEWS.txt#L195-L198 It's a good idea to move up to 2.0.12 while your at it. There have been a nu

Issue restarting cassandra with a cluster running Cassandra 1.2.x and Cassandra 2.0.x

2015-03-03 Thread Fabrice Facorat
Hi, we have a 52 Cassandra nodes cluster running Apache Cassandra 1.2.13. As we are planning to migrate to Cassandra 2.0.10, we decide to do some tests and we noticed that once a node in the cluster have been upgraded to Cassandra 2.0.x, restarting a Cassandra 1.2.x will fail. The tests were done

Re: Running Cassandra on mixed OS

2015-03-02 Thread Robert Coli
On Mon, Mar 2, 2015 at 6:43 AM, wrote: > Have any of you run a single Cassandra cluster on a mix of OS (Red Hat 5 > and 6, for example), but with the same JVM? Any issues or concerns? If > there are problems, how do you handle OS upgrades? > If you are running the same version of Cassandra in b

RE: Running Cassandra on mixed OS

2015-03-02 Thread SEAN_R_DURITY
This is not for the long haul, but in order to accomplish an OS upgrade across the cluster, without taking an outage. Sean Durity From: Jonathan Haddad [mailto:j...@jonhaddad.com] Sent: Monday, March 02, 2015 1:15 PM To: user@cassandra.apache.org Subject: Re: Running Cassandra on mixed OS I

Re: Running Cassandra on mixed OS

2015-03-02 Thread Jonathan Haddad
I would really not recommend this. There's enough issues that can come up with a distributed database that can make it hard to pinpoint problems. In an ideal world, every machine would be completely identical. Don't set yourself up for fail. Pin the OS & all packages to specific versions. On M

Running Cassandra on mixed OS

2015-03-02 Thread SEAN_R_DURITY
Cassandra 1.2.13+/2.0.12 Have any of you run a single Cassandra cluster on a mix of OS (Red Hat 5 and 6, for example), but with the same JVM? Any issues or concerns? If there are problems, how do you handle OS upgrades? Sean R. Durity The information in this

Re: Running Cassandra + Spark on AWS - architecture questions

2015-02-23 Thread Clint Kelly
These are both good suggestions, thanks! I thought I had remembered reading that different virtual datacenters should always have the same number of nodes. I think I was mistaken about that. In the past we had major issues running huge analytics jobs on data stored in HBase (it would bring down

Re: Running Cassandra + Spark on AWS - architecture questions

2015-02-22 Thread Eric Stevens
I'm not sure if this is a good use case for you, but you might also consider setting up several keyspaces, one for any data you want available for analytics (such as business object tables), and one for data you don't want to do analytics on (such as custom secondary indices). Maybe a third one fo

Re: Running Cassandra + Spark on AWS - architecture questions

2015-02-20 Thread DuyHai Doan
"Cassandra would take care of keeping the data synced between the two sets of five nodes. Is that correct?" Correct "But doing so means that we need 2x as many nodes as we need for the real-time cluster alone" Not necessarily. With multi DC you can configure the replication factor value per DC,

Running Cassandra + Spark on AWS - architecture questions

2015-02-20 Thread Clint Kelly
Hi all, I read the DSE 4.6 documentation and I'm still not 100% sure what a mixed workload Cassandra + Spark installation would look like, especially on AWS. What I gather is that you use OpsCenter to set up the following: - One "virtual data center" for real-time processing (e.g., ingestion

RE: EXTERNAL: Re: Running Cassandra Server in an OSGi container

2014-07-23 Thread Rodgers, Hugh
Yes, the application includes the C* server and client. From: Robert Stupp [mailto:sn...@snazy.de] Sent: Wednesday, July 23, 2014 12:19 AM To: user@cassandra.apache.org Subject: Re: EXTERNAL: Re: Running Cassandra Server in an OSGi container You mean "unzip and run" of an applicati

Re: EXTERNAL: Re: Running Cassandra Server in an OSGi container

2014-07-23 Thread Robert Stupp
gt; Sent: Tuesday, July 22, 2014 1:19 PM > To: user@cassandra.apache.org > Subject: EXTERNAL: Re: Running Cassandra Server in an OSGi container > > What's your intention to do this? > > There are unit test integrations using C* daemon. A related bug that >

RE: EXTERNAL: Re: Running Cassandra Server in an OSGi container

2014-07-22 Thread Rodgers, Hugh
"unzip and run" system and do not expect the user to have to do much, if any, C* configuration. From: Robert Stupp [mailto:sn...@snazy.de] Sent: Tuesday, July 22, 2014 1:19 PM To: user@cassandra.apache.org Subject: EXTERNAL: Re: Running Cassandra Server in an OSGi container What's yo

Re: Running Cassandra Server in an OSGi container

2014-07-22 Thread jcllings
BTW, I agree with other posters that it seems like an awfully weird thing to do. Perhaps you just want to run a client in an OSGI environment? Jim C. On 07/22/2014 02:39 PM, jcllings wrote: > I can give you some tips. > > Figure out what Cassandra does when it starts up. Best way to do that > is

Re: Running Cassandra Server in an OSGi container

2014-07-22 Thread jcllings
I can give you some tips. Figure out what Cassandra does when it starts up. Best way to do that is to read the startup script. Then all you have to do is convince the OSGI container to do what ever prep is done by the script. Trick to that is usually figuring out where to do it. For example if t

Re: Running Cassandra Server in an OSGi container

2014-07-22 Thread Robert Stupp
What's your intention to do this? There are unit test integrations using C* daemon. A related bug that prevented proper shutdown has been closed for C* 2.1-rc1: https://issues.apache.org/jira/browse/CASSANDRA-5635 It's perfectly fine to embed C* for unit tests. But I'd definitely not recommend

Running Cassandra Server in an OSGi container

2014-07-22 Thread Rodgers, Hugh
Hello - I have a use case where I need to run the Cassandra Server as an OSGi bundle. I have been able to embed all of the Cassandra dependencies in an OSGi bundle and run it on Karaf container, but I am not happy with the approach I have thus far. Since CassandraDaemon has System.exit() calls

Re: Problem in running cassandra-2.0.4 trigger example

2014-01-16 Thread Aaron Morton
>> But i am getting error: Bad Request: Key may not be empty My guess is the trigger is trying to create a row with an empty key. Add some logging to the trigger to see what it’s doing. Cheers - Aaron Morton New Zealand @aaronmorton Co-Founder & Principal Consultant Apache C

Re: Problem in running cassandra-2.0.4 trigger example

2014-01-11 Thread Thunder Stumpges
I'm not sure if this is your issue as I have not used these triggers before but shouldn't the invertedindex table have a different primary key than the primary table (either f2 or f3)? -Thunder > On Jan 11, 2014, at 12:03 PM, Vidit Asthana wrote: > > I am new to cassandra and trying to run t

Problem in running cassandra-2.0.4 trigger example

2014-01-11 Thread Vidit Asthana
I am new to cassandra and trying to run the trigger example provided by cassandra on a pseudo cluster using instructions provided on https://github.com/apache/cassandra/tree/cassandra-2.0/examples/triggers But i am getting error: *Bad Request: Key may not be empty* Can someone tell me if my "CR

Re: Running Cassandra on top of non-Oracle/Sun JDK environments

2013-10-31 Thread Prabath Abeysekara
Hi Rob, On Thu, Oct 31, 2013 at 11:54 PM, Robert Coli wrote: > On Thu, Oct 31, 2013 at 4:11 AM, Prabath Abeysekara < > prabathabeysek...@gmail.com> wrote: > >> Just want to know whether the $subject is recommended. Because, I've seen >> some of the Oracle(Sun) specific packages "sun.misc.*" are

Re: Running Cassandra on top of non-Oracle/Sun JDK environments

2013-10-31 Thread Robert Coli
On Thu, Oct 31, 2013 at 4:11 AM, Prabath Abeysekara < prabathabeysek...@gmail.com> wrote: > Just want to know whether the $subject is recommended. Because, I've seen > some of the Oracle(Sun) specific packages "sun.misc.*" are being used in a > few places in Cassandra code base, which is not inter

Running Cassandra on top of non-Oracle/Sun JDK environments

2013-10-31 Thread Prabath Abeysekara
Hi All, Just want to know whether the $subject is recommended. Because, I've seen some of the Oracle(Sun) specific packages "sun.misc.*" are being used in a few places in Cassandra code base, which is not interoperable. So, it would be great if someone can shed some light as to what extent it is r

Re: Any suggestions about running Cassandra on Windows servers for production use?

2013-10-09 Thread Vassilis Bekiaris
1.2 installation at a client site; the > client will run operations themselves and based on their IT team's > experience they are more inclined towards running Cassandra nodes > on Windows servers, however given proper arguments they would also > consider using lin

Re: Any suggestions about running Cassandra on Windows servers for production use?

2013-10-08 Thread Robert Coli
On Mon, Oct 7, 2013 at 5:35 AM, Vassilis Bekiaris < bekiar...@iconplatforms.com> wrote: > we are planning a Cassandra 1.2 installation at a client site; the client > will run operations themselves and based on their IT team's experience they > are more inclined towards runnin

Any suggestions about running Cassandra on Windows servers for production use?

2013-10-07 Thread Vassilis Bekiaris
Hello all, we are planning a Cassandra 1.2 installation at a client site; the client will run operations themselves and based on their IT team's experience they are more inclined towards running Cassandra nodes on Windows servers, however given proper arguments they would also consider

Re: VM dimensions for running Cassandra and Hadoop

2013-07-31 Thread Jan Algermissen
Hi Shahab, On 31.07.2013, at 15:59, Shahab Yunus wrote: > Hi Jan, > > One question...you say > "- I must make sure the disks are directly attached, to prevent > problems when multiple nodes flush the commit log at the > same time" I read that using Cassandra with SANs can cause Problems be

Re: VM dimensions for running Cassandra and Hadoop

2013-07-31 Thread Shahab Yunus
Hi Jan, One question...you say "- I must make sure the disks are directly attached, to prevent problems when multiple nodes flush the commit log at the same time" What do you mean by that? Thanks, Shahab On Wed, Jul 31, 2013 at 3:10 AM, Jan Algermissen wrote: > Jon, > > On 31.07.2013, at

Re: VM dimensions for running Cassandra and Hadoop

2013-07-31 Thread Jan Algermissen
Jon, On 31.07.2013, at 08:15, Jonathan Haddad wrote: > Having just enough RAM to hold the JVM's heap generally isn't a good idea > unless you're not planning on doing much with the machine. Yes, I agree. Two questions though: - Do you think that using a JVM heap of, for example, 12 GB and h

Re: VM dimensions for running Cassandra and Hadoop

2013-07-30 Thread Jonathan Haddad
Having just enough RAM to hold the JVM's heap generally isn't a good idea unless you're not planning on doing much with the machine. Any memory not allocated to a process will generally be put to good use serving as page cache. See here: http://en.wikipedia.org/wiki/Page_cache Jon On Tue, Jul 3

VM dimensions for running Cassandra and Hadoop

2013-07-30 Thread Jan Algermissen
Hi, thanks for the helpful replies last week. It looks as if I will deploy Cassandra on a bunch of VMs and I am now in the process of understanding what the dimensions of the VMS should be. So far, I understand the following: - I need at least 3 VMs for a minimal Cassandra setup - I should get

Re: Running Cassandra with no open TCP ports

2013-05-28 Thread Sam Overton
You can configure cassandra to use an ephemeral port for the storage endpoint by setting the following in cassandra.yaml: storage_port: 0 or by setting the system property cassandra.storage_port=0 Similarly for the RPC (thrift) endpoint, using rpc_port in cassandra.yaml or the system property cas

Re: Running Cassandra with no open TCP ports

2013-05-28 Thread Mark Mccraw
Oleg: The simple answer for why I'm using Cassandra thusly is laziness/fear of uncertainty. I'm using Cassandra indirectly as the back end data store for Titan(http://thinkaurelius.github.io/titan/), which is a graph interface. Titan does let you swap out the data store, and it gives you seve

Re: Running Cassandra with no open TCP ports

2013-05-28 Thread Edward Capriolo
While not exactly optimized for embedded systems there is no reason it could not be done. Today's super computer is tomorrows embedded watch processor. On Tue, May 28, 2013 at 9:11 AM, Oleg Dulin wrote: > Mark: > > This begs a question -- why are you using Cassandra for this ? There are > simpl

Re: Running Cassandra with no open TCP ports

2013-05-28 Thread Oleg Dulin
Mark: This begs a question -- why are you using Cassandra for this ? There are simpler noSQL stores than Cassandra that are better for embedding. Oleg On 2013-05-28 02:24:48 +, Mark Mccraw said: Hi All, I'm using Cassandra as an embedded datastore for a small service that doesn't need

Re: Running Cassandra with no open TCP ports

2013-05-27 Thread Edward Capriolo
No. Your only option is to give each instance its own ports. On Mon, May 27, 2013 at 10:24 PM, Mark Mccraw wrote: > Hi All, > > I'm using Cassandra as an embedded datastore for a small service that > doesn't need (or want) to act as a database service in any way. Moreover, > we may want to s

Running Cassandra with no open TCP ports

2013-05-27 Thread Mark Mccraw
Hi All, I'm using Cassandra as an embedded datastore for a small service that doesn't need (or want) to act as a database service in any way. Moreover, we may want to start up multiple instances of the application, and right now whenever that happens, we get port conflicts on 7000 because Cass

Re: running cassandra on 8 GB servers

2013-04-15 Thread Nikolay Mihaylov
Just a small update here currently running on one node with 7 GB heap and no JNA all defaults except the heap, and everything looks OK. On Sun, Apr 14, 2013 at 9:10 PM, aaron morton wrote: > Hmmm, what is the recommendation for a 10G network if 1G was 300G to > 500GŠI am guessing I can't do 10 ti

Re: running cassandra on 8 GB servers

2013-04-14 Thread aaron morton
> Hmmm, what is the recommendation for a 10G network if 1G was 300G to > 500GŠI am guessing I can't do 10 times that, correct? But maybe I could > squeak out 600G to 1T? Best thing to do would be run a test on how long it takes to repair or bootstrap a node. The 300GB to 500Gb was just a guidelin

Re: running cassandra on 8 GB servers

2013-04-14 Thread aaron morton
> ERROR [Thrift:641] 2013-04-11 11:25:19,563 CassandraDaemon.java (line 164) > Exception in thread Thread[Thrift:641,5,main] > java.lang.OutOfMemoryError: Java heap space It's easier for people to help if you provide the error stack. Does this happen at startup or after it has been running for a

Re: running cassandra on 8 GB servers

2013-04-12 Thread Hiller, Dean
Hmmm, what is the recommendation for a 10G network if 1G was 300G to 500GŠI am guessing I can't do 10 times that, correct? But maybe I could squeak out 600G to 1T? Thanks, Dean On 4/11/13 2:26 PM, "aaron morton" wrote: >> The data will be huge, I am estimating 4-6 TB per server. I know this >>

Re: running cassandra on 8 GB servers

2013-04-11 Thread Nikolay Mihaylov
I am using 1.2.3, used default heap - 2 GB without JNA installed, then modified heap to 4 GB / 400 MB young generation. + JNA installed. bloom filter on the CF's is lowered (more false positives, less disk space). WARN [ScheduledTasks:1] 2013-04-11 11:09:41,899 GCInspector.java (line 142) Heap is

Re: running cassandra on 8 GB servers

2013-04-11 Thread Edward Capriolo
With that much data per node you have to raise the IndexInterval and adjust the bloom filter settings. Although the bloom filters are off heap now having that much data can but a strain on physical memory. On Thu, Apr 11, 2013 at 4:26 PM, aaron morton wrote: > > The data will be huge, I am estim

Re: running cassandra on 8 GB servers

2013-04-11 Thread aaron morton
> The data will be huge, I am estimating 4-6 TB per server. I know this is > best, but those are my resources. You will have a very unhappy time. The general rule of thumb / guideline for a HDD based system with 1G networking is 300GB to 500Gb per node. See previous discussions on this topic fo

running cassandra on 8 GB servers

2013-04-11 Thread Nikolay Mihaylov
For one project I will need to run cassandra on following dedicated servers: Single CPU XEON 4 cores no hyper-threading, 8 GB RAM, 12 TB locally attached HDD's in some kind of RAID, visible as single HDD. I can do cluster of 20-30 such servers, may be even more. The data will be huge, I am estim

Re: Running cassandra across nat?

2013-03-11 Thread Ben Chobot
Can you not set up VPN between your data centers? On Mar 10, 2013, at 7:05 AM, Илья Шипицин wrote: > Hello! > > Is it possible to run cluster in 2 datacenters which are not routable? > Each datacenter is running its own lan prefixes, however lan are not routable > across datacenters. > > Cheer

running Cassandra in dual stack (ipv4 + ipv6)

2013-03-11 Thread Илья Шипицин
Hello! is it possible to use both ipv4 and ipv6 for Cassandra cluster ? Cheers, Ilya Shipitsin

Re: Running cassandra across nat?

2013-03-10 Thread Edward Capriolo
In some cases you can do this using the broadcast address, which is different then the listen and rpc address. But if nothing is route-able ie NAT I do not think it is possible. On Sun, Mar 10, 2013 at 10:05 AM, Илья Шипицин wrote: > Hello! > > Is it possible to run cluster in 2 datacenters whic

  1   2   >