I am getting the issue only on master node but the other 2 slave nodes are running fine.
elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled)
Active: failed (Result: exit-code) since Tue 2016-10-11 05:21:36 EDT; 10s ago
Docs: http://www.elastic.co
Main PID: 20966 (code=exited, status=1/FAILURE)
Oct 11 05:21:36 x.com elasticsearch[20966]: at org.elasticsearch.common.settings.loader.YamlSettingsLoader....:46)
Oct 11 05:21:36 x.com elasticsearch[20966]: at org.elasticsearch.common.settings.Settings$Builder.loadFromS...080)
Oct 11 05:21:36 x.com elasticsearch[20966]: at org.elasticsearch.common.settings.Settings$Builder.loadFromP...067)
Oct 11 05:21:36 x.com elasticsearch[20966]: at org.elasticsearch.node.internal.InternalSettingsPreparer.pre...:88)
Oct 11 05:21:36 x.com elasticsearch[20966]: at org.elasticsearch.bootstrap.Bootstrap.initialSettings(Bootst...202)
Oct 11 05:21:36 x.com elasticsearch[20966]: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:241)
Oct 11 05:21:36 x.com elasticsearch[20966]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch...:35)
Oct 11 05:21:36 x.com elasticsearch[20966]: Refer to the log for complete error details.
Oct 11 05:21:36 x.com systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Oct 11 05:21:36 x.com systemd[1]: Unit elasticsearch.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
So all is fine except the master node when i try to run the below command is failing:
systemctl status elasticsearch
Error:
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled)
Active: failed (Result: exit-code) since Wed 2016-10-12 02:01:34 EDT; 424ms ago
Docs: http://www.elastic.co
Main PID: 22310 (code=exited, status=1/FAILURE)
Oct 12 02:01:34 c.com elasticsearch[22310]: at org.elasti...
Oct 12 02:01:34 c.com elasticsearch[22310]: at org.elasti...
Oct 12 02:01:34 c.com elasticsearch[22310]: at org.elasti...
Oct 12 02:01:34 c.com elasticsearch[22310]: at org.elasti...
Oct 12 02:01:34 c.com elasticsearch[22310]: at org.elasti...
Oct 12 02:01:34 c.com elasticsearch[22310]: at org.elasti...
Oct 12 02:01:34 c.com elasticsearch[22310]: at org.elasti...
Oct 12 02:01:34 c.com elasticsearch[22310]: Refer to the ...
Oct 12 02:01:34 c.com systemd[1]: elasticsearch.service: ...
Oct 12 02:01:34 c.com systemd[1]: Unit elasticsearch.serv...
Hint: Some lines were ellipsized, use -l to show in full.
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.