cluster.name: esName
node.name: slave1
network.host: 127.0.0.1
http.port: 8200
discovery.zen.ping.unicast.hosts: ["127.0.0.1"]
我也这样,请问解决了吗
[elastic@localhost local]$ curl http://127.0.0.1:9201/_cat/nodes
{"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503}
我的是centos7
不行啊
删掉elasticsearch目录下的data文件夹试试
我的也是,你解决了吗
http://localhost:8200/访问正常,就是和master没关联上 { "name" : "slave1", "cluster_name" : "esName", "cluster_uuid" : "tFMrE6OhQ0OhCQEcauNZPA", "version" : { "number" : "6.4.0", "build_flavor" : "default", "build_type" : "zip", "build_hash" : "595516e", "build_date" : "2018-08-17T23:18:47.308994Z", "build_snapshot" : false, "lucene_version" : "7.4.0", "minimum_wire_compatibility_version" : "5.6.0", "minimum_index_compatibility_version" : "5.0.0" }, "tagline" : "You Know, for Search" }