Java 8 & recommended version?

I know JDK 7u55 was labeled as OK some time ago and this is still listed as
the official
requirement: http://www.elasticsearch.org/guide/en/elasticsearch/hadoop/current/requirements.html

However, time has moved on and I was wondering what the testing status and
advice is for more recent JDKs.

Particularly, I'd like to know whether Oracle JDK 8u25 safe for production
use (on centos 7)? We've used JDK 8u20 without issues on our dev servers
but it would be nice to have some guidance on this since we are moving to
production soon with this. The reason we're using Java 8 is because we are
using that for our apps as well and it is kind of nice to have just one jdk
to worry about. Also, I suspect there may be some perfomance benefits given
the amount of change that went into e.g. hotspot.

In general, an overview of common vms and status with respect to
elasticsearch would be nice to have somewhere. There are quite a few
different suppliers of vms at this point and picking one seems to be a bit
of a black art & leap of faith currently. There's Openjdk, oracle jdk,
Azul's Zulu (essentially openjdk as far as I know), and Azul's Zulu
Enterprise. You can get each of these for Java 6, 7, and 8. Especially for
openjdk, it also matters how it was built.

Jilles

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Jilles,

1.7u55 has indeed be the recommended version for a long time, but JDK 8u25
is fine too. The page that you linked is from elasticsearch-hadoop and
might be a bit outdated, we are trying to keep up to date information about
recommended JVMs at the following URL:

For reference we are also trying to improve our startup scripts so that
they would fail to start if you are using a JVM with known issues. See for
instance Resiliency: Throw exception if the JVM will corrupt data. by rmuir · Pull Request #7580 · elastic/elasticsearch · GitHub

On Thu, Oct 16, 2014 at 1:03 PM, Jilles van Gurp jillesvangurp@gmail.com
wrote:

I know JDK 7u55 was labeled as OK some time ago and this is still listed
as the official requirement:
Elasticsearch Platform — Find real-time answers at scale | Elastic

However, time has moved on and I was wondering what the testing status and
advice is for more recent JDKs.

Particularly, I'd like to know whether Oracle JDK 8u25 safe for production
use (on centos 7)? We've used JDK 8u20 without issues on our dev servers
but it would be nice to have some guidance on this since we are moving to
production soon with this. The reason we're using Java 8 is because we are
using that for our apps as well and it is kind of nice to have just one jdk
to worry about. Also, I suspect there may be some perfomance benefits given
the amount of change that went into e.g. hotspot.

In general, an overview of common vms and status with respect to
elasticsearch would be nice to have somewhere. There are quite a few
different suppliers of vms at this point and picking one seems to be a bit
of a black art & leap of faith currently. There's Openjdk, oracle jdk,
Azul's Zulu (essentially openjdk as far as I know), and Azul's Zulu
Enterprise. You can get each of these for Java 6, 7, and 8. Especially for
openjdk, it also matters how it was built.

Jilles

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
Adrien Grand

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j64dH-%2Bp3YE7J9GNOt9JGb%3DeWsuE-4xX1YiUpNHoQKgPw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Jilles, thanks for the mention. I am the community manager at Azul and am
hoping to be of service if needed...

Yes, our Zulu product is a free certified, Open Source implementation of
Java 8 and OpenJDK which is ready for Linux, Windows, Mac OSx, and Docker.
It is a complete Java SE 8, 7 and 6 compliant JDK & JVM, is free to
download, use, and/or bundle with applications with no licensing
restrictions.

Forum log in and downloads: bit.ly/azul-zulu-java http://t.co/GOZuCqx59Z

Let me know if I can be of any help. Thank you.

Patricia

@patricia_dugan

@azulsystems

On Friday, October 17, 2014 4:20:23 PM UTC-7, Adrien Grand wrote:

Hi Jilles,

1.7u55 has indeed be the recommended version for a long time, but JDK 8u25
is fine too. The page that you linked is from elasticsearch-hadoop and
might be a bit outdated, we are trying to keep up to date information about
recommended JVMs at the following URL:
Elasticsearch Platform — Find real-time answers at scale | Elastic

For reference we are also trying to improve our startup scripts so that
they would fail to start if you are using a JVM with known issues. See for
instance Resiliency: Throw exception if the JVM will corrupt data. by rmuir · Pull Request #7580 · elastic/elasticsearch · GitHub

On Thu, Oct 16, 2014 at 1:03 PM, Jilles van Gurp <jilles...@gmail.com
<javascript:>> wrote:

I know JDK 7u55 was labeled as OK some time ago and this is still listed
as the official requirement:
Elasticsearch Platform — Find real-time answers at scale | Elastic

However, time has moved on and I was wondering what the testing status
and advice is for more recent JDKs.

Particularly, I'd like to know whether Oracle JDK 8u25 safe for
production use (on centos 7)? We've used JDK 8u20 without issues on our dev
servers but it would be nice to have some guidance on this since we are
moving to production soon with this. The reason we're using Java 8 is
because we are using that for our apps as well and it is kind of nice to
have just one jdk to worry about. Also, I suspect there may be some
perfomance benefits given the amount of change that went into e.g. hotspot.

In general, an overview of common vms and status with respect to
elasticsearch would be nice to have somewhere. There are quite a few
different suppliers of vms at this point and picking one seems to be a bit
of a black art & leap of faith currently. There's Openjdk, oracle jdk,
Azul's Zulu (essentially openjdk as far as I know), and Azul's Zulu
Enterprise. You can get each of these for Java 6, 7, and 8. Especially for
openjdk, it also matters how it was built.

Jilles

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/c3ecaa35-b1cb-47a5-8ee9-5bca711c9b38%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
Adrien Grand

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/fbfa56c0-6ca6-4bfe-ba9c-36193e0ebf89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.