Hi Chris,
Based on document i performed all the change.
vi /etc/security/limits.conf
elasticsearch - nofile 65536
vi /usr/lib/systemd/system/elasticsearch.service
[Service]
LimitMEMLOCK=infinity
vi /etc/elasticsearch/jvm.options
export ES_JAVA_OPTS="$ES_JAVA_OPTS -Djava.io.tmpdir=/apps/ES/logs"
./bin/elasticsearch
Still same issue i am facing
[2017-07-14T11:42:54,944][INFO ][o.e.n.Node ] [master-node-1] initializing ...
[2017-07-14T11:42:55,045][INFO ][o.e.e.NodeEnvironment ] [master-node-1] using [1] data paths, mounts [[/apps (/dev/xvdb1)]], net usable_space [43.4gb], net total_space [46.8gb], spins? [no], types [ext4]
[2017-07-14T11:42:55,045][INFO ][o.e.e.NodeEnvironment ] [master-node-1] heap size [1.9gb], compressed ordinary object pointers [true]
[2017-07-14T11:42:55,048][INFO ][o.e.n.Node ] [master-node-1] node name [master-node-1], node ID [tUbqcE97RLiGtdC-z9PmWw]
[2017-07-14T11:42:55,049][INFO ][o.e.n.Node ] [master-node-1] version[5.5.0], pid[8178], build[260387d/2017-06-30T23:16:05.735Z], OS[Linux/2.6.32-642.11.1.el6.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_74/25.74-b02]
[2017-07-14T11:42:55,049][INFO ][o.e.n.Node ] [master-node-1] JVM arguments [-Xms2g, -Xmx2g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+DisableExplicitGC, -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]
[2017-07-14T11:42:55,987][INFO ][o.e.p.PluginsService ] [master-node-1] loaded module [aggs-matrix-stats]
[2017-07-14T11:42:55,987][INFO ][o.e.p.PluginsService ] [master-node-1] loaded module [ingest-common]
[2017-07-14T11:42:55,987][INFO ][o.e.p.PluginsService ] [master-node-1] loaded module [lang-expression]
[2017-07-14T11:42:55,987][INFO ][o.e.p.PluginsService ] [master-node-1] loaded module [lang-groovy]
[2017-07-14T11:42:55,987][INFO ][o.e.p.PluginsService ] [master-node-1] loaded module [lang-mustache]
[2017-07-14T11:42:55,987][INFO ][o.e.p.PluginsService ] [master-node-1] loaded module [lang-painless]
[2017-07-14T11:42:55,987][INFO ][o.e.p.PluginsService ] [master-node-1] loaded module [parent-join]
[2017-07-14T11:42:55,987][INFO ][o.e.p.PluginsService ] [master-node-1] loaded module [percolator]
[2017-07-14T11:42:55,987][INFO ][o.e.p.PluginsService ] [master-node-1] loaded module [reindex]
[2017-07-14T11:42:55,987][INFO ][o.e.p.PluginsService ] [master-node-1] loaded module [transport-netty3]
[2017-07-14T11:42:55,987][INFO ][o.e.p.PluginsService ] [master-node-1] loaded module [transport-netty4]
[2017-07-14T11:42:55,988][INFO ][o.e.p.PluginsService ] [master-node-1] no plugins loaded
[2017-07-14T11:42:58,215][INFO ][o.e.d.DiscoveryModule ] [master-node-1] using discovery type [zen]
[2017-07-14T11:42:58,837][INFO ][o.e.n.Node ] [master-node-1] initialized
[2017-07-14T11:42:58,837][INFO ][o.e.n.Node ] [master-node-1] starting ...
[2017-07-14T11:42:59,001][INFO ][o.e.t.TransportService ] [master-node-1] publish_address {11.111.111.10:9300}, bound_addresses {11.111.111.10:9300}
[2017-07-14T11:42:59,021][INFO ][o.e.b.BootstrapChecks ] [master-node-1] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2017-07-14T11:42:59,027][ERROR][o.e.b.Bootstrap ] [master-node-1] node validation exception
[2] bootstrap checks failed
[1]: max number of threads [1024] for user [elasticsearch] is too low, increase to at least [2048]
[2]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
[2017-07-14T11:42:59,029][INFO ][o.e.n.Node ] [master-node-1] stopping ...
[2017-07-14T11:42:59,070][INFO ][o.e.n.Node ] [master-node-1] stopped
[2017-07-14T11:42:59,070][INFO ][o.e.n.Node ] [master-node-1] closing ...
[2017-07-14T11:42:59,090][INFO ][o.e.n.Node ] [master-node-1] closed
path.logs: /apps/ES/logs
path.data: /apps/ES/logs
cluster.name: learningsearch-dev
node.name: Master_Node
bootstrap.memory_lock: true
network.bind_host: 11.111.111.10
discovery.zen.ping.unicast.hosts: ["11.111.111.10","22.222.22.222"]
discovery.zen.minimum_master_nodes: 1
node.master: true
node.data: true
transport.host: 10.111.111.10
http.port: 9200
http.cors.enabled : true
http.cors.allow-origin : "*"
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length
transport.tcp.port: 9300