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 } TimeoutEr...
并且使用ElasticSearch查询索引时也报错,找不到主节点: 代码语言:javascript 代码运行次数:0 代码运行 {"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503} 并且elasticsearch-head显示: 集群健康值:未...
创建索引时如果503(master_not_discovered_exception) 删除集群各节点下的data下的数据 rm-rf/usr/elasticsearch/data/* 重启集群 2、修改索引 PUT /my_index/_settings { "number_of_replicas": 1 } {"acknowledged":true} 3、删除索引 DELETE /my_index //删除单个索引 DELETE /index_one,index_two //删...
org.elasticsearch.discovery.MasterNotDiscoveredException: null at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$4.onTimeout(TransportMasterNodeAction.java:259) [elasticsearch-7.1.0.jar:7.1.0] at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTime...
[rest.suppressed ] /_cat/health Params: {h=node.total}MasterNotDiscoveredException[waited for [30s]] 解决方法:这个报错可能是因为主机名未改成配置的节点名(我这里把主机名改为:node-1) 1.3启动elasticsearch 切换到elasticsearch的bin目录下,执行
(master_not_discovered_exception) 删除集群各节点下的data下的数据 rm -rf /usr/elasticsearch/data/* 重启集群 2、修改索引 PUT /my_index/_settings { "number_of_replicas": 1 } {"acknowledged":true} 3、删除索引 DELETE /my_index //删除单个索引 DELETE /index_one,index_two //删除多个索引 ...
nohup sudo -u elasticsearch ./bin/kibana > /www/logs/kibana.log &1 & 4、异常问题 启动失败:no known master node, scheduling a retry或者master_not_discovered_exception 处理办法 node.name 与 cluster.initial_master_nodes 必须是一样的。如果只改一个,另一个取默认值就会出现此问题。
node.name:node-1cluster.initial_master_nodes:["node-1"]network.host:0.0.0.0 问题五 以上操作都执行完了,但外网还访问不了,需要看一下防火墙是否关闭 # 关闭防火强systemctl stop firewalld.service# 设置永久关闭systemctldisablefirewalld.service ...
{"type":"log","@timestamp":"2018-06-29T23:08:09+00:00","tags":["status","plugin:elasticsearch","error"],"pid":19806,"name":"plugin:elasticsearch","state":"red","message":"Status changed from red to red - [master_not_discovered_exception] null","prevState":"red","prevMsg":"...
[WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-1] master not discovered or elected yet, an election requires anodewith id [rEq_ExihQ927BnwBy3Iz7A], have discovered [] which is not a quorum; discovery will continue using [127.0.0.1:9300,127.0.0.1:9301,127.0.0.1:9302,127.0.0.1:...