纠正一下问题描述,master节点停止工作后,slave节点不能独立工作,重启可正常工作,这个写错了,重启仍不能正常工作,堆栈如下:
[2019-10-30T10:35:52,175][INFO ][o.e.e.NodeEnvironment ] [node_20.23.72.15] using [1] data paths, mounts [[/opt (/dev/mapper/vg_root-lv_opt)]], net usable_space [44gb], net total_space [54.8gb], types [ext4]
[2019-10-30T10:35:52,177][INFO ][o.e.e.NodeEnvironment ] [node_20.23.72.15] heap size [989.8mb], compressed ordinary object pointers [true]
[2019-10-30T10:35:52,275][INFO ][o.e.n.Node ] [node_20.23.72.15] node name [node_20.23.72.15], node ID [JaQ87iQpS0qLomhZvl-tPQ], cluster name [log-search-cluster]
[2019-10-30T10:35:52,276][INFO ][o.e.n.Node ] [node_20.23.72.15] version[7.3.1], pid[16794], build[oss/tar/4749ba6/2019-08-19T20:19:25.651794Z], OS[Linux/4.12.14-95.24-default/amd64], JVM[Huawei Technologies Co., Ltd/OpenJDK 64-Bit Server VM/1.8.0_212/25.212-b04]
[2019-10-30T10:35:52,276][INFO ][o.e.n.Node ] [node_20.23.72.15] JVM home [/opt/oss/rtsp/jre-2.2.20]
[2019-10-30T10:35:52,276][INFO ][o.e.n.Node ] [node_20.23.72.15] 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-7102805610334393263, -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, -Dio.netty.allocator.type=unpooled, -XX:MaxDirectMemorySize=536870912, -Des.path.home=/opt/oss/envs/Product-LogConfigService/20191029194832476/es, -Des.path.conf=/opt/oss/envs/Product-LogConfigService/20191029194832476/es/config, -Des.distribution.flavor=oss, -Des.distribution.type=tar, -Des.bundled_jdk=true]
[2019-10-30T10:35:53,341][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [aggs-matrix-stats]
[2019-10-30T10:35:53,342][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [analysis-common]
[2019-10-30T10:35:53,342][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [ingest-common]
[2019-10-30T10:35:53,342][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [ingest-user-agent]
[2019-10-30T10:35:53,343][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [lang-expression]
[2019-10-30T10:35:53,343][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [lang-mustache]
[2019-10-30T10:35:53,344][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [lang-painless]
[2019-10-30T10:35:53,344][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [mapper-extras]
[2019-10-30T10:35:53,344][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [parent-join]
[2019-10-30T10:35:53,345][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [percolator]
[2019-10-30T10:35:53,345][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [rank-eval]
[2019-10-30T10:35:53,346][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [reindex]
[2019-10-30T10:35:53,346][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [repository-url]
[2019-10-30T10:35:53,346][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] loaded module [transport-netty4]
[2019-10-30T10:35:53,347][INFO ][o.e.p.PluginsService ] [node_20.23.72.15] no plugins loaded
[2019-10-30T10:35:57,715][INFO ][o.e.d.DiscoveryModule ] [node_20.23.72.15] using discovery type [zen] and seed hosts providers [settings]
[2019-10-30T10:35:58,447][INFO ][o.e.n.Node ] [node_20.23.72.15] initialized
[2019-10-30T10:35:58,448][INFO ][o.e.n.Node ] [node_20.23.72.15] starting ...
[2019-10-30T10:35:58,635][INFO ][o.e.t.TransportService ] [node_20.23.72.15] publish_address {20.23.72.15:27336}, bound_addresses {20.23.72.15:27336}
[2019-10-30T10:35:58,648][INFO ][o.e.b.BootstrapChecks ] [node_20.23.72.15] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2019-10-30T10:35:58,658][INFO ][o.e.c.c.Coordinator ] [node_20.23.72.15] cluster UUID [O67XhXA9TRG78Qe5yP2Tag]