Open neulf opened 3 years ago
[2021-02-07T16:02:11,350][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [nas-huaxin] fatal error in thread [main], exiting
java.lang.ExceptionInInitializerError: null
at org.elasticsearch.plugin.analysis.hanlp.AnalysisHanLPPlugin.lambda$getTokenizers$0(AnalysisHanLPPlugin.java:67) ~[?:?]
at java.security.AccessController.doPrivileged(AccessController.java:312) ~[?:?]
at org.elasticsearch.plugin.analysis.hanlp.AnalysisHanLPPlugin.getTokenizers(AnalysisHanLPPlugin.java:67) ~[?:?]
at org.elasticsearch.common.NamedRegistry.extractAndRegister(NamedRegistry.java:54) ~[elasticsearch-7.5.1.jar:7.5.1]
at org.elasticsearch.indices.analysis.AnalysisModule.setupTokenizers(AnalysisModule.java:235) ~[elasticsearch-7.5.1.jar:7.5.1]
at org.elasticsearch.indices.analysis.AnalysisModule.
请问最后如何解决的啊
请问最后如何解决的啊
好像重新安装,保证es和插件的版本完全一致可以
一样的错误
● elasticsearch.service - Elasticsearch Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sun 2021-02-07 16:02:11 CST; 5s ago Docs: http://www.elastic.co Process: 1484 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet (code=e Main PID: 1484 (code=exited, status=1/FAILURE) Tasks: 0 (limit: 4915) CGroup: /system.slice/elasticsearch.service
设置了HANLP_ROOT也不管用