One - One Code All

Blog Content

opendistro sql的二次开发

ElasticSearch   2020-04-21 22:40:02

opendistro sql的二次开发,包括二个部门。

  1. es的sql插件: https://github.com/opendistro-for-elasticsearch/sql

  2. es的sql的jdbc驱动: https://github.com/opendistro-for-elasticsearch/sql-jdbc


编译插件:

git clone https://github.com/opendistro-for-elasticsearch/sql.git
cd sql
./gradlew build

提示结果如下:

$ ./gradlew build
Downloading https://services.gradle.org/distributions/gradle-6.2.1-all.zip
....................................................................................................................................

Welcome to Gradle 6.2.1!

Here are the highlights of this release:
 - Dependency checksum and signature verification
 - Shareable read-only dependency cache
 - Documentation links in deprecation messages

For more details see https://docs.gradle.org/6.2.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)
<-------------> 0% CONFIGURING [52s]
> root project > Resolve dependencies of :classpath > build-tools-7.6.1.pom


安装插件后重启服务


测试结果

curl 'localhost:9200/_cat/plugins?v&s=component&h=name,component,version,description'




上一篇:springboot(服务端接口)获取URL请求参数的几种方法
下一篇:docker容器连接及docker ps指定列

The minute you think of giving up, think of the reason why you held on so long.