问答详情
源自:2-4 分布式安装

slave启动后还是只显示master,slave显示不出来

cluster.name: esName

node.name: slave1

network.host: 127.0.0.1

http.port: 8200

discovery.zen.ping.unicast.hosts: ["127.0.0.1"]


提问者:iQnoon 2018-09-07 20:57

个回答

  • 慕瓜9063675
    2018-12-04 10:58:47

    我也这样,请问解决了吗


  • 少林码僧
    2018-11-18 23:22:49

    [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}


  • 少林码僧
    2018-11-18 22:26:13

    我的是centos7


  • 少林码僧
    2018-11-18 22:25:53

    不行啊

  • K_0029
    2018-11-02 19:31:20

    删掉elasticsearch目录下的data文件夹试试

  • qq_老鼠赛跑_0
    2018-10-27 10:03:26

    我的也是,你解决了吗

  • iQnoon
    2018-09-07 21:06:17

    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"
    }