Your server only listen to 127.0.0.1 and is not accessible from outside.
You need to change network.host.
If I change the network.host to the IP of the machine , Elasticsearch service is not starting.
Yes. This is expected as I can see that:
[2017-03-30T09:46:21,914][WARN ][o.e.b.BootstrapChecks ] [node4] initial heap size [17179869184] not equal to maximum heap size [34359738368]; this can cause resize pauses and prevents mlockall from locking the entire heap
[2017-03-30T09:46:21,914][WARN ][o.e.b.BootstrapChecks ] [node4] memory locking requested for elasticsearch process but memory is not locked
[2017-03-30T09:46:21,915][WARN ][o.e.b.BootstrapChecks ] [node4] max number of threads [1024] for user [elasticsearch] is too low, increase to at least [2048]
[2017-03-30T09:46:21,915][WARN ][o.e.b.BootstrapChecks ] [node4] system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
When in production mode, you can't start anymore unless you fix those messages.
I have done changes in the memory lock , threads and heap changes .
But now i am getting :
[2017-04-05T12:11:48,294][DEBUG][o.e.t.n.Netty4Transport ] [node-a]Bound profile [default] to address {10.33.A.B:9300}
[2017-04-05T12:11:48,296][INFO ][o.e.t.TransportService ] [node-a]publish_address {10.33.A.B:9300}, bound_addresses {10.33.A.B:9300}
[2017-04-05T12:11:48,302][INFO ][o.e.b.BootstrapChecks ] [node-a]bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2017-04-05T12:11:48,304][ERROR][o.e.b.Bootstrap ] [node-a]node validation exception
bootstrap checks failed
system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
[2017-04-05T12:11:48,307][INFO ][o.e.n.Node ] [node-a]stopping ...
[2017-04-05T12:11:48,595][INFO ][o.e.n.Node ] [node-a]stopped
[2017-04-05T12:11:48,595][INFO ][o.e.n.Node ] [node-a]closing ...
[2017-04-05T12:11:48,604][TRACE][o.e.n.Node ] [node-a]Close times for each service:
StopWatch 'node_close': running time = 0s/
if i make : transport.host: 10.33.A.B it is failing with above error
But, i make it as localhost , the loopback address its starting but obviously wont join the cluster
I am unable to get now what is the system call filter error that i should look for ?
There are logs higher up that tell you why the system call filters failed to install. I'll tell you that on CentOS 6, the kernel support for system call filters is not there. Therefore, you should explicitly disable the system call filters: bootstrap.system_call_filter=false.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.