elasticsearch 目录结构 启动脚本配置文件 elasticsearch.yml jvm.options

elasticsearch 目录结构 启动脚本配置文件 elasticsearch.yml jvm.options,第1张

elasticsearch 目录结构 启动脚本配置文件 elasticsearch.yml jvm.options

文章目录

下载后解压查看目录./config/elasticsearch.yml 节点配置文件./config/jvm.options jvm参数配置文件./bin/elasticsearch 启动脚本

下载后解压查看目录
wget -c https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.16.2-linux-x86_64.tar.gz
tar -zxvf elasticsearch-7.16.2-linux-x86_64.tar.gz -C /opt  # 用 -C 指定解压后文件的位置
cd /opt/elasticsearch-7.16.2
tree
eugenewu@ubt20:/opt/elasticsearch-7.16.2$ tree
.
├── bin
│   ├── elasticsearch
│   ├── elasticsearch-certgen
│   ├── elasticsearch-certutil
│   ├── elasticsearch-cli
│   ├── elasticsearch-croneval
│   ├── elasticsearch-env
│   ├── elasticsearch-env-from-file
│   ├── elasticsearch-geoip
│   ├── elasticsearch-keystore
│   ├── elasticsearch-migrate
│   ├── elasticsearch-node
│   ├── elasticsearch-plugin
│   ├── elasticsearch-saml-metadata
│   ├── elasticsearch-service-tokens
│   ├── elasticsearch-setup-passwords
│   ├── elasticsearch-shard
│   ├── elasticsearch-sql-cli
│   ├── elasticsearch-sql-cli-7.16.2.jar
│   ├── elasticsearch-syskeygen
│   ├── elasticsearch-users
│   ├── nohup.out
│   ├── x-pack-env
│   ├── x-pack-security-env
│   └── x-pack-watcher-env
├── config
│   ├── elasticsearch.keystore
│   ├── elasticsearch-plugins.example.yml
│   ├── elasticsearch.yml
│   ├── jvm.options
│   ├── jvm.options.d
│   ├── log4j2.properties
│   ├── role_mapping.yml
│   ├── roles.yml
│   ├── users
│   └── users_roles
├── data
│   └── nodes
│       └── 0
│           ├── indices
│           │   ├── 4-g0pUlSS_qVhDtSWjxpnA
│           │   │   ├── 0
│           │   │   │   ├── index
│           │   │   │   │   ├── _0.cfe
│           │   │   │   │   ├── _0.cfs
│           │   │   │   │   ├── _0.si
│           │   │   │   │   ├── _1.cfe
│           │   │   │   │   ├── _1.cfs
│           │   │   │   │   ├── _1.si
│           │   │   │   │   ├── _2.cfe
│           │   │   │   │   ├── _2.cfs
│           │   │   │   │   ├── _2.si
│           │   │   │   │   ├── _3.cfe
│           │   │   │   │   ├── _3.cfs
│           │   │   │   │   ├── _3.si
│           │   │   │   │   ├── _4.cfe
│           │   │   │   │   ├── _4.cfs
│           │   │   │   │   ├── _4.si
│           │   │   │   │   ├── _5.cfe
│           │   │   │   │   ├── _5.cfs
│           │   │   │   │   ├── _5.si
│           │   │   │   │   ├── _6.cfe
│           │   │   │   │   ├── _6.cfs
│           │   │   │   │   ├── _6.si
│           │   │   │   │   ├── _7.cfe
│           │   │   │   │   ├── _7.cfs
│           │   │   │   │   ├── _7.si
│           │   │   │   │   ├── _8.cfe
│           │   │   │   │   ├── _8.cfs
│           │   │   │   │   ├── _8.si
│           │   │   │   │   ├── _9.cfe
│           │   │   │   │   ├── _9.cfs
│           │   │   │   │   ├── _9.si
│           │   │   │   │   ├── _a.cfe
│           │   │   │   │   ├── _a.cfs
│           │   │   │   │   ├── _a.si
│           │   │   │   │   ├── segments_5
│           │   │   │   │   └── write.lock
│           │   │   │   ├── _state
│           │   │   │   │   ├── retention-leases-2.st
│           │   │   │   │   └── state-1.st
│           │   │   │   └── translog
│           │   │   │       ├── translog-6.tlog
│           │   │   │       └── translog.ckp
│           │   │   └── _state
│           │   │       └── state-3.st
│           │   ├── c6f82TSuTiiYUURa4X4SpA
│           │   │   ├── 0
│           │   │   │   ├── index
│           │   │   │   │   ├── _0.cfe
│           │   │   │   │   ├── _0.cfs
│           │   │   │   │   ├── _0.si
│           │   │   │   │   ├── _1.cfe
│           │   │   │   │   ├── _1.cfs
│           │   │   │   │   ├── _1.si
│           │   │   │   │   ├── segments_3
│           │   │   │   │   └── write.lock
│           │   │   │   ├── _state
│           │   │   │   │   ├── retention-leases-3.st
│           │   │   │   │   └── state-2.st
│           │   │   │   └── translog
│           │   │   │       ├── translog-5.tlog
│           │   │   │       └── translog.ckp
│           │   │   └── _state
│           │   │       └── state-9.st
│           │   └── NEIHz_Z3TEem0CZXcyVeNQ
│           │       ├── 0
│           │       │   ├── index
│           │       │   │   ├── _0.cfe
│           │       │   │   ├── _0.cfs
│           │       │   │   ├── _0.si
│           │       │   │   ├── _1.cfe
│           │       │   │   ├── _1.cfs
│           │       │   │   ├── _1.si
│           │       │   │   ├── _2.cfe
│           │       │   │   ├── _2.cfs
│           │       │   │   ├── _2.si
│           │       │   │   ├── segments_5
│           │       │   │   └── write.lock
│           │       │   ├── _state
│           │       │   │   ├── retention-leases-3.st
│           │       │   │   └── state-2.st
│           │       │   └── translog
│           │       │       ├── translog-7.tlog
│           │       │       └── translog.ckp
│           │       └── _state
│           │           └── state-10.st
│           ├── node.lock
│           ├── snapshot_cache
│           │   ├── segments_3
│           │   └── write.lock
│           └── _state
│               ├── _20_1.liv
│               ├── _20.cfe
│               ├── _20.cfs
│               ├── _20.si
│               ├── _24.cfe
│               ├── _24.cfs
│               ├── _24.si
│               ├── _25.cfe
│               ├── _25.cfs
│               ├── _25.si
│               ├── _26.cfe
│               ├── _26.cfs
│               ├── _26.si
│               ├── manifest-2.st
│               ├── node-2.st
│               ├── segments_2g
│               └── write.lock
├── jdk
│   ├── bin
│   │   ├── jar
│   │   ├── jarsigner
│   │   ├── java
│   │   ├── javac
│   │   ├── javadoc
│   │   ├── javap
│   │   ├── jcmd
│   │   ├── jconsole
│   │   ├── jdb
│   │   ├── jdeprscan
│   │   ├── jdeps
│   │   ├── jfr
│   │   ├── jhsdb
│   │   ├── jimage
│   │   ├── jinfo
│   │   ├── jlink
│   │   ├── jmap
│   │   ├── jmod
│   │   ├── jpackage
│   │   ├── jps
│   │   ├── jrunscript
│   │   ├── jshell
│   │   ├── jstack
│   │   ├── jstat
│   │   ├── jstatd
│   │   ├── keytool
│   │   ├── rmiregistry
│   │   └── serialver
│   ├── conf
│   │   ├── logging.properties
│   │   ├── management
│   │   │   ├── jmxremote.access
│   │   │   ├── jmxremote.password.template
│   │   │   └── management.properties
│   │   ├── net.properties
│   │   ├── sdp
│   │   │   └── sdp.conf.template
│   │   ├── security
│   │   │   ├── java.policy
│   │   │   ├── java.security
│   │   │   └── policy
│   │   │       ├── limited
│   │   │       │   ├── default_local.policy
│   │   │       │   ├── default_US_export.policy
│   │   │       │   └── exempt_local.policy
│   │   │       ├── README.txt
│   │   │       └── unlimited
│   │   │           ├── default_local.policy
│   │   │           └── default_US_export.policy
│   │   └── sound.properties
│   ├── include
│   │   ├── classfile_constants.h
│   │   ├── jawt.h
│   │   ├── jdwpTransport.h
│   │   ├── jni.h
│   │   ├── jvmticmlr.h
│   │   ├── jvmti.h
│   │   └── linux
│   │       ├── jawt_md.h
│   │       └── jni_md.h
│   ├── jmods
│   │   ├── java.base.jmod
│   │   ├── java.compiler.jmod
│   │   ├── java.datatransfer.jmod
│   │   ├── java.desktop.jmod
│   │   ├── java.instrument.jmod
│   │   ├── java.logging.jmod
│   │   ├── java.management.jmod
│   │   ├── java.management.rmi.jmod
│   │   ├── java.naming.jmod
│   │   ├── java.net.http.jmod
│   │   ├── java.prefs.jmod
│   │   ├── java.rmi.jmod
│   │   ├── java.scripting.jmod
│   │   ├── java.security.jgss.jmod
│   │   ├── java.security.sasl.jmod
│   │   ├── java.se.jmod
│   │   ├── java.smartcardio.jmod
│   │   ├── java.sql.jmod
│   │   ├── java.sql.rowset.jmod
│   │   ├── java.transaction.xa.jmod
│   │   ├── java.xml.crypto.jmod
│   │   ├── java.xml.jmod
│   │   ├── jdk.accessibility.jmod
│   │   ├── jdk.attach.jmod
│   │   ├── jdk.charsets.jmod
│   │   ├── jdk.compiler.jmod
│   │   ├── jdk.crypto.cryptoki.jmod
│   │   ├── jdk.crypto.ec.jmod
│   │   ├── jdk.dynalink.jmod
│   │   ├── jdk.editpad.jmod
│   │   ├── jdk.hotspot.agent.jmod
│   │   ├── jdk.httpserver.jmod
│   │   ├── jdk.incubator.foreign.jmod
│   │   ├── jdk.incubator.vector.jmod
│   │   ├── jdk.internal.ed.jmod
│   │   ├── jdk.internal.jvmstat.jmod
│   │   ├── jdk.internal.le.jmod
│   │   ├── jdk.internal.opt.jmod
│   │   ├── jdk.internal.vm.ci.jmod
│   │   ├── jdk.internal.vm.compiler.jmod
│   │   ├── jdk.internal.vm.compiler.management.jmod
│   │   ├── jdk.jartool.jmod
│   │   ├── jdk.javadoc.jmod
│   │   ├── jdk.jcmd.jmod
│   │   ├── jdk.jconsole.jmod
│   │   ├── jdk.jdeps.jmod
│   │   ├── jdk.jdi.jmod
│   │   ├── jdk.jdwp.agent.jmod
│   │   ├── jdk.jfr.jmod
│   │   ├── jdk.jlink.jmod
│   │   ├── jdk.jpackage.jmod
│   │   ├── jdk.jshell.jmod
│   │   ├── jdk.jsobject.jmod
│   │   ├── jdk.jstatd.jmod
│   │   ├── jdk.localedata.jmod
│   │   ├── jdk.management.agent.jmod
│   │   ├── jdk.management.jfr.jmod
│   │   ├── jdk.management.jmod
│   │   ├── jdk.naming.dns.jmod
│   │   ├── jdk.naming.rmi.jmod
│   │   ├── jdk.net.jmod
│   │   ├── jdk.nio.mapmode.jmod
│   │   ├── jdk.random.jmod
│   │   ├── jdk.sctp.jmod
│   │   ├── jdk.security.auth.jmod
│   │   ├── jdk.security.jgss.jmod
│   │   ├── jdk.unsupported.desktop.jmod
│   │   ├── jdk.unsupported.jmod
│   │   ├── jdk.xml.dom.jmod
│   │   └── jdk.zipfs.jmod
│   ├── legal
│   │   ├── java.base
│   │   │   ├── ADDITIONAL_LICENSE_INFO
│   │   │   ├── aes.md
│   │   │   ├── asm.md
│   │   │   ├── ASSEMBLY_EXCEPTION
│   │   │   ├── cldr.md
│   │   │   ├── c-libutl.md
│   │   │   ├── icu.md
│   │   │   ├── LICENSE
│   │   │   ├── public_suffix.md
│   │   │   └── unicode.md
│   │   ├── java.compiler
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.datatransfer
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.desktop
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   ├── colorimaging.md
│   │   │   ├── giflib.md
│   │   │   ├── harfbuzz.md
│   │   │   ├── jpeg.md
│   │   │   ├── lcms.md
│   │   │   ├── libpng.md
│   │   │   ├── LICENSE -> ../java.base/LICENSE
│   │   │   ├── mesa3d.md
│   │   │   └── xwd.md
│   │   ├── java.instrument
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.logging
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.management
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.management.rmi
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.naming
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.net.http
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.prefs
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.rmi
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.scripting
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.se
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.security.jgss
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.security.sasl
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.smartcardio
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   ├── LICENSE -> ../java.base/LICENSE
│   │   │   └── pcsclite.md
│   │   ├── java.sql
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.sql.rowset
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.transaction.xa
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── java.xml
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   ├── bcel.md
│   │   │   ├── dom.md
│   │   │   ├── jcup.md
│   │   │   ├── LICENSE -> ../java.base/LICENSE
│   │   │   ├── xalan.md
│   │   │   └── xerces.md
│   │   ├── java.xml.crypto
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   ├── LICENSE -> ../java.base/LICENSE
│   │   │   └── santuario.md
│   │   ├── jdk.accessibility
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.attach
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.charsets
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.compiler
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.crypto.cryptoki
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   ├── LICENSE -> ../java.base/LICENSE
│   │   │   ├── pkcs11cryptotoken.md
│   │   │   └── pkcs11wrapper.md
│   │   ├── jdk.crypto.ec
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.dynalink
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   ├── dynalink.md
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.editpad
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.hotspot.agent
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.httpserver
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.incubator.foreign
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.incubator.vector
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.internal.ed
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.internal.jvmstat
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.internal.le
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   ├── jline.md
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.internal.opt
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   ├── jopt-simple.md
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.internal.vm.ci
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.internal.vm.compiler
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.internal.vm.compiler.management
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.jartool
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.javadoc
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   ├── jquery.md
│   │   │   ├── jqueryUI.md
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.jcmd
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.jconsole
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.jdeps
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.jdi
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.jdwp.agent
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.jfr
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.jlink
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.jpackage
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.jshell
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.jsobject
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.jstatd
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.localedata
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   ├── cldr.md -> ../java.base/cldr.md
│   │   │   ├── LICENSE -> ../java.base/LICENSE
│   │   │   └── thaidict.md
│   │   ├── jdk.management
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.management.agent
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.management.jfr
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.naming.dns
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.naming.rmi
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.net
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.nio.mapmode
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.random
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.sctp
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.security.auth
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.security.jgss
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.unsupported
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.unsupported.desktop
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   ├── jdk.xml.dom
│   │   │   ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │   │   ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │   │   └── LICENSE -> ../java.base/LICENSE
│   │   └── jdk.zipfs
│   │       ├── ADDITIONAL_LICENSE_INFO -> ../java.base/ADDITIONAL_LICENSE_INFO
│   │       ├── ASSEMBLY_EXCEPTION -> ../java.base/ASSEMBLY_EXCEPTION
│   │       └── LICENSE -> ../java.base/LICENSE
│   ├── lib
│   │   ├── classlist
│   │   ├── ct.sym
│   │   ├── jexec
│   │   ├── jfr
│   │   │   ├── default.jfc
│   │   │   └── profile.jfc
│   │   ├── jrt-fs.jar
│   │   ├── jspawnhelper
│   │   ├── jvm.cfg
│   │   ├── libattach.so
│   │   ├── libawt_headless.so
│   │   ├── libawt.so
│   │   ├── libawt_xawt.so
│   │   ├── libdt_socket.so
│   │   ├── libextnet.so
│   │   ├── libfontmanager.so
│   │   ├── libinstrument.so
│   │   ├── libj2gss.so
│   │   ├── libj2pcsc.so
│   │   ├── libj2pkcs11.so
│   │   ├── libjaas.so
│   │   ├── libjavajpeg.so
│   │   ├── libjava.so
│   │   ├── libjawt.so
│   │   ├── libjdwp.so
│   │   ├── libjimage.so
│   │   ├── libjli.so
│   │   ├── libjsig.so
│   │   ├── libjsound.so
│   │   ├── liblcms.so
│   │   ├── libmanagement_agent.so
│   │   ├── libmanagement_ext.so
│   │   ├── libmanagement.so
│   │   ├── libmlib_image.so
│   │   ├── libnet.so
│   │   ├── libnio.so
│   │   ├── libprefs.so
│   │   ├── librmi.so
│   │   ├── libsaproc.so
│   │   ├── libsctp.so
│   │   ├── libsplashscreen.so
│   │   ├── libsvml.so
│   │   ├── libsyslookup.so
│   │   ├── libverify.so
│   │   ├── libzip.so
│   │   ├── modules
│   │   ├── psfontj2d.properties
│   │   ├── psfont.properties.ja
│   │   ├── security
│   │   │   ├── blocked.certs
│   │   │   ├── cacerts
│   │   │   ├── default.policy
│   │   │   └── public_suffix_list.dat
│   │   ├── server
│   │   │   ├── classes.jsa
│   │   │   ├── classes_nocoops.jsa
│   │   │   ├── libjsig.so
│   │   │   └── libjvm.so
│   │   └── tzdb.dat
│   ├── man
│   │   └── man1
│   │       ├── jar.1
│   │       ├── jarsigner.1
│   │       ├── java.1
│   │       ├── javac.1
│   │       ├── javadoc.1
│   │       ├── javap.1
│   │       ├── jcmd.1
│   │       ├── jconsole.1
│   │       ├── jdb.1
│   │       ├── jdeprscan.1
│   │       ├── jdeps.1
│   │       ├── jfr.1
│   │       ├── jhsdb.1
│   │       ├── jinfo.1
│   │       ├── jlink.1
│   │       ├── jmap.1
│   │       ├── jmod.1
│   │       ├── jpackage.1
│   │       ├── jps.1
│   │       ├── jrunscript.1
│   │       ├── jshell.1
│   │       ├── jstack.1
│   │       ├── jstat.1
│   │       ├── jstatd.1
│   │       ├── keytool.1
│   │       ├── rmiregistry.1
│   │       └── serialver.1
│   ├── NOTICE
│   └── release
├── lib
│   ├── elasticsearch-7.16.2.jar
│   ├── elasticsearch-cli-7.16.2.jar
│   ├── elasticsearch-core-7.16.2.jar
│   ├── elasticsearch-geo-7.16.2.jar
│   ├── elasticsearch-launchers-7.16.2.jar
│   ├── elasticsearch-log4j-7.16.2.jar
│   ├── elasticsearch-lz4-7.16.2.jar
│   ├── elasticsearch-plugin-classloader-7.16.2.jar
│   ├── elasticsearch-secure-sm-7.16.2.jar
│   ├── elasticsearch-x-content-7.16.2.jar
│   ├── HdrHistogram-2.1.9.jar
│   ├── hppc-0.8.1.jar
│   ├── jackson-core-2.10.4.jar
│   ├── jackson-dataformat-cbor-2.10.4.jar
│   ├── jackson-dataformat-smile-2.10.4.jar
│   ├── jackson-dataformat-yaml-2.10.4.jar
│   ├── java-version-checker-7.16.2.jar
│   ├── jna-5.10.0.jar
│   ├── joda-time-2.10.10.jar
│   ├── jopt-simple-5.0.2.jar
│   ├── log4j-api-2.17.0.jar
│   ├── lucene-analyzers-common-8.10.1.jar
│   ├── lucene-backward-codecs-8.10.1.jar
│   ├── lucene-core-8.10.1.jar
│   ├── lucene-grouping-8.10.1.jar
│   ├── lucene-highlighter-8.10.1.jar
│   ├── lucene-join-8.10.1.jar
│   ├── lucene-memory-8.10.1.jar
│   ├── lucene-misc-8.10.1.jar
│   ├── lucene-queries-8.10.1.jar
│   ├── lucene-queryparser-8.10.1.jar
│   ├── lucene-sandbox-8.10.1.jar
│   ├── lucene-spatial3d-8.10.1.jar
│   ├── lucene-suggest-8.10.1.jar
│   ├── lz4-java-1.8.0.jar
│   ├── snakeyaml-1.26.jar
│   ├── t-digest-3.2.jar
│   └── tools
│       ├── geoip-cli
│       │   └── elasticsearch-geoip-cli-7.16.2.jar
│       ├── keystore-cli
│       │   └── keystore-cli-7.16.2.jar
│       ├── plugin-cli
│       │   ├── bc-fips-1.0.2.jar
│       │   ├── bcpg-fips-1.0.4.jar
│       │   └── elasticsearch-plugin-cli-7.16.2.jar
│       └── security-cli
│           ├── bcpkix-jdk15on-1.64.jar
│           ├── bcprov-jdk15on-1.64.jar
│           └── elasticsearch-security-cli-7.16.2.jar
├── LICENSE.txt
├── logs
│   ├── elasticsearch_audit.json
│   ├── elasticsearch_deprecation.json
│   ├── elasticsearch_deprecation.log
│   ├── elasticsearch_index_indexing_slowlog.json
│   ├── elasticsearch_index_indexing_slowlog.log
│   ├── elasticsearch_index_search_slowlog.json
│   ├── elasticsearch_index_search_slowlog.log
│   ├── elasticsearch.log
│   ├── elasticsearch_server.json
│   ├── gc.log
│   ├── gc.log.00
│   ├── gc.log.01
│   ├── gc.log.02
│   └── gc.log.0.current
├── modules
│   ├── aggs-matrix-stats
│   │   ├── aggs-matrix-stats-client-7.16.2.jar
│   │   └── plugin-descriptor.properties
│   ├── analysis-common
│   │   ├── analysis-common-7.16.2.jar
│   │   └── plugin-descriptor.properties
│   ├── constant-keyword
│   │   ├── constant-keyword-7.16.2.jar
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   └── plugin-descriptor.properties
│   ├── frozen-indices
│   │   ├── frozen-indices-7.16.2.jar
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   └── plugin-descriptor.properties
│   ├── ingest-common
│   │   ├── elasticsearch-dissect-7.16.2.jar
│   │   ├── elasticsearch-grok-7.16.2.jar
│   │   ├── httpclient-4.5.10.jar
│   │   ├── httpcore-4.4.12.jar
│   │   ├── ingest-common-7.16.2.jar
│   │   ├── jcodings-1.0.44.jar
│   │   ├── joni-2.1.29.jar
│   │   └── plugin-descriptor.properties
│   ├── ingest-geoip
│   │   ├── geoip2-2.13.1.jar
│   │   ├── GeoLite2-ASN.mmdb
│   │   ├── GeoLite2-City.mmdb
│   │   ├── GeoLite2-Country.mmdb
│   │   ├── ingest-geoip-7.16.2.jar
│   │   ├── jackson-annotations-2.10.4.jar
│   │   ├── jackson-databind-2.10.4.jar
│   │   ├── maxmind-db-1.3.1.jar
│   │   ├── plugin-descriptor.properties
│   │   └── plugin-security.policy
│   ├── ingest-user-agent
│   │   ├── ingest-user-agent-7.16.2.jar
│   │   └── plugin-descriptor.properties
│   ├── kibana
│   │   ├── commons-codec-1.11.jar
│   │   ├── commons-logging-1.1.3.jar
│   │   ├── elasticsearch-rest-client-7.16.2.jar
│   │   ├── elasticsearch-ssl-config-7.16.2.jar
│   │   ├── httpasyncclient-4.1.4.jar
│   │   ├── httpclient-4.5.10.jar
│   │   ├── httpcore-4.4.12.jar
│   │   ├── httpcore-nio-4.4.12.jar
│   │   ├── kibana-7.16.2.jar
│   │   ├── plugin-descriptor.properties
│   │   └── reindex-client-7.16.2.jar
│   ├── lang-expression
│   │   ├── antlr4-runtime-4.5.1-1.jar
│   │   ├── asm-5.0.4.jar
│   │   ├── asm-commons-5.0.4.jar
│   │   ├── asm-tree-5.0.4.jar
│   │   ├── lang-expression-7.16.2.jar
│   │   ├── lucene-expressions-8.10.1.jar
│   │   ├── plugin-descriptor.properties
│   │   └── plugin-security.policy
│   ├── lang-mustache
│   │   ├── compiler-0.9.6.jar
│   │   ├── lang-mustache-client-7.16.2.jar
│   │   ├── plugin-descriptor.properties
│   │   └── plugin-security.policy
│   ├── lang-painless
│   │   ├── antlr4-runtime-4.5.3.jar
│   │   ├── asm-7.2.jar
│   │   ├── asm-analysis-7.2.jar
│   │   ├── asm-commons-7.2.jar
│   │   ├── asm-tree-7.2.jar
│   │   ├── asm-util-7.2.jar
│   │   ├── lang-painless-7.16.2.jar
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   └── spi
│   │       └── elasticsearch-scripting-painless-spi-7.16.2.jar
│   ├── legacy-geo
│   │   ├── jts-core-1.15.0.jar
│   │   ├── legacy-geo-7.16.2.jar
│   │   ├── lucene-spatial-extras-8.10.1.jar
│   │   ├── plugin-descriptor.properties
│   │   └── spatial4j-0.7.jar
│   ├── mapper-extras
│   │   ├── mapper-extras-client-7.16.2.jar
│   │   └── plugin-descriptor.properties
│   ├── mapper-version
│   │   ├── LICENSE.txt
│   │   ├── mapper-version-7.16.2.jar
│   │   ├── NOTICE.txt
│   │   └── plugin-descriptor.properties
│   ├── parent-join
│   │   ├── parent-join-client-7.16.2.jar
│   │   └── plugin-descriptor.properties
│   ├── percolator
│   │   ├── percolator-client-7.16.2.jar
│   │   └── plugin-descriptor.properties
│   ├── rank-eval
│   │   ├── plugin-descriptor.properties
│   │   └── rank-eval-client-7.16.2.jar
│   ├── reindex
│   │   ├── commons-codec-1.11.jar
│   │   ├── commons-logging-1.1.3.jar
│   │   ├── elasticsearch-rest-client-7.16.2.jar
│   │   ├── elasticsearch-ssl-config-7.16.2.jar
│   │   ├── httpasyncclient-4.1.4.jar
│   │   ├── httpclient-4.5.10.jar
│   │   ├── httpcore-4.4.12.jar
│   │   ├── httpcore-nio-4.4.12.jar
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   └── reindex-client-7.16.2.jar
│   ├── repositories-metering-api
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── repositories-metering-api-7.16.2.jar
│   ├── repository-encrypted
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   └── repository-encrypted-7.16.2.jar
│   ├── repository-url
│   │   ├── commons-codec-1.11.jar
│   │   ├── commons-logging-1.1.3.jar
│   │   ├── httpclient-4.5.10.jar
│   │   ├── httpcore-4.4.12.jar
│   │   ├── log4j-1.2-api-2.17.0.jar
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   └── repository-url-7.16.2.jar
│   ├── runtime-fields-common
│   │   ├── elasticsearch-dissect-7.16.2.jar
│   │   ├── elasticsearch-grok-7.16.2.jar
│   │   ├── jcodings-1.0.44.jar
│   │   ├── joni-2.1.29.jar
│   │   ├── plugin-descriptor.properties
│   │   └── runtime-fields-common-7.16.2.jar
│   ├── searchable-snapshots
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   ├── preallocate-7.16.2.jar
│   │   └── searchable-snapshots-7.16.2.jar
│   ├── search-business-rules
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── search-business-rules-7.16.2.jar
│   ├── snapshot-repo-test-kit
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── snapshot-repo-test-kit-7.16.2.jar
│   ├── spatial
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── spatial-7.16.2.jar
│   ├── transform
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── transform-7.16.2.jar
│   ├── transport-netty4
│   │   ├── netty-buffer-4.1.66.Final.jar
│   │   ├── netty-codec-4.1.66.Final.jar
│   │   ├── netty-codec-http-4.1.66.Final.jar
│   │   ├── netty-common-4.1.66.Final.jar
│   │   ├── netty-handler-4.1.66.Final.jar
│   │   ├── netty-resolver-4.1.66.Final.jar
│   │   ├── netty-transport-4.1.66.Final.jar
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   └── transport-netty4-client-7.16.2.jar
│   ├── unsigned-long
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── unsigned-long-7.16.2.jar
│   ├── vectors
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── vectors-7.16.2.jar
│   ├── vector-tile
│   │   ├── LICENSE.txt
│   │   ├── log4j-slf4j-impl-2.17.0.jar
│   │   ├── mapbox-vector-tile-3.1.0.jar
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── protobuf-java-3.14.0.jar
│   │   ├── slf4j-api-1.6.2.jar
│   │   └── vector-tile-7.16.2.jar
│   ├── wildcard
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── wildcard-7.16.2.jar
│   ├── x-pack-aggregate-metric
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── x-pack-aggregate-metric-7.16.2.jar
│   ├── x-pack-analytics
│   │   ├── commons-math3-3.6.1.jar
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   └── x-pack-analytics-7.16.2.jar
│   ├── x-pack-async
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   └── x-pack-async-7.16.2.jar
│   ├── x-pack-async-search
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   └── x-pack-async-search-7.16.2.jar
│   ├── x-pack-autoscaling
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── x-pack-autoscaling-7.16.2.jar
│   ├── x-pack-ccr
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   └── x-pack-ccr-7.16.2.jar
│   ├── x-pack-core
│   │   ├── commons-codec-1.11.jar
│   │   ├── commons-logging-1.1.3.jar
│   │   ├── elasticsearch-nio-7.16.2.jar
│   │   ├── elasticsearch-ssl-config-7.16.2.jar
│   │   ├── httpasyncclient-4.1.4.jar
│   │   ├── httpclient-4.5.10.jar
│   │   ├── httpcore-4.4.12.jar
│   │   ├── httpcore-nio-4.4.12.jar
│   │   ├── LICENSE.txt
│   │   ├── log4j-1.2-api-2.17.0.jar
│   │   ├── netty-buffer-4.1.66.Final.jar
│   │   ├── netty-codec-4.1.66.Final.jar
│   │   ├── netty-codec-http-4.1.66.Final.jar
│   │   ├── netty-common-4.1.66.Final.jar
│   │   ├── netty-handler-4.1.66.Final.jar
│   │   ├── netty-resolver-4.1.66.Final.jar
│   │   ├── netty-transport-4.1.66.Final.jar
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   ├── transport-netty4-client-7.16.2.jar
│   │   ├── transport-nio-client-7.16.2.jar
│   │   ├── unboundid-ldapsdk-4.0.8.jar
│   │   └── x-pack-core-7.16.2.jar
│   ├── x-pack-data-streams
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── x-pack-data-streams-7.16.2.jar
│   ├── x-pack-deprecation
│   │   ├── elasticsearch-rest-client-7.16.2.jar
│   │   ├── elasticsearch-rest-client-sniffer-7.16.2.jar
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   ├── x-pack-deprecation-7.16.2.jar
│   │   └── x-pack-monitoring-7.16.2.jar
│   ├── x-pack-enrich
│   │   ├── elasticsearch-rest-client-7.16.2.jar
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── reindex-client-7.16.2.jar
│   │   └── x-pack-enrich-7.16.2.jar
│   ├── x-pack-eql
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   └── x-pack-eql-7.16.2.jar
│   ├── x-pack-fleet
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── x-pack-fleet-7.16.2.jar
│   ├── x-pack-graph
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   └── x-pack-graph-7.16.2.jar
│   ├── x-pack-identity-provider
│   │   ├── cryptacular-1.2.4.jar
│   │   ├── guava-19.0.jar
│   │   ├── httpclient-cache-4.5.10.jar
│   │   ├── java-support-7.5.1.jar
│   │   ├── LICENSE.txt
│   │   ├── log4j-slf4j-impl-2.17.0.jar
│   │   ├── metrics-core-3.2.2.jar
│   │   ├── NOTICE.txt
│   │   ├── opensaml-core-3.4.5.jar
│   │   ├── opensaml-messaging-api-3.4.5.jar
│   │   ├── opensaml-messaging-impl-3.4.5.jar
│   │   ├── opensaml-profile-api-3.4.5.jar
│   │   ├── opensaml-profile-impl-3.4.5.jar
│   │   ├── opensaml-saml-api-3.4.5.jar
│   │   ├── opensaml-saml-impl-3.4.5.jar
│   │   ├── opensaml-security-api-3.4.5.jar
│   │   ├── opensaml-security-impl-3.4.5.jar
│   │   ├── opensaml-soap-api-3.4.5.jar
│   │   ├── opensaml-soap-impl-3.4.5.jar
│   │   ├── opensaml-storage-api-3.4.5.jar
│   │   ├── opensaml-storage-impl-3.4.5.jar
│   │   ├── opensaml-xmlsec-api-3.4.5.jar
│   │   ├── opensaml-xmlsec-impl-3.4.5.jar
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   ├── slf4j-api-1.6.2.jar
│   │   ├── xmlsec-2.1.4.jar
│   │   └── x-pack-identity-provider-7.16.2.jar
│   ├── x-pack-ilm
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── x-pack-ilm-7.16.2.jar
│   ├── x-pack-logstash
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   └── x-pack-logstash-7.16.2.jar
│   ├── x-pack-ml
│   │   ├── commons-math3-3.6.1.jar
│   │   ├── elasticsearch-grok-7.16.2.jar
│   │   ├── jcodings-1.0.44.jar
│   │   ├── joni-2.1.29.jar
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── platform
│   │   │   └── linux-x86_64
│   │   │       ├── bin
│   │   │       │   ├── autodetect
│   │   │       │   ├── categorize
│   │   │       │   ├── controller
│   │   │       │   ├── data_frame_analyzer
│   │   │       │   └── normalize
│   │   │       ├── lib
│   │   │       │   ├── libboost_atomic-gcc7-mt-x64-1_71.so.1.71.0
│   │   │       │   ├── libboost_chrono-gcc7-mt-x64-1_71.so.1.71.0
│   │   │       │   ├── libboost_date_time-gcc7-mt-x64-1_71.so.1.71.0
│   │   │       │   ├── libboost_filesystem-gcc7-mt-x64-1_71.so.1.71.0
│   │   │       │   ├── libboost_iostreams-gcc7-mt-x64-1_71.so.1.71.0
│   │   │       │   ├── libboost_log-gcc7-mt-x64-1_71.so.1.71.0
│   │   │       │   ├── libboost_log_setup-gcc7-mt-x64-1_71.so.1.71.0
│   │   │       │   ├── libboost_program_options-gcc7-mt-x64-1_71.so.1.71.0
│   │   │       │   ├── libboost_regex-gcc7-mt-x64-1_71.so.1.71.0
│   │   │       │   ├── libboost_system-gcc7-mt-x64-1_71.so.1.71.0
│   │   │       │   ├── libboost_thread-gcc7-mt-x64-1_71.so.1.71.0
│   │   │       │   ├── libgcc_s.so.1
│   │   │       │   ├── libMlApi.so
│   │   │       │   ├── libMlCore.so
│   │   │       │   ├── libMlMathsAnalytics.so
│   │   │       │   ├── libMlMathsCommon.so
│   │   │       │   ├── libMlMathsTimeSeries.so
│   │   │       │   ├── libMlModel.so
│   │   │       │   ├── libstdc++.so.6
│   │   │       │   └── libxml2.so.2
│   │   │       └── resources
│   │   │           └── ml-en.dict
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   ├── plugin-security-test.policy
│   │   ├── super-csv-2.4.0.jar
│   │   └── x-pack-ml-7.16.2.jar
│   ├── x-pack-monitoring
│   │   ├── elasticsearch-rest-client-7.16.2.jar
│   │   ├── elasticsearch-rest-client-sniffer-7.16.2.jar
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   └── x-pack-monitoring-7.16.2.jar
│   ├── x-pack-ql
│   │   ├── antlr4-runtime-4.9.2.jar
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── x-pack-ql-7.16.2.jar
│   ├── x-pack-rollup
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── x-pack-rollup-7.16.2.jar
│   ├── x-pack-security
│   │   ├── accessors-smart-2.4.2.jar
│   │   ├── asm-9.1.jar
│   │   ├── cryptacular-1.2.4.jar
│   │   ├── guava-19.0.jar
│   │   ├── httpclient-cache-4.5.10.jar
│   │   ├── jakarta.mail-1.6.3.jar
│   │   ├── java-support-7.5.1.jar
│   │   ├── jcip-annotations-1.0.jar
│   │   ├── json-smart-2.4.2.jar
│   │   ├── lang-tag-1.4.4.jar
│   │   ├── LICENSE.txt
│   │   ├── log4j-slf4j-impl-2.17.0.jar
│   │   ├── metrics-core-3.2.2.jar
│   │   ├── nimbus-jose-jwt-9.8.1.jar
│   │   ├── NOTICE.txt
│   │   ├── oauth2-oidc-sdk-9.3.1.jar
│   │   ├── opensaml-core-3.4.5.jar
│   │   ├── opensaml-messaging-api-3.4.5.jar
│   │   ├── opensaml-messaging-impl-3.4.5.jar
│   │   ├── opensaml-profile-api-3.4.5.jar
│   │   ├── opensaml-profile-impl-3.4.5.jar
│   │   ├── opensaml-saml-api-3.4.5.jar
│   │   ├── opensaml-saml-impl-3.4.5.jar
│   │   ├── opensaml-security-api-3.4.5.jar
│   │   ├── opensaml-security-impl-3.4.5.jar
│   │   ├── opensaml-soap-api-3.4.5.jar
│   │   ├── opensaml-soap-impl-3.4.5.jar
│   │   ├── opensaml-storage-api-3.4.5.jar
│   │   ├── opensaml-storage-impl-3.4.5.jar
│   │   ├── opensaml-xmlsec-api-3.4.5.jar
│   │   ├── opensaml-xmlsec-impl-3.4.5.jar
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   ├── slf4j-api-1.6.2.jar
│   │   ├── xmlsec-2.1.4.jar
│   │   └── x-pack-security-7.16.2.jar
│   ├── x-pack-shutdown
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── x-pack-shutdown-7.16.2.jar
│   ├── x-pack-sql
│   │   ├── aggs-matrix-stats-client-7.16.2.jar
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── plugin-security.policy
│   │   ├── sql-action-7.16.2.jar
│   │   ├── sql-proto-7.16.2.jar
│   │   └── x-pack-sql-7.16.2.jar
│   ├── x-pack-stack
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── x-pack-stack-7.16.2.jar
│   ├── x-pack-text-structure
│   │   ├── elasticsearch-grok-7.16.2.jar
│   │   ├── icu4j-62.1.jar
│   │   ├── jcodings-1.0.44.jar
│   │   ├── joni-2.1.29.jar
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   ├── super-csv-2.4.0.jar
│   │   └── x-pack-text-structure-7.16.2.jar
│   ├── x-pack-voting-only-node
│   │   ├── LICENSE.txt
│   │   ├── NOTICE.txt
│   │   ├── plugin-descriptor.properties
│   │   └── x-pack-voting-only-node-7.16.2.jar
│   └── x-pack-watcher
│       ├── failureaccess-1.0.1.jar
│       ├── guava-27.1-jre.jar
│       ├── jakarta.activation-1.2.1.jar
│       ├── jakarta.mail-1.6.4.jar
│       ├── LICENSE.txt
│       ├── NOTICE.txt
│       ├── owasp-java-html-sanitizer-20211018.2.jar
│       ├── plugin-descriptor.properties
│       ├── plugin-security.policy
│       └── x-pack-watcher-7.16.2.jar
├── NOTICE.txt
├── plugins
└── README.asciidoc

