I can’t set up an elastic server cluster because I get an “Exception Master Exception”
My configuration
Master
node.master:true
node.data:true
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["ip of master"]
tcp.port:9300
Client
node.master:false
node.data:true
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["ip of master:9300"]
when do we click curl 'localhost: 9200 / _cat / master? v ' from the client, it shows an undetected exception .
Any help is appreciated.
Magazines
elasticsearch.service - Elasticsearch : (/usr/lib/systemd/system/elasticsearch.service; ) : () 2016-02-19 07:44:33 EST; 2 . 35 . : http://www.elastic.co : 25531 ExecStartPre =/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code = exited, status = 0/SUCCESS)
PID: 25535 (java) CGroup:/system.slice/elasticsearch.service └─25535/bin/java -Xms8g -Xmx8g -Djava.awt.headless = true -XX: + UseParNewGC -XX: + UseConcMarkSweepGC -XX: CMSInitiatingOccupancyFra...
Feb 19 07:46:49 centos-16gb-sgp1-01 elasticsearch [25535]: at java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:617)
19 07:46:49 centos-16gb-sgp1-01 elasticsearch [25535]: java.lang.Thread.run(Thread.java:745)
19 07:46:49 centos-16gb-sgp1-01 elasticsearch [25535]: [2016-02-19 07: 46: 49,471] [INFO] [rest.suppressed]/_aliases Para... iases}
Feb 19 07:46:49 centos-16gb-sgp1-01 elasticsearch [25535]: MasterNotDiscoveredException [null]
19 07:46:49 centos-16gb-sgp1-01 elasticsearch [25535]: at org.elasticsearch.action.support.master.TransportMasterNodeAction $Async... a: 205)
19 07:46:49 centos-16gb-sgp1-01 elasticsearch [25535]: at org.elasticsearch.cluster.ClusterStateObserver $ObserverClusterStateList... a: 239)
Feb 19 07:46:49 centos-16gb-sgp1-01 elasticsearch [25535]: at org.elasticsearch.cluster.service.InternalClusterService $NotifyTimeout.... a: 794)
19 07:46:49 centos-16gb-sgp1-01 elasticsearch [25535]: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
19 07:46:49 centos-16gb-sgp1-01 elasticsearch [25535]: java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:617)
19 07:46:49 centos-16gb-sgp1-01 elasticsearch [25535]: java.lang.Thread.run(Thread.java:745)