es启动报错

来源:7-4 ElasticSearch及Kibana环境搭建

YX_油腻

2021-08-10

[root@iZm5eb5ru5qzk3e29yk8tsZ elasticsearch-7.14.0]# bin/elasticsearch
warning: usage of JAVA_HOME is deprecated, use ES_JAVA_HOME
Future versions of Elasticsearch will require Java 11; your Java version from [/opt/install/jdk1.8.0_181/jre] does not meet this requirement. Consider switching to a distribution of Elasticsearch with a bundled JDK. If you are already using a distribution with a bundled JDK, ensure the JAVA_HOME environment variable is not set.
warning: usage of JAVA_HOME is deprecated, use ES_JAVA_HOME
Future versions of Elasticsearch will require Java 11; your Java version from [/opt/install/jdk1.8.0_181/jre] does not meet this requirement. Consider switching to a distribution of Elasticsearch with a bundled JDK. If you are already using a distribution with a bundled JDK, ensure the JAVA_HOME environment variable is not set.

老师,这是java版本的问题吗?es启动报错,使用的是elasticsearch-7.14.0
java版本使用的时1.8

写回答

1回答

龙虾三少

2021-08-11

和课程使用同一版本的es吧 你那个版本需要java 11

0
0

ES7+Spark 构建高匹配度搜索服务+千人千面推荐系统

ElasticSearch实现高相关性搜索,Spark MLlib实现个性化推荐

1384 学习 · 559 问题

查看课程