问题:elasticSearch安装Ik的坑
启动时报错如下:
Caused by: org.elasticsearch.bootstrap.BootstrapException: java.nio.file.NoSuchFileException: /home/hadoop/install/elasticsearch-5.6.1/plugins/elasticsearch/plugin-descriptor.properties
查看后发现:
/home/hadoop/install/elasticsearch-5.6.1/plugins/elasticsearch/没有plugin-descriptor.properties
问题解决:
在/home/hadoop/install/elasticsearch-5.6.1/plugins/elasticsearch/创建一个plugin-descriptor.properties文件:
内容如下:
[hadoop@hadoop1 elasticsearch]$ touch plugin-descriptor.properties
description=IK Analyzer for Elasticsearch
version=5.6.1
name=analysis-ik
site=${elasticsearch.plugin.site}
jvm=true
classname=org.elasticsearch.plugin.analysis.ik.AnalysisIkPlugin
java.version=1.8
elasticsearch.version=5.6.1
isolated=${elasticsearch.plugin.isolated}