190 directories, 1049 files
eugenewu@ubt20:/opt/elasticsearch-7.16.2$
./config/elasticsearch.yml 节点配置文件
/opt/elasticsearch-7.16.2/config$ more elasticsearch.yml
# ======================== Elasticsearch Configuration =========================
#
# NOTE: Elasticsearch comes with reasonable defaults for most settings.
#       Before you set out to tweak and tune the configuration, make sure you
#       understand what are you trying to accomplish and the consequences.
#
# The primary way of configuring a node is via this file. This template lists
# the most important settings you may want to configure for a production cluster.
#
# Please consult the documentation for further information on configuration options:
# https://www.elastic.co/guide/en/elasticsearch/reference/index.html
#
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
#cluster.name: my-application
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
#node.name: node-1
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
#
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
#path.data: /path/to/data
#
# Path to log files:
#
#path.logs: /path/to/logs
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
#bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# Elasticsearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# By default Elasticsearch is only accessible on localhost. Set a different
# address here to expose this node on the network:
#
#network.host: 192.168.0.1
#
# By default Elasticsearch listens for HTTP traffic on the first free port it
# finds starting at 9200. Set a specific HTTP port here:
#
#http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
#discovery.seed_hosts: ["host1", "host2"]
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
#cluster.initial_master_nodes: ["node-1", "node-2"]
#
# For more information, consult the discovery and cluster formation module documentation.
#
# ---------------------------------- Various -----------------------------------
#
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true
#
# ---------------------------------- Security ----------------------------------
#
#                                 *** WARNING ***
#
# Elasticsearch security features are not enabled by default.
# These features are free, but require configuration changes to enable them.
# This means that users don’t have to provide credentials and can get full access
# to the cluster. Network connections are also not encrypted.
#
# To protect your data, we strongly encourage you to enable the Elasticsearch security features.
# Refer to the following documentation for instructions.
#
# https://www.elastic.co/guide/en/elasticsearch/reference/7.16/configuring-stack-security.html
./config/jvm.options jvm参数配置文件
:/opt/elasticsearch-7.16.2/config$ more jvm.options
################################################################
##
## JVM configuration
##
################################################################
##
## WARNING: DO NOT EDIT THIS FILE. If you want to override the
## JVM options in this file, or set any additional options, you
## should create one or more files in the jvm.options.d
## directory containing your adjustments.
##
## See https://www.elastic.co/guide/en/elasticsearch/reference/7.16/jvm-options.html
## for more information.
##
################################################################



