使用netstat -lntp来看看有侦听在网络某端口的进程。当然,也可以使用 lsof。

纯master和data节点报错信息failed to flush export bulks和no ingest node

Elasticsearch | 作者 kwan | 发布于2017年07月19日 | 阅读数:14061

三台物理机,每台有两个ES5.2 节点,而且是一个dedicated master节点,一个是dedicated data节点。
 
并且两个节点都有xpack扩展。集群变绿之后,一直报failed to flush export bulks和 there are no ingest nodes in this cluster
 
已邀请:

kennywu76 - Wood

赞同来自: kwan

xpack的monitoring功能需要定义exporter用于导出监控数据, 默认的exporter是local exporter,也就是直接写入本地的集群,并且要求结点开启了ingest选项。
 
解决这个错误有几个可选办法:
1. 将集群的结点配置里的ingest角色打开
2. 或者在集群设置elasticsearch.yml里,将local exporter的use ingest关闭:
xpack.monitoring.exporters.my_local:
type: local
use_ingest: false

但一般的,使用local cluster监控自己存在很大的问题,故障发生时,监控也没法看到了。 生产上最好是设置一个单独的监控集群,然后可以配置一个HTTP exporter,将监控数据送往这个监控集群,参考: https://www.elastic.co/guide/e ... rence
 
 

要回复问题请先登录注册