```java
[root@localhost ~]# cd /usr/web
[root@localhost web]# ls
elasticsearch
[root@localhost web]# cd elasticsearch
[root@localhost elasticsearch]# ls
elasticsearch-6.6.0 elasticsearch-6.6.0.tar.gz
[root@localhost elasticsearch]# cd elasticsearch-6.6.0/bin
[root@localhost bin]# ls
elasticsearch elasticsearch-migrate.bat elasticsearch-syskeygen
elasticsearch.bat elasticsearch-plugin elasticsearch-syskeygen.bat
elasticsearch-certgen elasticsearch-plugin.bat elasticsearch-translog
elasticsearch-certgen.bat elasticsearch-saml-metadata elasticsearch-translog.bat
elasticsearch-certutil elasticsearch-saml-metadata.bat elasticsearch-users
elasticsearch-certutil.bat elasticsearch-service.bat elasticsearch-users.bat
elasticsearch-cli elasticsearch-service-mgr.exe x-pack
elasticsearch-cli.bat elasticsearch-service-x64.exe x-pack-env
elasticsearch-croneval elasticsearch-setup-passwords x-pack-env.bat
elasticsearch-croneval.bat elasticsearch-setup-passwords.bat x-pack-security-env
elasticsearch-env elasticsearch-shard x-pack-security-env.bat
elasticsearch-env.bat elasticsearch-shard.bat x-pack-watcher-env
elasticsearch-keystore elasticsearch-sql-cli x-pack-watcher-env.bat
elasticsearch-keystore.bat elasticsearch-sql-cli-6.6.0.jar
elasticsearch-migrate elasticsearch-sql-cli.bat
[root@localhost bin]# ./plugin install mobz/elasticsearch-head
-bash: ./plugin: 没有那个文件或目录
[root@localhost bin]# su mlwy
[mlwy@localhost bin]$ ./plugin install mobz/elasticsearch-head
bash: ./plugin: 没有那个文件或目录
[mlwy@localhost bin]$ ./plugin install mobz/elasticsearch-head
bash: ./plugin: 没有那个文件或目录
[mlwy@localhost bin]$ cd ..
[mlwy@localhost elasticsearch-6.6.0]$ ls
bin config data lib LICENSE.txt logs modules NOTICE.txt plugins README.textile
[mlwy@localhost elasticsearch-6.6.0]$ cd data
[mlwy@localhost data]$ ls
nodes
[mlwy@localhost data]$ su root
密码:
[root@localhost data]# node -v
bash: node: 未找到命令
[root@localhost data]# npm -v
bash: npm: 未找到命令
[root@localhost data]# cd ..
[root@localhost elasticsearch-6.6.0]# cd /
[root@localhost /]# ls
app boot dev home lib64 mnt opt redis run software sys usr
bin data etc lib media mysql proc root sbin srv tmp var
[root@localhost /]# cd tmp
[root@localhost tmp]# ls
elasticsearch-224866407692436383
elasticsearch-4130137306863589157
elasticsearch-4283718061140420117
elasticsearch-4747334580571502538
elasticsearch-6174793610080633726
elasticsearch-6479969844575330680
elasticsearch-7960872319014834851
hsperfdata_mlwy
hsperfdata_root
mysql.sock
systemd-private-e75a8e85e3ae486fbb3968cf17b6edc5-chronyd.service-fJ9l7I
[root@localhost tmp]#
[root@localhost tmp]#
[root@localhost tmp]# wget -c https://codeload.github.com/mobz/elasticsearch-head/zip/master
bash: wget: 未找到命令
[root@localhost tmp]# cd /usr/web
[root@localhost web]# ls
elasticsearch
[root@localhost web]#
[root@localhost web]#
[root@localhost web]# cd elasticsearch
[root@localhost elasticsearch]# ls
elasticsearch-6.6.0 elasticsearch-6.6.0.tar.gz
[root@localhost elasticsearch]# cd elasticsearch-6.6.0
[root@localhost elasticsearch-6.6.0]# ls
bin config data lib LICENSE.txt logs modules NOTICE.txt plugins README.textile
[root@localhost elasticsearch-6.6.0]# cd plugins
[root@localhost plugins]# ls
[root@localhost plugins]# mkdir ik
[root@localhost plugins]# ls
ik
[root@localhost plugins]# ps -ef | grep elasticsearch
mlwy 8400 8387 1 09:17 pts/1 00:02:05 /usr/java/jdk1.8.0_181/bin/java -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.io.tmpdir=/tmp/elasticsearch-6479969844575330680 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=data -XX:ErrorFile=logs/hs_err_pid%p.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -Xloggc:logs/gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=32 -XX:GCLogFileSize=64m -Des.path.home=/usr/web/elasticsearch/elasticsearch-6.6.0 -Des.path.conf=/usr/web/elasticsearch/elasticsearch-6.6.0/config -Des.distribution.flavor=default -Des.distribution.type=tar -cp /usr/web/elasticsearch/elasticsearch-6.6.0/lib/* org.elasticsearch.bootstrap.Elasticsearch
mlwy 8484 8400 0 09:17 pts/1 00:00:00 /usr/web/elasticsearch/elasticsearch-6.6.0/modules/x-pack-ml/platform/linux-x86_64/bin/controller
root 8822 8786 0 11:55 pts/2 00:00:00 grep --color=auto elasticsearch
[root@localhost plugins]#
[root@localhost plugins]#
[root@localhost plugins]#
[root@localhost plugins]# ls
ik
[root@localhost plugins]# cd ik
[root@localhost ik]#
[root@localhost ik]#
[root@localhost ik]#
[root@localhost ik]# ls
elasticsearch-analysis-ik-6.6.0.zip
[root@localhost ik]#
[root@localhost ik]#
[root@localhost ik]# unzip elasticsearch-analysis-ik-6.6.0.zip
bash: unzip: 未找到命令
[root@localhost ik]# yum install -y unzip zip
已加载插件:fastestmirror
Determining fastest mirrors
* base: mirrors.aliyun.com
* centos-sclo-rh: mirrors.aliyun.com
* centos-sclo-sclo: mirrors.tuna.tsinghua.edu.cn
* extras: mirrors.tuna.tsinghua.edu.cn
* updates: mirrors.tuna.tsinghua.edu.cn
base | 3.6 kB 00:00:00
centos-sclo-rh | 3.0 kB 00:00:00
centos-sclo-sclo | 3.0 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/3): centos-sclo-rh/x86_64/primary_db | 3.0 MB 00:00:00
(2/3): updates/7/x86_64/primary_db | 8.0 MB 00:00:01
(3/3): extras/7/x86_64/primary_db | 236 kB 00:00:01
正在解决依赖关系
--> 正在检查事务
---> 软件包 unzip.x86_64.0.6.0-21.el7 将被 安装
---> 软件包 zip.x86_64.0.3.0-11.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
=======================================================================================================
Package 架构 版本 源 大小
=======================================================================================================
正在安装:
unzip x86_64 6.0-21.el7 base 171 k
zip x86_64 3.0-11.el7 base 260 k
事务概要
=======================================================================================================
安装 2 软件包
总下载量:431 k
安装大小:1.1 M
Downloading packages:
(1/2): zip-3.0-11.el7.x86_64.rpm | 260 kB 00:00:01
(2/2): unzip-6.0-21.el7.x86_64.rpm | 171 kB 00:00:01
-------------------------------------------------------------------------------------------------------
总计 214 kB/s | 431 kB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : zip-3.0-11.el7.x86_64 1/2
正在安装 : unzip-6.0-21.el7.x86_64 2/2
验证中 : unzip-6.0-21.el7.x86_64 1/2
验证中 : zip-3.0-11.el7.x86_64 2/2
已安装:
unzip.x86_64 0:6.0-21.el7 zip.x86_64 0:3.0-11.el7
完毕!
[root@localhost ik]# unzip elasticsearch-analysis-ik-6.6.0.zip
Archive: elasticsearch-analysis-ik-6.6.0.zip
creating: config/
inflating: config/quantifier.dic
inflating: config/preposition.dic
inflating: config/extra_single_word_low_freq.dic
inflating: config/stopword.dic
inflating: config/suffix.dic
inflating: config/extra_main.dic
inflating: config/IKAnalyzer.cfg.xml
inflating: config/main.dic
inflating: config/extra_stopword.dic
inflating: config/extra_single_word_full.dic
inflating: config/surname.dic
inflating: config/extra_single_word.dic
inflating: plugin-descriptor.properties
inflating: plugin-security.policy
inflating: elasticsearch-analysis-ik-6.6.0.jar
inflating: httpclient-4.5.2.jar
inflating: httpcore-4.4.4.jar
inflating: commons-logging-1.2.jar
inflating: commons-codec-1.9.jar
[root@localhost ik]# ps -ef | grep elasticsearch
mlwy 8400 8387 1 09:17 pts/1 00:02:06 /usr/java/jdk1.8.0_181/bin/java -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.io.tmpdir=/tmp/elasticsearch-6479969844575330680 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=data -XX:ErrorFile=logs/hs_err_pid%p.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -Xloggc:logs/gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=32 -XX:GCLogFileSize=64m -Des.path.home=/usr/web/elasticsearch/elasticsearch-6.6.0 -Des.path.conf=/usr/web/elasticsearch/elasticsearch-6.6.0/config -Des.distribution.flavor=default -Des.distribution.type=tar -cp /usr/web/elasticsearch/elasticsearch-6.6.0/lib/* org.elasticsearch.bootstrap.Elasticsearch
mlwy 8484 8400 0 09:17 pts/1 00:00:00 /usr/web/elasticsearch/elasticsearch-6.6.0/modules/x-pack-ml/platform/linux-x86_64/bin/controller
root 8863 8786 0 11:58 pts/2 00:00:00 grep --color=auto elasticsearch
[root@localhost ik]#
[root@localhost ik]#
[root@localhost ik]# kill -9 8400
[root@localhost ik]# ps -ef | grep elasticsearch
root 8866 8786 0 11:58 pts/2 00:00:00 grep --color=auto elasticsearch
[root@localhost ik]# cd ..
[root@localhost plugins]# cd ..
[root@localhost elasticsearch-6.6.0]# ls
bin config data lib LICENSE.txt logs modules NOTICE.txt plugins README.textile
[root@localhost elasticsearch-6.6.0]# cd bin
[root@localhost bin]# ls
elasticsearch elasticsearch-migrate.bat elasticsearch-syskeygen
elasticsearch.bat elasticsearch-plugin elasticsearch-syskeygen.bat
elasticsearch-certgen elasticsearch-plugin.bat elasticsearch-translog
elasticsearch-certgen.bat elasticsearch-saml-metadata elasticsearch-translog.bat
elasticsearch-certutil elasticsearch-saml-metadata.bat elasticsearch-users
elasticsearch-certutil.bat elasticsearch-service.bat elasticsearch-users.bat
elasticsearch-cli elasticsearch-service-mgr.exe x-pack
elasticsearch-cli.bat elasticsearch-service-x64.exe x-pack-env
elasticsearch-croneval elasticsearch-setup-passwords x-pack-env.bat
elasticsearch-croneval.bat elasticsearch-setup-passwords.bat x-pack-security-env
elasticsearch-env elasticsearch-shard x-pack-security-env.bat
elasticsearch-env.bat elasticsearch-shard.bat x-pack-watcher-env
elasticsearch-keystore elasticsearch-sql-cli x-pack-watcher-env.bat
elasticsearch-keystore.bat elasticsearch-sql-cli-6.6.0.jar
elasticsearch-migrate elasticsearch-sql-cli.bat
[root@localhost bin]#
[root@localhost bin]# ./elasticsearch
[2021-05-10T11:59:20,951][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [unknown] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.RuntimeException: can not run elasticsearch as root
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-6.6.0.jar:6.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-6.6.0.jar:6.6.0]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.6.0.jar:6.6.0]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.6.0.jar:6.6.0]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.6.0.jar:6.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) ~[elasticsearch-6.6.0.jar:6.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) ~[elasticsearch-6.6.0.jar:6.6.0]
Caused by: java.lang.RuntimeException: can not run elasticsearch as root
at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:103) ~[elasticsearch-6.6.0.jar:6.6.0]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:170) ~[elasticsearch-6.6.0.jar:6.6.0]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-6.6.0.jar:6.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-6.6.0.jar:6.6.0]
... 6 more
[root@localhost bin]# su mlwy
[mlwy@localhost bin]$ ./elasticsearch
[2021-05-10T11:59:34,201][INFO ][o.e.e.NodeEnvironment ] [wYDWdJJ] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [43.9gb], net total_space [49.9gb], types [rootfs]
[2021-05-10T11:59:34,209][INFO ][o.e.e.NodeEnvironment ] [wYDWdJJ] heap size [989.8mb], compressed ordinary object pointers [true]
[2021-05-10T11:59:34,262][INFO ][o.e.n.Node ] [wYDWdJJ] node name derived from node ID [wYDWdJJlSmWA9wJ3JEYq8g]; set [node.name] to override
[2021-05-10T11:59:34,263][INFO ][o.e.n.Node ] [wYDWdJJ] version[6.6.0], pid[8974], build[default/tar/a9861f4/2019-01-24T11:27:09.439740Z], OS[Linux/3.10.0-862.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_181/25.181-b13]
[2021-05-10T11:59:34,264][INFO ][o.e.n.Node ] [wYDWdJJ] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch-7730626365446050445, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Des.path.home=/usr/web/elasticsearch/elasticsearch-6.6.0, -Des.path.conf=/usr/web/elasticsearch/elasticsearch-6.6.0/config, -Des.distribution.flavor=default, -Des.distribution.type=tar]
[2021-05-10T11:59:37,995][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [aggs-matrix-stats]
[2021-05-10T11:59:37,996][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [analysis-common]
[2021-05-10T11:59:37,996][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [ingest-common]
[2021-05-10T11:59:37,996][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [lang-expression]
[2021-05-10T11:59:37,996][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [lang-mustache]
[2021-05-10T11:59:37,996][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [lang-painless]
[2021-05-10T11:59:37,997][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [mapper-extras]
[2021-05-10T11:59:37,997][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [parent-join]
[2021-05-10T11:59:37,997][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [percolator]
[2021-05-10T11:59:37,997][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [rank-eval]
[2021-05-10T11:59:37,998][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [reindex]
[2021-05-10T11:59:37,998][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [repository-url]
[2021-05-10T11:59:37,998][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [transport-netty4]
[2021-05-10T11:59:37,998][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [tribe]
[2021-05-10T11:59:37,999][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [x-pack-ccr]
[2021-05-10T11:59:37,999][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [x-pack-core]
[2021-05-10T11:59:37,999][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [x-pack-deprecation]
[2021-05-10T11:59:37,999][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [x-pack-graph]
[2021-05-10T11:59:37,999][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [x-pack-ilm]
[2021-05-10T11:59:38,000][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [x-pack-logstash]
[2021-05-10T11:59:38,000][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [x-pack-ml]
[2021-05-10T11:59:38,000][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [x-pack-monitoring]
[2021-05-10T11:59:38,000][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [x-pack-rollup]
[2021-05-10T11:59:38,000][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [x-pack-security]
[2021-05-10T11:59:38,001][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [x-pack-sql]
[2021-05-10T11:59:38,001][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [x-pack-upgrade]
[2021-05-10T11:59:38,001][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded module [x-pack-watcher]
[2021-05-10T11:59:38,002][INFO ][o.e.p.PluginsService ] [wYDWdJJ] loaded plugin [analysis-ik]
[2021-05-10T11:59:45,906][INFO ][o.e.x.s.a.s.FileRolesStore] [wYDWdJJ] parsed [0] roles from file [/usr/web/elasticsearch/elasticsearch-6.6.0/config/roles.yml]
[2021-05-10T11:59:46,925][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [wYDWdJJ] [controller/9058] [Main.cc@109] controller (64 bit): Version 6.6.0 (Build bbb4919f4d17a5) Copyright (c) 2019 Elasticsearch BV
[2021-05-10T11:59:47,671][DEBUG][o.e.a.ActionModule ] [wYDWdJJ] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2021-05-10T11:59:48,134][INFO ][o.e.d.DiscoveryModule ] [wYDWdJJ] using discovery type [zen] and host providers [settings]
[2021-05-10T11:59:49,956][INFO ][o.e.n.Node ] [wYDWdJJ] initialized
[2021-05-10T11:59:49,956][INFO ][o.e.n.Node ] [wYDWdJJ] starting ...
[2021-05-10T11:59:50,204][INFO ][o.e.t.TransportService ] [wYDWdJJ] publish_address {10.4.0.43:9300}, bound_addresses {10.4.0.43:9300}
[2021-05-10T11:59:50,237][INFO ][o.e.b.BootstrapChecks ] [wYDWdJJ] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2021-05-10T11:59:53,396][INFO ][o.e.c.s.MasterService ] [wYDWdJJ] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {wYDWdJJ}{wYDWdJJlSmWA9wJ3JEYq8g}{1qA5ckO6QXiL7imYlwNhLQ}{10.4.0.43}{10.4.0.43:9300}{ml.machine_memory=8201789440, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}
[2021-05-10T11:59:53,409][INFO ][o.e.c.s.ClusterApplierService] [wYDWdJJ] new_master {wYDWdJJ}{wYDWdJJlSmWA9wJ3JEYq8g}{1qA5ckO6QXiL7imYlwNhLQ}{10.4.0.43}{10.4.0.43:9300}{ml.machine_memory=8201789440, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}, reason: apply cluster state (from master [master {wYDWdJJ}{wYDWdJJlSmWA9wJ3JEYq8g}{1qA5ckO6QXiL7imYlwNhLQ}{10.4.0.43}{10.4.0.43:9300}{ml.machine_memory=8201789440, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
[2021-05-10T11:59:53,498][INFO ][o.e.h.n.Netty4HttpServerTransport] [wYDWdJJ] publish_address {10.4.0.43:9200}, bound_addresses {10.4.0.43:9200}
[2021-05-10T11:59:53,499][INFO ][o.e.n.Node ] [wYDWdJJ] started
[2021-05-10T11:59:53,642][INFO ][o.w.a.d.Monitor ] [wYDWdJJ] try load config from /usr/web/elasticsearch/elasticsearch-6.6.0/config/analysis-ik/IKAnalyzer.cfg.xml
[2021-05-10T11:59:53,647][INFO ][o.w.a.d.Monitor ] [wYDWdJJ] try load config from /usr/web/elasticsearch/elasticsearch-6.6.0/plugins/ik/config/IKAnalyzer.cfg.xml
[2021-05-10T11:59:55,008][WARN ][o.e.x.s.a.s.m.NativeRoleMappingStore] [wYDWdJJ] Failed to clear cache for realms [[]]
[2021-05-10T11:59:55,139][INFO ][o.e.l.LicenseService ] [wYDWdJJ] license [0dbc3f05-0e9a-4a22-b4b6-2309a5badc4e] mode [basic] - valid
[2021-05-10T11:59:55,160][INFO ][o.e.g.GatewayService ] [wYDWdJJ] recovered [2] indices into cluster_state
[2021-05-10T11:59:55,847][INFO ][o.e.c.r.a.AllocationService] [wYDWdJJ] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[shose][1], [shose][2], [mlwybj][1]] ...]).
[2021-05-10T17:38:00,521][INFO ][o.e.c.m.MetaDataIndexTemplateService] [wYDWdJJ] adding template [logstash] for index patterns [logstash-*]
[2021-05-10T17:39:04,325][INFO ][o.e.c.m.MetaDataCreateIndexService] [wYDWdJJ] [mlwy] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []
[2021-05-10T17:39:04,638][INFO ][o.e.c.m.MetaDataMappingService] [wYDWdJJ] [mlwy/39gWtxTbQbSYtXJ8g9y4zg] create_mapping [news]
[2021-05-10T17:39:04,647][INFO ][o.e.c.m.MetaDataMappingService] [wYDWdJJ] [mlwy/39gWtxTbQbSYtXJ8g9y4zg] update_mapping [news]
版权声明:本文为SuperChen12356原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。