################################################################
## importANT: JVM heap size
################################################################
##
## The heap size is automatically configured by Elasticsearch
## based on the available memory in your system and the roles
## each node is configured to fulfill. If specifying heap is
## required, it should be done through a file in jvm.options.d,
## and the min and max should be set to the same value. For
## example, to set the heap to 4 GB, create a new file in the
## jvm.options.d directory containing these lines:
##
## -Xms4g
## -Xmx4g
##
## See https://www.elastic.co/guide/en/elasticsearch/reference/7.16/heap-size.html
## for more information
##
################################################################

################################################################
## Expert settings
################################################################
##
## All settings below here are considered expert settings. Do
## not adjust them unless you understand what you are doing. Do
## not edit them in this file; instead, create a new file in the
## jvm.options.d directory containing your adjustments.
##
################################################################

## GC configuration
8-13:-XX:+UseConcMarkSweepGC
8-13:-XX:CMSInitiatingOccupancyFraction=75
8-13:-XX:+UseCMSInitiatingOccupancyonly

## G1GC Configuration
# NOTE: G1 GC is only supported on JDK version 10 or later
# to use G1GC, uncomment the next two lines and update the version on the
# following three lines to your version of the JDK
# 10-13:-XX:-UseConcMarkSweepGC
# 10-13:-XX:-UseCMSInitiatingOccupancyonly
14-:-XX:+UseG1GC

