ElasticSearch系列一:源码编译和Debug环境搭建

环境准备

说明:本文章使用的ES版本是:6.7.0

JDK

Elastisearch 6.7.0编译需要JDK版本10.0及以上,我直接安装了JDK12.JDK下载地址:https://www.oracle.com/technetwork/java/javase/downloads/index.html

Gradle

brew install gradle

Elastisearch源码

git clone https://github.com/elastic/elasticsearch.git
git tag
git checkout v6.7.0

使用IDEA DEBUG 源码

将工程Import到IDEA

进入Elastisearch根目录,把源码编译为IDEA工程:./gradlew idea

</div

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章