Elasticsearch opendistro-sql

本文介绍了如何在Elasticsearch 7.10.2环境中安装opendistro-sql插件,包括从指定网址获取使用说明,通过jdk11环境进行服务端插件安装,以及客户端的开发依赖和调用代码。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. 使用说明网址

  • https://opendistro.github.io/for-elasticsearch-docs/docs/sql/workbench/
  • https://github.com/opendistro-for-elasticsearch/sql/blob/main/sql-jdbc/CONTRIBUTING.md

2. 环境

  • 环境 jdk11
  • elasticsearch: elasticsearch-7.10.2

3. 服务端Elasticsearch plugin opendistro-sql插件安装

  • 下载插件到本地并安装
wget https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-sql/opendistro-sql-1.13.0.0.zip
bin/elasticsearch-plugin install file:///opt/elk7/opendistro-sql-1.13.0.0.zip
  • 在线安装插件
bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-sql/opendistro-sql-1.13.0.0.zip
  • 重启easticsearch

4. 客户端开发

  • 依赖
<depend
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值