Elasticsearch-5.4.0安装sql插件

下载环境包

wget https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.0.0/elasticsearch-sql-5.4.0.0.zip

解压后得到elasticsearch文件夹,将该文件夹移动到es安装目录下plugins文件夹下并改名为sql
每个节点都进行上述操作
重启集群

下载jdbc

https://github.com/NLPchina/elasticsearch-sql/pull/283

jdbc连接方式
properties.put("url", "jdbc:elasticsearch://139.196.218.206:9300,139.196.218.205:9300/");

sql界面

wget https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.0.0/es-sql-site-standalone.zip
unzip es-sql-site-standalone.zip -d es-sql-site
sed -i ‘s/8080/11112/g’ site_configuration.json
cd es-sql-site/site-server
npm install express --save
node node-server.js
ip:11112即可访问

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值