Hi All,

We are currently working on provisioning support in Amdatu, enabling hot 
deployment of Amdatu application bundles. Within the scope of that milestone it 
is stated that all Amdatu bundles should be hot deployable. With the current 
Cassandra (0.8) version however, a runtime update is just not possible. The 
Cassandra daemon was not designed to be stopped in ways other than killing the 
JVM. I did already run into that issue (see CassandraDaemonService), but 
without changing Cassandra it just doesn't seem to be possible to support 
runtime updates of the Cassandra daemon bundle. The Cassandra guru's (Jonathan 
Ellis and Ran Tavory) confirm that Cassandra was not designed to facilitate 
shutdown in other ways then killing the JVM.

See also:

http://prettyprint.me/2010/02/14/running-cassandra-as-an-embedded-service/
[Michael Zehrer] Is there a solution for the shutdown problem? One that does 
not require me to kill the JVM?
[Ran Tavory ] no, that's a design limitation in Cassandra
[Kannan ] Thanks for putting up this embedded server, very helpful. Any ideas 
why this is a cassandra design limitation ?
[Ran Tavory ] you mean why it cannot be killed? it's been discussed at 
user@cassandra a few times. Basically it's a design decision and was never 
considered important enough to rethink it

Related JIRA issues:
https://issues.apache.org/jira/browse/CASSANDRA-2724
https://issues.apache.org/jira/browse/CASSANDRA-868
https://issues.apache.org/jira/browse/CASSANDRA-1919
https://github.com/rantav/hector/issues/182

More about Cassandra shutdown:
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Few-questions-regarding-cassandra-deployment-on-windows-td5508524.html
https://groups.google.com/group/hector-users/browse_thread/thread/f94097f645024c0b?pli=1
http://stackoverflow.com/questions/3388558/how-can-i-start-start-apache-cassandra-programmatically

Is this is big issue for provisioning?

Regards, Ivo

GX Software | Ivo Ladage-van Doorn | Product Architect | Wijchenseweg 111 | 
6538 SW Nijmegen | The Netherlands | T +31(0)24 - 388 82 61 | F +31(0)24 - 388 
86 21 | 
[email protected]<mailto:[email protected]> | 
www.gxsoftware.com<http://www.gxsoftware.com> | 
twitter.com/GXSoftware<http://twitter.com/GXSoftware>

_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to