es 7 版本 發(fā)現(xiàn)不了 salve結(jié)點(diǎn)
主結(jié)點(diǎn) 配置
```
http.cors.enabled: true
http.cors.allow-origin: "*"
cluster.name: secret
node.name: master
node.master: true
network.host: 127.0.0.1
```
從結(jié)點(diǎn)配置
```
http.cors.enabled: true
http.cors.allow-origin: "*"
cluster.name: secret
node.name: slave1
node.master: false
network.host: 127.0.0.1
http.port: 9201
discovery.zen.ping.unicast.hosts: ["127.0.0.1:9200"]
```
我從瀏覽器? 分別訪問(wèn) 本地 127.0.0.1:9200 和127.0.0.1:9201 都能顯示 es 的信息? 但是用head 插件 就只能看到master 信息? 看不到 slave 信息
2019-07-22
直接刪掉data節(jié)點(diǎn)就ok,老師沒(méi)有講到
2019-05-16
2019-05-12
看到的兩個(gè)?es 信息中的 cluster-uuid 不一樣吧
discovery.zen.ping.unicast.hosts: ["127.0.0.1:9200"]
端口刪掉試試,它是否使用的 tcp 端口 9300