## JVM temporary directory
-Djava.io.tmpdir=${ES_TMPDIR}

## heap dumps

# generate a heap dump when an allocation from the Java heap fails; heap dumps
# are created in the working directory of the JVM unless an alternative path is
# specified
-XX:+HeapDumponOutOfMemoryError

# exit right after heap dump on out of memory error. Recommended to also use
# on java 8 for supported versions (8u92+).
9-:-XX:+ExitonOutOfMemoryError

# specify an alternative path for heap dumps; ensure the directory exists and
# has sufficient space
-XX:HeapDumpPath=data

# specify an alternative path for JVM fatal error logs
-XX:ErrorFile=logs/hs_err_pid%p.log

## JDK 8 GC logging
8:-XX:+PrintGCDetails
8:-XX:+PrintGCDateStamps
8:-XX:+PrintTenuringDistribution
8:-XX:+PrintGCApplicationStoppedTime
8:-Xloggc:logs/gc.log
8:-XX:+UseGCLogFileRotation
8:-XX:NumberOfGCLogFiles=32
8:-XX:GCLogFileSize=64m

# JDK 9+ GC logging
9-:-Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m
./bin/elasticsearch 启动脚本
:/opt/elasticsearch-7.16.2/bin$ more  elasticsearch
#!/bin/bash

