[root@node-zwf ~]# chown -R elasticsearch:elk /home/elasticsearch
[root@node-zwf ~]# su elasticsearch
[elasticsearch@node-zwf root]$ cd /home/elasticsearch/elasticsearch-7.8.0/
[elasticsearch@node-zwf elasticsearch-7.8.0]$ bin/elasticsearch
future versions of Elasticsearch will require Java 11; your Java version from [/opt/jdk1.8.0_281/jre] does not meet this requirement
future versions of Elasticsearch will require Java 11; your Java version from [/opt/jdk1.8.0_281/jre] does not meet this requirement
[2021-04-11T10:02:24,692][INFO ][o.e.n.Node ] [es-cluster-node-001] version[7.8.0], pid[15760], build[default/tar/757314695644ea9a1dc2fecd26d1a43856725e65/2020-06-14T19:35:50.234439Z], OS[Linux/3.10.0-1160.15.2.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_281/25.281-b09]
[2021-04-11T10:02:24,803][INFO ][o.e.n.Node ] [es-cluster-node-001] JVM home [/opt/jdk1.8.0_281/jre]
[2021-04-11T10:02:24,804][INFO ][o.e.n.Node ] [es-cluster-node-001] JVM arguments [-Xshare:auto, -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, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.locale.providers=SPI,JRE, -Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Djava.io.tmpdir=/tmp/elasticsearch-3446029114246577488, -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, -XX:MaxDirectMemorySize=536870912, -Des.path.home=/home/elasticsearch/elasticsearch-7.8.0, -Des.path.conf=/home/elasticsearch/elasticsearch-7.8.0/config, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=true]
[2021-04-11T10:02:45,264][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [aggs-matrix-stats]
[2021-04-11T10:02:45,265][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [analysis-common]
[2021-04-11T10:02:45,266][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [constant-keyword]
[2021-04-11T10:02:45,268][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [flattened]
[2021-04-11T10:02:45,269][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [frozen-indices]
[2021-04-11T10:02:45,269][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [ingest-common]
[2021-04-11T10:02:45,270][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [ingest-geoip]
[2021-04-11T10:02:45,272][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [ingest-user-agent]
[2021-04-11T10:02:45,273][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [kibana]
[2021-04-11T10:02:45,274][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [lang-expression]
[2021-04-11T10:02:45,275][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [lang-mustache]
[2021-04-11T10:02:45,276][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [lang-painless]
[2021-04-11T10:02:45,277][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [mapper-extras]
[2021-04-11T10:02:45,278][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [parent-join]
[2021-04-11T10:02:45,279][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [percolator]
[2021-04-11T10:02:45,280][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [rank-eval]
[2021-04-11T10:02:45,281][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [reindex]
[2021-04-11T10:02:45,282][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [repository-url]
[2021-04-11T10:02:45,283][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [search-business-rules]
[2021-04-11T10:02:45,283][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [searchable-snapshots]
[2021-04-11T10:02:45,284][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [spatial]
[2021-04-11T10:02:45,286][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [tasks]
[2021-04-11T10:02:45,287][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [transform]
[2021-04-11T10:02:45,288][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [transport-netty4]
[2021-04-11T10:02:45,289][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [vectors]
[2021-04-11T10:02:45,289][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-analytics]
[2021-04-11T10:02:45,290][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-async-search]
[2021-04-11T10:02:45,292][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-autoscaling]
[2021-04-11T10:02:45,293][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-ccr]
[2021-04-11T10:02:45,294][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-core]
[2021-04-11T10:02:45,294][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-deprecation]
[2021-04-11T10:02:45,297][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-enrich]
[2021-04-11T10:02:45,298][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-eql]
[2021-04-11T10:02:45,299][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-graph]
[2021-04-11T10:02:45,300][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-identity-provider]
[2021-04-11T10:02:45,301][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-ilm]
[2021-04-11T10:02:45,301][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-logstash]
[2021-04-11T10:02:45,302][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-ml]
[2021-04-11T10:02:45,303][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-monitoring]
[2021-04-11T10:02:45,305][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-ql]
[2021-04-11T10:02:45,306][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-rollup]
[2021-04-11T10:02:45,307][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-security]
[2021-04-11T10:02:45,308][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-sql]
[2021-04-11T10:02:45,308][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-voting-only-node]
[2021-04-11T10:02:45,309][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] loaded module [x-pack-watcher]
[2021-04-11T10:02:45,311][INFO ][o.e.p.PluginsService ] [es-cluster-node-001] no plugins loaded
[2021-04-11T10:02:45,590][INFO ][o.e.e.NodeEnvironment ] [es-cluster-node-001] using [1] data paths, mounts [[/ (/dev/sda3)]], net usable_space [23.9gb], net total_space [37.6gb], types [xfs]
[2021-04-11T10:02:45,592][INFO ][o.e.e.NodeEnvironment ] [es-cluster-node-001] heap size [990.7mb], compressed ordinary object pointers [true]
[2021-04-11T10:02:46,760][INFO ][o.e.n.Node ] [es-cluster-node-001] node name [es-cluster-node-001], node ID [8YyMye90Rd2xguOy1w3yJQ], cluster name [es-cluster]
[2021-04-11T10:03:02,607][INFO ][o.e.x.s.a.s.FileRolesStore] [es-cluster-node-001] parsed [0] roles from file [/home/elasticsearch/elasticsearch-7.8.0/config/roles.yml]
[2021-04-11T10:03:04,857][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [es-cluster-node-001] [controller/15930] [Main.cc@110] controller (64 bit): Version 7.8.0 (Build 58ff6912e20047) Copyright (c) 2020 Elasticsearch BV
[2021-04-11T10:03:07,168][INFO ][o.e.d.DiscoveryModule ] [es-cluster-node-001] using discovery type [zen] and seed hosts providers [settings]
[2021-04-11T10:03:10,741][INFO ][o.e.n.Node ] [es-cluster-node-001] initialized
[2021-04-11T10:03:10,743][INFO ][o.e.n.Node ] [es-cluster-node-001] starting ...
[2021-04-11T10:03:12,961][INFO ][o.e.t.TransportService ] [es-cluster-node-001] publish_address {192.168.10.233:9300}, bound_addresses {192.168.10.233:9300}
[2021-04-11T10:03:29,843][INFO ][o.e.b.BootstrapChecks ] [es-cluster-node-001] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2021-04-11T10:03:29,856][INFO ][o.e.c.c.Coordinator ] [es-cluster-node-001] cluster UUID [MtEnaKPjStuFL4oaMZfKkA]
[2021-04-11T10:03:33,160][INFO ][o.e.c.c.JoinHelper ] [es-cluster-node-001] failed to join {es-cluster-node-001}{8YyMye90Rd2xguOy1w3yJQ}{cfpo4lreQpiuphEZtn6GsQ}{192.168.10.233}{192.168.10.233:9300}{dilmrt}{ml.machine_memory=3953967104, xpack.installed=true, transform.node=true, ml.max_open_jobs=20} with JoinRequest{sourceNode={es-cluster-node-001}{8YyMye90Rd2xguOy1w3yJQ}{cfpo4lreQpiuphEZtn6GsQ}{192.168.10.233}{192.168.10.233:9300}{dilmrt}{ml.machine_memory=3953967104, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}, minimumTerm=7, optionalJoin=Optional[Join{term=8, lastAcceptedTerm=7, lastAcceptedVersion=135, sourceNode={es-cluster-node-001}{8YyMye90Rd2xguOy1w3yJQ}{cfpo4lreQpiuphEZtn6GsQ}{192.168.10.233}{192.168.10.233:9300}{dilmrt}{ml.machine_memory=3953967104, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}, targetNode={es-cluster-node-001}{8YyMye90Rd2xguOy1w3yJQ}{cfpo4lreQpiuphEZtn6GsQ}{192.168.10.233}{192.168.10.233:9300}{dilmrt}{ml.machine_memory=3953967104, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}}]}
org.elasticsearch.transport.RemoteTransportException: [es-cluster-node-001][192.168.10.233:9300][internal:cluster/coordination/join]
Caused by: org.elasticsearch.cluster.coordination.CoordinationStateRejectedException: incoming term 8 does not match current term 9
at org.elasticsearch.cluster.coordination.CoordinationState.handleJoin(CoordinationState.java:225) ~[elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.cluster.coordination.Coordinator.handleJoin(Coordinator.java:1006) ~[elasticsearch-7.8.0.jar:7.8.0]
at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_281]
at org.elasticsearch.cluster.coordination.Coordinator.processJoinRequest(Coordinator.java:525) ~[elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.cluster.coordination.Coordinator.lambda$handleJoinRequest$7(Coordinator.java:489) ~[elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) ~[elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.transport.TransportService.connectToNode(TransportService.java:376) ~[elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.transport.TransportService.connectToNode(TransportService.java:363) ~[elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.cluster.coordination.Coordinator.handleJoinRequest(Coordinator.java:476) ~[elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.cluster.coordination.JoinHelper.lambda$new$0(JoinHelper.java:129) ~[elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.xpack.security.transport.SecurityServerTransportInterceptor$ProfileSecuredRequestHandler$1.doRun(SecurityServerTransportInterceptor.java:257) ~[?:?]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:226) ~[elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.xpack.security.transport.SecurityServerTransportInterceptor$ProfileSecuredRequestHandler.lambda$messageReceived$0(SecurityServerTransportInterceptor.java:306) ~[?:?]
at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) ~[elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.xpack.security.authz.AuthorizationService.authorizeSystemUser(AuthorizationService.java:388) ~[?:?]
at org.elasticsearch.xpack.security.authz.AuthorizationService.authorize(AuthorizationService.java:192) ~[?:?]
at org.elasticsearch.xpack.security.transport.ServerTransportFilter$NodeProfile.lambda$inbound$1(ServerTransportFilter.java:129) ~[?:?]
at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:63) ~[elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.lambda$authenticateAsync$2(AuthenticationService.java:323) ~[x-pack-security-7.8.0.jar:7.8.0]
at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.lambda$lookForExistingAuthentication$6(AuthenticationService.java:385) ~[x-pack-security-7.8.0.jar:7.8.0]
at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.lookForExistingAuthentication(AuthenticationService.java:396) [x-pack-security-7.8.0.jar:7.8.0]
at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.authenticateAsync(AuthenticationService.java:320) [x-pack-security-7.8.0.jar:7.8.0]
at org.elasticsearch.xpack.security.authc.AuthenticationService$Authenticator.access$000(AuthenticationService.java:261) [x-pack-security-7.8.0.jar:7.8.0]
at org.elasticsearch.xpack.security.authc.AuthenticationService.authenticate(AuthenticationService.java:173) [x-pack-security-7.8.0.jar:7.8.0]
at org.elasticsearch.xpack.security.transport.ServerTransportFilter$NodeProfile.inbound(ServerTransportFilter.java:120) [x-pack-security-7.8.0.jar:7.8.0]
at org.elasticsearch.xpack.security.transport.SecurityServerTransportInterceptor$ProfileSecuredRequestHandler.messageReceived(SecurityServerTransportInterceptor.java:313) [x-pack-security-7.8.0.jar:7.8.0]
at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:63) [elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.transport.TransportService$8.doRun(TransportService.java:801) [elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:695) [elasticsearch-7.8.0.jar:7.8.0]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.8.0.jar:7.8.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_281]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_281]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_281]
[2021-04-11T10:03:33,346][INFO ][o.e.c.s.MasterService ] [es-cluster-node-001] elected-as-master ([1] nodes joined)[{es-cluster-node-001}{8YyMye90Rd2xguOy1w3yJQ}{cfpo4lreQpiuphEZtn6GsQ}{192.168.10.233}{192.168.10.233:9300}{dilmrt}{ml.machine_memory=3953967104, xpack.installed=true, transform.node=true, ml.max_open_jobs=20} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 9, version: 136, delta: master node changed {previous [], current [{es-cluster-node-001}{8YyMye90Rd2xguOy1w3yJQ}{cfpo4lreQpiuphEZtn6GsQ}{192.168.10.233}{192.168.10.233:9300}{dilmrt}{ml.machine_memory=3953967104, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}]}
[2021-04-11T10:03:33,594][INFO ][o.e.c.s.ClusterApplierService] [es-cluster-node-001] master node changed {previous [], current [{es-cluster-node-001}{8YyMye90Rd2xguOy1w3yJQ}{cfpo4lreQpiuphEZtn6GsQ}{192.168.10.233}{192.168.10.233:9300}{dilmrt}{ml.machine_memory=3953967104, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}]}, term: 9, version: 136, reason: Publication{term=9, version=136}
[2021-04-11T10:03:33,784][INFO ][o.e.h.AbstractHttpServerTransport] [es-cluster-node-001] publish_address {192.168.10.233:9200}, bound_addresses {192.168.10.233:9200}
[2021-04-11T10:03:33,786][INFO ][o.e.n.Node ] [es-cluster-node-001] started
[2021-04-11T10:03:34,791][INFO ][o.e.l.LicenseService ] [es-cluster-node-001] license [ed3bb3db-19d9-4678-be9e-66234b147334] mode [basic] - valid
[2021-04-11T10:03:34,795][INFO ][o.e.x.s.s.SecurityStatusChangeListener] [es-cluster-node-001] Active license is now [BASIC]; Security is enabled
[2021-04-11T10:03:34,835][INFO ][o.e.g.GatewayService ] [es-cluster-node-001] recovered [8] indices into cluster_state
[2021-04-11T10:03:37,243][INFO ][o.e.c.r.a.AllocationService] [es-cluster-node-001] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana_task_manager_1][0]]]).
修改密码:
https://blog.csdn.net/spencer_tseng/article/details/115610858
输入密码: