zoukankan      html  css  js  c++  java
  • 解决es集群启动完成后报master_not_discovered_exception

    es集群启动后,在浏览器输入:http://es ip地址:端口/_cat/nodes?pretty,会提示如下错误:

    { "error" : { "root_cause" : [ { "type" : "master_not_discovered_exception", "reason" : null } ], "type" : "master_not_discovered_exception", "reason" : null }, "status" : 503 }


    解决方案:

    在每个配置文件指定初始节点:

    cluster.initial_master_nodes: node-1

    重启ES集群,浏览器再次输入http://es ip地址:端口/_cat/nodes?pretty,就可以看到集群启动成功了:

    学习时的痛苦是暂时的 未学到的痛苦是终生的
  • 相关阅读:
    SQL Server 存储过程
    String.format Tutorial
    第五次
    第四次
    第三次
    第一次作业
    第二次
    c/c++
    HelloWorld出现的问题
    Android系统架构
  • 原文地址:https://www.cnblogs.com/grimm/p/13198984.html
Copyright © 2011-2022 走看看