# ConTROLLING STARTUP:
#
# This script relies on a few environment variables to determine startup
# behavior, those variables are:
#
#   ES_PATH_CONF -- Path to config directory
#   ES_JAVA_OPTS -- External Java Opts on top of the defaults set
#
# Optionally, exact memory values can be set using the `ES_JAVA_OPTS`. Example
# values are "512m", and "10g".
#
#   ES_JAVA_OPTS="-Xms8g -Xmx8g" ./bin/elasticsearch

source "`dirname "$0"`"/elasticsearch-env

CHECK_KEYSTORE=true
DAEMONIZE=false
for option in "$@"; do
  case "$option" in
    -h|--help|-V|--version)
      CHECK_KEYSTORE=false
      ;;
    -d|--daemonize)
      DAEMONIZE=true
      ;;
  esac
done

if [ -z "$ES_TMPDIR" ]; then
  ES_TMPDIR=`"$JAVA" "$XSHARE" -cp "$ES_CLASSPATH" org.elasticsearch.tools.launchers.TempDirectory`
fi

if [ -z "$LIBFFI_TMPDIR" ]; then
  LIBFFI_TMPDIR="$ES_TMPDIR"
  export LIBFFI_TMPDIR
fi

# get keystore password before setting java options to avoid
# conflicting GC configurations for the keystore tools
unset KEYSTORE_PASSWORD
KEYSTORE_PASSWORD=
if [[ $CHECK_KEYSTORE = true ]] 
    && bin/elasticsearch-keystore has-passwd --silent
