I have a three node cluster and one of the nodes in the cluster is failing to start the ES services. Due to this one node not starting the whole cluster is no longer running. When attempting to start this service I am seeing the following errors in /var/log/messages:
Apr 28 10:27:29 p-es-1 systemd: Starting Elasticsearch...
Apr 28 10:27:29 p-es-1 systemd: Started Elasticsearch.
Apr 28 10:27:29 p-es-1 elasticsearch: [2016-04-28 10:27:29,980][WARN ][bootstrap ] Unable to lock JVM Memory: error=12,reason=Cannot allocate memory
Apr 28 10:27:29 p-es-1 elasticsearch: [2016-04-28 10:27:29,981][WARN ][bootstrap ] This can result in part of the JVM being swapped out.
Apr 28 10:27:29 p-es-1 elasticsearch: [2016-04-28 10:27:29,981][WARN ][bootstrap ] Increase RLIMIT_MEMLOCK, soft limit: 65536, hard limit: 65536
Apr 28 10:27:29 p-es-1 elasticsearch: [2016-04-28 10:27:29,981][WARN ][bootstrap ] These can be adjusted by modifying /etc/security/limits.conf, for example:
Apr 28 10:27:29 p-es-1 elasticsearch: # allow user 'elasticsearch' mlockall
Apr 28 10:27:29 p-es-1 elasticsearch: elasticsearch soft memlock unlimited
Apr 28 10:27:29 p-es-1 elasticsearch: elasticsearch hard memlock unlimited
Apr 28 10:27:29 p-es-1 elasticsearch: [2016-04-28 10:27:29,981][WARN ][bootstrap ] If you are logged in interactively, you will have to re-login for the new limits to take effect.
Apr 28 10:27:30 p-es-1 elasticsearch: [2016-04-28 10:27:30,184][INFO ][node ] [p-es-1] version[2.3.1], pid[3126], build[bd98092/2016-04-04T12:25:05Z]
Apr 28 10:27:30 p-es-1 elasticsearch: [2016-04-28 10:27:30,184][INFO ][node ] [p-es-1] initializing ...
Apr 28 10:27:30 p-es-1 elasticsearch: Exception in thread "main" java.lang.IllegalArgumentException: Plugin [license] is incompatible with Elasticsearch [2.3.1]. Was designed for version [2.1.1]
Apr 28 10:27:30 p-es-1 elasticsearch: at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:118)
Apr 28 10:27:30 p-es-1 elasticsearch: at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:378)
Apr 28 10:27:30 p-es-1 elasticsearch: at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:128)
Apr 28 10:27:30 p-es-1 elasticsearch: at org.elasticsearch.node.Node.<init>(Node.java:158)
Apr 28 10:27:30 p-es-1 elasticsearch: at org.elasticsearch.node.Node.<init>(Node.java:140)
Apr 28 10:27:30 p-es-1 elasticsearch: at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
Apr 28 10:27:30 p-es-1 elasticsearch: at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
Apr 28 10:27:30 p-es-1 elasticsearch: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
Apr 28 10:27:30 p-es-1 elasticsearch: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
Apr 28 10:27:30 p-es-1 elasticsearch: Refer to the log for complete error details.
Apr 28 10:27:30 p-es-1 systemd: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Apr 28 10:27:30 p-es-1 systemd: Unit elasticsearch.service entered failed state.
Apr 28 10:27:30 p-es-1 systemd: elasticsearch.service failed.
Looks like a lot of Java issues. Anyone else have any thoughts?