-
Notifications
You must be signed in to change notification settings - Fork 150
elasticsearch8.4.0无法安装 #95
Comments
Sorry for the convenience of use. 最后无效是有错误提示么?启动的时候有一步load plugins,如果有问题,es无法启动。 |
[2023-03-02T11:03:54,289][INFO ][o.e.p.PluginsService ] [localhost.localdomain] loaded plugin [analysis-ik] |
看起来是打包的问题,缺少了文件 java.lang.IllegalStateException: Plugin [elasticsearch-jieba-plugin] is missing a descriptor properties file.
目录结构应该是这样的: ~/Downloads/elasticsearch-8.4.1 ⌚ 12:24:32
$ ll plugins/jieba
total 7048
drwxr-xr-x 5 cheng staff 160B 12 1 13:36 dic
-rw-r--r-- 1 cheng staff 1.3M 12 1 13:36 elasticsearch-jieba-plugin-1.0.0.jar
-rw-r--r-- 1 cheng staff 2.1M 12 1 13:36 jieba-analysis-1.0.1-SNAPSHOT.jar
-rw-r--r-- 1 cheng staff 539B 12 1 13:36 plugin-descriptor.properties
-rw-r--r-- 1 cheng staff 1.4K 12 1 13:36 plugin.xml
|
抱歉,看错了,我用的是8.6.0。但是您给的上述文件我均无找到。 |
打包之后,会形成一个zip文件,解压之后,就包含了这个文件。 |
git clone https://github.com/sing1ee/elasticsearch-jieba-plugin.git --recursive
无法克隆 '[email protected]:sing1ee/jieba-analysis.git' 到子模组路径 'jieba-analysis' 无效
最后手动下载了
./gradlew clean pz
错误: 找不到或无法加载主类 org.gradle.wrapper.GradleWrapperMain
根据其他人的issue,手动改了gradle/wrapper,无效
新增分支:
获取了8.4.1分支,修改文件,build.gradle、src/main/resources/plugin-descriptor.properties、切换不同的gradle版本
放入plugins,回到主目录运行./bin/elasticsearch 无效
总结,浪费一早上时间
The text was updated successfully, but these errors were encountered: