在CentOS6.5系统上,安装ES,这是报错详细内容如下:
[root@Master elasticsearch]# bin/elasticsearch
{1.7.2}: Initialization Failed ...
- RuntimeException[Java version: 1.7.0_51 suffers from critical bug https://bugs.openjdk.java.net/browse/JDK-8024830 which can cause data corruption.
Please upgrade the JVM, see http://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html for current recommendations.
If you absolutely cannot upgrade, please add -XX:-UseSuperWord to the JVM_OPTS environment variable.
Upgrading is preferred, this workaround will result in degraded performance.]
[root@Master elasticsearch]#
因为JDK的版本是1.7.51,安装的最新的ES版本为1.7.3,这个报错内容是:要安装JDK1.8以上的版本。
解决方法:更新JDK。