Skip to content

es安装插件后报Cannot replace existing handler for [/_isql/_explain]错误 #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
suixindong opened this issue Nov 26, 2021 · 2 comments

Comments

@suixindong
Copy link

es7.9.2 安装插件
./bin/elasticsearch-plugin install https://github.com/iamazy/elasticsearch-sql/releases/download/7.9.2/elasticsearch-sql-plugin-v7.9.2.zip
再 plugins目录会生成一个isql文件夹,但是启动时如下报错:
[2021-11-26T14:35:11,490][ERROR][o.e.b.Bootstrap ] [elasticsearch-230-t] Exception
java.lang.IllegalArgumentException: Cannot replace existing handler for [/_isql/_explain] for method: POST
at org.elasticsearch.rest.MethodHandlers.addMethods(MethodHandlers.java:52) ~[elasticsearch-7.9.2.jar:7.9.2]

@iamazy
Copy link
Owner

iamazy commented Nov 26, 2021

@suixindong 这个是因为发7.9.2的时候插件接口 GET/POST方法全写成了POST方式,现已重新发包,你再试下

@suixindong
Copy link
Author

此问题已解决,十分感谢。
另外还有个使用jdbc开发时,连接集群地址+密码验证时的错误,我重新发个issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants