0

I have 3 nodes fro cluster elasticsearch with this config and I have this error!

node-1:

cluster.name: graylog-production

node.name: elasticsearch1
node.master: true
node.data: true
node.ingest: false

path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 172.16.70.197
transport.host: 172.16.70.197
transport.tcp.port: 9300
http.port: 9200
discovery.zen.ping.unicast.hosts: ["172.16.70.197", "172.16.70.199", "172.16.70.198"]

discovery.zen.minimum_master_nodes: 2
gateway.recover_after_nodes: 2

node2: 
cluster.name: graylog-production

node.name: elasticsearch1
node.master: true
node.data: true
node.ingest: false

path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 172.16.70.197
transport.host: 172.16.70.197
transport.tcp.port: 9300


http.port: 9200

discovery.zen.ping.unicast.hosts: ["172.16.70.197", "172.16.70.199", "172.16.70.198"]

discovery.zen.minimum_master_nodes: 2
gateway.recover_after_nodes: 2

node3:
cluster.name: graylog-production

node.name: elasticsearch1
node.master: true
node.data: true
node.ingest: false

path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 172.16.70.197
transport.host: 172.16.70.197
transport.tcp.port: 9300


http.port: 9200

discovery.zen.ping.unicast.hosts: ["172.16.70.197", "172.16.70.199", "172.16.70.198"]

discovery.zen.minimum_master_nodes: 2
gateway.recover_after_nodes: 2

[root@elasticsearch1 ~]# tail -f /var/log/elasticsearch/graylog-production.log

[2019-02-25T22:29:17,685][INFO ][o.e.e.NodeEnvironment    ] [elasticsearch1] using [1] data paths, mounts [[/var (/dev/mapper/cl-var)]], net usable_space [9.2gb], net total_space [9.7gb], types [xfs]
[2019-02-25T22:29:17,688][INFO ][o.e.e.NodeEnvironment    ] [elasticsearch1] heap size [5.9gb], compressed ordinary object pointers [true]
[2019-02-25T22:29:17,713][INFO ][o.e.n.Node               ] [elasticsearch1] node name [elasticsearch1], node ID [N7tkp43XTOCG_Oa4av2UNw]
[2019-02-25T22:29:17,713][INFO ][o.e.n.Node               ] [elasticsearch1] version[6.6.0], pid[28253], build[default/rpm/a9861f4/2019-01-24T11:27:09.439740Z], OS[Linux/3.10.0-514.el7.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_171/25.171-b10]
[2019-02-25T22:29:17,713][INFO ][o.e.n.Node               ] [elasticsearch1] JVM arguments [-Xms3g, -Xmx6g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djdk.io.permissionsUseCanonicalPath=true, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j.skipJansi=true, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=rpm]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [aggs-matrix-stats]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [analysis-common]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [ingest-common]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [lang-expression]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [lang-mustache]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [lang-painless]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [mapper-extras]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [parent-join]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [percolator]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [rank-eval]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [reindex]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [repository-url]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [transport-netty4]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [tribe]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [x-pack-ccr]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [x-pack-core]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [x-pack-deprecation]
[2019-02-25T22:29:19,872][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [x-pack-graph]
[2019-02-25T22:29:19,873][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [x-pack-ilm]
[2019-02-25T22:29:19,873][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [x-pack-logstash]
[2019-02-25T22:29:19,873][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [x-pack-ml]
[2019-02-25T22:29:19,873][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [x-pack-monitoring]
[2019-02-25T22:29:19,873][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [x-pack-rollup]
[2019-02-25T22:29:19,873][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [x-pack-security]
[2019-02-25T22:29:19,873][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [x-pack-sql]
[2019-02-25T22:29:19,873][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [x-pack-upgrade]
[2019-02-25T22:29:19,873][INFO ][o.e.p.PluginsService     ] [elasticsearch1] loaded module [x-pack-watcher]
[2019-02-25T22:29:19,873][INFO ][o.e.p.PluginsService     ] [elasticsearch1] no plugins loaded
[2019-02-25T22:29:23,666][INFO ][o.e.x.s.a.s.FileRolesStore] [elasticsearch1] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2019-02-25T22:29:24,222][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [elasticsearch1] [controller/28315] [Main.cc@109] controller (64 bit): Version 6.6.0 (Build bbb4919f4d17a5) Copyright (c) 2019 Elasticsearch BV
[2019-02-25T22:29:24,653][DEBUG][o.e.a.ActionModule       ] [elasticsearch1] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2019-02-25T22:29:24,865][INFO ][o.e.d.DiscoveryModule    ] [elasticsearch1] using discovery type [zen] and host providers [settings]
[2019-02-25T22:29:25,523][INFO ][o.e.n.Node               ] [elasticsearch1] initialized
[2019-02-25T22:29:25,524][INFO ][o.e.n.Node               ] [elasticsearch1] starting ...
[2019-02-25T22:29:25,637][INFO ][o.e.t.TransportService   ] [elasticsearch1] publish_address {172.16.70.197:9300}, bound_addresses {172.16.70.197:9300}
[2019-02-25T22:29:25,661][INFO ][o.e.b.BootstrapChecks    ] [elasticsearch1] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2019-02-25T22:29:25,692][ERROR][o.e.b.Bootstrap          ] [elasticsearch1] node validation exception
[1] bootstrap checks failed
[1]: initial heap size [3221225472] not equal to maximum heap size [6442450944]; this can cause resize pauses and prevents mlockall from locking the entire heap
[2019-02-25T22:29:25,693][INFO ][o.e.n.Node               ] [elasticsearch1] stopping ...
[2019-02-25T22:29:25,704][INFO ][o.e.n.Node               ] [elasticsearch1] stopped
[2019-02-25T22:29:25,704][INFO ][o.e.n.Node               ] [elasticsearch1] closing ...
[2019-02-25T22:29:25,717][INFO ][o.e.n.Node               ] [elasticsearch1] closed

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.