Discussion:
Cassandra install on JRE vs JDK
cass savy
2015-02-18 19:49:40 UTC
Permalink
Can we install Oracle JDK instead of JRE in Cassandra servers? We have few
clusters running JDK when we upgraded to C*2.0.

Is there any known issue or impact with using JDK vs JRE?
What is the reason to not use Oracle JDK in C* servers?
Is there any performance impact ?

Please advice.
Robert Stupp
2015-02-18 19:54:27 UTC
Permalink
The ”natural” dependency of Cassandra is the JRE (not the JDK) - e.g. in the Debian package.
You should be safe using JRE instead of JDK.

If you’re asking whether to use a non-Oracle JVM - the answer would be: use the Oracle JVM.
OpenJDK might work, but I’d not recommend it.
Can we install Oracle JDK instead of JRE in Cassandra servers? We have few clusters running JDK when we upgraded to C*2.0.
Is there any known issue or impact with using JDK vs JRE?
What is the reason to not use Oracle JDK in C* servers?
Is there any performance impact ?
Please advice.
—
Robert Stupp
@snazy
cass savy
2015-02-18 20:32:25 UTC
Permalink
Thanks Robert for quick response. I use Oracle JDK and not OpenJDK.
Post by Robert Stupp
The ”natural” dependency of Cassandra is the JRE (not the JDK) - e.g. in
the Debian package.
You should be safe using JRE instead of JDK.
use the Oracle JVM.
OpenJDK might work, but I’d not recommend it.
Can we install Oracle JDK instead of JRE in Cassandra servers? We have
few clusters running JDK when we upgraded to C*2.0.
Is there any known issue or impact with using JDK vs JRE?
What is the reason to not use Oracle JDK in C* servers?
Is there any performance impact ?
Please advice.
—
Robert Stupp
@snazy
Mark Reddy
2015-02-18 19:58:50 UTC
Permalink
Yes you can use Oracle JDK if your prefer, I've been using the JDK with
Cassandra in production for years without issue.

Regards,
Mark
Post by cass savy
Can we install Oracle JDK instead of JRE in Cassandra servers? We have
few clusters running JDK when we upgraded to C*2.0.
Is there any known issue or impact with using JDK vs JRE?
What is the reason to not use Oracle JDK in C* servers?
Is there any performance impact ?
Please advice.
cass savy
2015-02-18 20:32:53 UTC
Permalink
Thanks Mark for quick response. What version of Cassandra and JDK are you
using in Prod.
Post by Mark Reddy
Yes you can use Oracle JDK if your prefer, I've been using the JDK with
Cassandra in production for years without issue.
Regards,
Mark
Post by cass savy
Can we install Oracle JDK instead of JRE in Cassandra servers? We have
few clusters running JDK when we upgraded to C*2.0.
Is there any known issue or impact with using JDK vs JRE?
What is the reason to not use Oracle JDK in C* servers?
Is there any performance impact ?
Please advice.
Mark Reddy
2015-02-18 20:40:34 UTC
Permalink
Cassandra 1.2.18 and Java 1.6 u45.

Planning an upgrade to the 2.x series in the near future along with a bump
in version of Java.

Regards,
Mark
Post by cass savy
Thanks Mark for quick response. What version of Cassandra and JDK are you
using in Prod.
Post by Mark Reddy
Yes you can use Oracle JDK if your prefer, I've been using the JDK with
Cassandra in production for years without issue.
Regards,
Mark
Post by cass savy
Can we install Oracle JDK instead of JRE in Cassandra servers? We have
few clusters running JDK when we upgraded to C*2.0.
Is there any known issue or impact with using JDK vs JRE?
What is the reason to not use Oracle JDK in C* servers?
Is there any performance impact ?
Please advice.
karim duran
2015-02-18 22:33:23 UTC
Permalink
Hi Mark, Cass Savy, Robert...

I confirm that Cassandra runs on JRE ( or JDK because a JRE is provided
with JDK ).
Oracle (ex Sun Microsystem) is the best choice to make Cassandra running
without issue.
(there is some problems with IBM JVM or OpenJDK).

Here's a screenshot of Cassandra 2.1.2 running on my computer (Linux Ubuntu
14.04 x86-64 with JDK 1.6.x).

Regards.
Karim Duran.

​
Post by Mark Reddy
Cassandra 1.2.18 and Java 1.6 u45.
Planning an upgrade to the 2.x series in the near future along with a bump
in version of Java.
Regards,
Mark
Post by cass savy
Thanks Mark for quick response. What version of Cassandra and JDK are
you using in Prod.
Post by Mark Reddy
Yes you can use Oracle JDK if your prefer, I've been using the JDK with
Cassandra in production for years without issue.
Regards,
Mark
Post by cass savy
Can we install Oracle JDK instead of JRE in Cassandra servers? We have
few clusters running JDK when we upgraded to C*2.0.
Is there any known issue or impact with using JDK vs JRE?
What is the reason to not use Oracle JDK in C* servers?
Is there any performance impact ?
Please advice.
karim duran
2015-02-18 22:35:47 UTC
Permalink
...with JDK 1.7.x...(not 1.6.x but it's equal) Sorry...

Regards.

Karim Duran
Post by karim duran
Hi Mark, Cass Savy, Robert...
I confirm that Cassandra runs on JRE ( or JDK because a JRE is provided
with JDK ).
Oracle (ex Sun Microsystem) is the best choice to make Cassandra running
without issue.
(there is some problems with IBM JVM or OpenJDK).
Here's a screenshot of Cassandra 2.1.2 running on my computer (Linux
Ubuntu 14.04 x86-64 with JDK 1.6.x).
Regards.
Karim Duran.
​
Post by Mark Reddy
Cassandra 1.2.18 and Java 1.6 u45.
Planning an upgrade to the 2.x series in the near future along with a
bump in version of Java.
Regards,
Mark
Post by cass savy
Thanks Mark for quick response. What version of Cassandra and JDK are
you using in Prod.
Post by Mark Reddy
Yes you can use Oracle JDK if your prefer, I've been using the JDK with
Cassandra in production for years without issue.
Regards,
Mark
Post by cass savy
Can we install Oracle JDK instead of JRE in Cassandra servers? We
have few clusters running JDK when we upgraded to C*2.0.
Is there any known issue or impact with using JDK vs JRE?
What is the reason to not use Oracle JDK in C* servers?
Is there any performance impact ?
Please advice.
Loading...