then
  if ! read -s -r -p "Elasticsearch keystore password: " KEYSTORE_PASSWORD ; then
    echo "Failed to read keystore password on console" 1>&2
    exit 1
  fi
fi

# The JVM options parser produces the final JVM options to start Elasticsearch.
# It does this by incorporating JVM options in the following way:
#   - first, system JVM options are applied (these are hardcoded options in the
#     parser)
#   - second, JVM options are read from jvm.options and jvm.options.d/*.options
#   - third, JVM options from ES_JAVA_OPTS are applied
#   - fourth, ergonomic JVM options are applied
ES_JAVA_OPTS=`export ES_TMPDIR; "$JAVA" "$XSHARE" -cp "$ES_CLASSPATH" org.elasticsearch.tools.launchers.JvmOptionsParser "$ES_PATH_CONF"
"$ES_HOME/plugins"`

# manual parsing to find out, if process should be detached
if [[ $DAEMONIZE = false ]]; then
  exec 
    "$JAVA" 
    "$XSHARE" 
    $ES_JAVA_OPTS 
    -Des.path.home="$ES_HOME" 
    -Des.path.conf="$ES_PATH_CONF" 
    -Des.distribution.flavor="$ES_DISTRIBUTION_FLAVOR" 
    -Des.distribution.type="$ES_DISTRIBUTION_TYPE" 
    -Des.bundled_jdk="$ES_BUNDLED_JDK" 
    -cp "$ES_CLASSPATH" 
    org.elasticsearch.bootstrap.Elasticsearch 
    "$@" <<<"$KEYSTORE_PASSWORD"
else
  exec 
    "$JAVA" 
    "$XSHARE" 
    $ES_JAVA_OPTS 
    -Des.path.home="$ES_HOME" 
    -Des.path.conf="$ES_PATH_CONF" 
    -Des.distribution.flavor="$ES_DISTRIBUTION_FLAVOR" 
    -Des.distribution.type="$ES_DISTRIBUTION_TYPE" 
    -Des.bundled_jdk="$ES_BUNDLED_JDK" 
    -cp "$ES_CLASSPATH" 
    org.elasticsearch.bootstrap.Elasticsearch 
    "$@" 
    <<<"$KEYSTORE_PASSWORD" &
  retval=$?
  pid=$!
  [ $retval -eq 0 ] || exit $retval
  if [ ! -z "$ES_STARTUP_SLEEP_TIME" ]; then
    sleep $ES_STARTUP_SLEEP_TIME
  fi
  if ! ps -p $pid > /dev/null ; then
    exit 1
  fi
  exit 0
fi

exit $?

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5706701.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存