Courier Fetch: 3 of 5 shards failed
来源:互联网 发布:通信网络维护简介 编辑:程序博客网 时间:2024/05/29 18:32
功能:kibana+elasticsearch 实现日志系统,kibana 前端展示。elasticsearch 安装了shield插件。添加 了用户角色。
架构:一个es 集群,3个节点。
相关配置:
(1)elasticsearch/config/shield/roles.yml 添加一个角色如下:
adaptersoa_kibana_user:
cluster:
- cluster:monitor/nodes/info
- cluster:monitor/health
indices:
'adaptersoa-*':
privileges: indices:data/write/bulk, indices:data/write/delete, indices:data/read/mget, indices:data/write/update, indices:data/read/search, indices:data/read/msearch
(2)使用命令添加用户并且 附上面角色。
/export/servers/elasticsearch/bin/shield/./esusers useradd adaptertest -r adaptersoa_kibana_user -p adaptertest
同时在附上kibana4_server角色。
/export/servers/elasticsearch/bin/shield/./esusers roles adaptertest -a kibana4_server
(3)使用kibana 访问出现下列信息。
Courier Fetch: 3 of 5 shards failed
问题分析:
有两个分片访问成功,最后发现其他两台没有上面配置信息。
解决办法:
其他两台节点 ,添加上面的用户和角色。
浏览访问正常。
- Courier Fetch: 3 of 5 shards failed
- 关于kibana查询elasticsearch的index提示Courier Fetch: 4 of 6 shards failed.处理方法
- Hadoop Failed fetch notification
- failed to fetch ... ppa
- Failed to fetch
- SolrCloud Wiki翻译(3)Shards & Indexing Data
- Incorrect number of FETCH variables
- ubuntu更新错误W:Failed to fetch
- Failed to fetch all URIs for container
- 【Ionic】Error: failed to fetch platform android
- Ubuntu failed to fetch ... hash sum mismatch
- ubuntu Failed to fetch 404 错误解决
- Ubuntu “Failed to fetch”错误的解决方法
- PAC Fetch failed with error [NSURLErrorDomain:-1002]
- 跟我一起云计算(5)——Shards
- 跟我一起云计算(5)——Shards
- Hibernate Shards
- Hibernate Shards
- SOA面试题
- Python-解决pip安装库时UnicodeDecodeError的错误
- pgsql检索数据库中表是否存在的时候,变量值区分大小写
- LNMP环境搭建 Ubuntu篇
- Android中分辨率,DPI,DP与PX对应关系
- Courier Fetch: 3 of 5 shards failed
- 杭电1214 圆桌的问题
- 多进程和多线程的优缺点
- 【Java线程】锁机制:synchronized、Lock、Condition
- HDOJ 1266 Reverse Number(数字反向输出题)
- 第三方缓存软件:Redis 和 Memcached
- 数字签名
- RowID和RowNum概念
- C++ String以0结尾