Hi Team,
I have difficulty setting up Elasticsearch cluster in version 5.2.0. This is the first time i am using Version 5.x. I have been happily using v2.4 so far.
Please find my elasticsearch.yml file below. I have the same settings on both the nodes (trying to build a 2 node cluster)
However, if i specify this setting, my node will start without any issues, but as a standalone node.
http.host: 10.1.1.10
http.port: 9200
i understand that this transport.host setting wont form a cluster, i even tried without this setting. it still doesnt work.
transport.host: localhost
transport.tcp.port: 9300
If i remove transport.host from the setting, i am getting bootstrap errors.
I have provided the full elasticsearch.yml (using the same settings on both the nodes)
and my log file....
cluster.name: elasticsearch
cluster.routing.allocation.awareness.force.cloud.values: zone
node.name: Elkprod1
node.master: true
node.data: true
node.max_local_storage_nodes: 1
path.conf: /usr/local/etc/elasticsearch
path.data: /data/elasticsearch
path.logs: /usr/local/var/log/elasticsearch
network.host: 0.0.0.0
http.port: 9200
transport.host: localhost
transport.tcp.port: 9300
gateway.expected_nodes: 1
Log File...
[2017-03-01T17:05:09,618][INFO ][o.e.p.PluginsService ] [opselk-197323431-1-198091806.Elkprod.apps-ops.com] no plugins loaded
[2017-03-01T17:05:11,358][INFO ][o.e.n.Node ] [opselk-197323431-1-198091806.Elkprod.apps-ops.com] initialized
[2017-03-01T17:05:11,358][INFO ][o.e.n.Node ] [opselk-197323431-1-198091806.Elkprod.apps-ops.com] starting ...
[2017-03-01T17:05:11,442][WARN ][i.n.u.i.MacAddressUtil ] Failed to find a usable hardware address from the network interfaces; using random bytes: bd:e2:6b:bb:af:90:b9:e9
[2017-03-01T17:05:11,497][INFO ][o.e.t.TransportService ] [opselk-197323431-1-198091806.Elkprod.apps-ops.com] publish_address {10.1.1.10:9300}, bound_addresses {0.0.0.0:9300}
[2017-03-01T17:05:11,501][INFO ][o.e.b.BootstrapChecks ] [opselk-197323431-1-198091806.Elkprod.apps-ops.com] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2017-03-01T17:05:11,503][ERROR][o.e.b.Bootstrap ] [opselk-197323431-1-198091806.Elkprod.apps-ops.com] node validation exception
bootstrap checks failed
max file descriptors [64000] for elasticsearch process is too low, increase to at least [65536]
system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
[2017-03-01T17:05:11,505][INFO ][o.e.n.Node ] [opselk-197323431-1-198091806.Elkprod.apps-ops.com] stopping ...
[2017-03-01T17:05:11,583][INFO ][o.e.n.Node ] [opselk-197323431-1-198091806.Elkprod.apps-ops.com] stopped
[2017-03-01T17:05:11,584][INFO ][o.e.n.Node ] [opselk-197323431-1-198091806.Elkprod.apps-ops.com] closing ...
[2017-03-01T17:05:11,604][INFO ][o.e.n.Node ] [opselk-197323431-1-198091806.Elkprod.apps-ops.com] closed