ElasticSearch常见问题
来源:互联网 发布:java怎么保留四位小数 编辑:程序博客网 时间:2024/06/05 13:27
1。 启动es服务报以下错误
bin/elasticsearch
2017-12-09 10:51:58,130 main ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
https://github.com/elastic/elasticsearch/issues/21932
ERROR: bootstrap checks failed
max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
解决方案:
修改/etc/sysctl.conf 文件,添加 “vm.max_map_count”设置
vm.max_map_count=655360
并执行:sysctl -p
vi /etc/security/limits.conf
添加如下内容:
* soft nofile 65536
* hard nofile 131072
* soft nproc 2048
* hard nproc 4096
failed to send join request to master [{node_171}{NT2Ja3nbTUWTBds1YKK6IA}{9o4wdJDSQtKEax63JNDm3w}{10.2.7.171}{10.2.7.171:9300}], reason [RemoteTransportException[[node_171][10.2.7.171:9300][internal:discovery/zen/join]]; nested: IllegalArgumentException[can't add node {node_22}{4nxfktphTMy4Uj8DHhlYCg}{IDgspa04T3qlI6io8PEOUA}{10.2.30.22}{10.2.30.22:9300}, found existing node {node_24}{4nxfktphTMy4Uj8DHhlYCg}{vyz1ZWgqTBO8XLOfvmm_2w}{10.2.16.24}{10.2.16.24:9300} with the same id but is a different node instance]; ]
解决方案:rm -rf data/nodes
- ElasticSearch常见问题
- Elasticsearch常见问题收集
- Elasticsearch常见问题收集
- Elasticsearch常见问题与解决
- elasticsearch常见问题总结
- Elasticsearch 常见问题汇总
- ElasticSearch 5.0 客户端访问常见问题
- elasticsearch 5.x常见问题整理
- ElasticSearch 5.4 客户端访问常见问题
- ElasticSearch 5.x 部署及常见问题
- 【Elasticsearch】常见问题汇总——持续更新
- Elasticsearch 性能监控2(五种常见问题的解决办法)
- Elasticsearch学习笔记2----聚合操作及常见问题解决
- ElasticSearch
- Elasticsearch
- Elasticsearch
- ElasticSearch
- elasticSearch
- ov7725连接图
- Java面试题之static、构造函数 、继承
- 第一章(问题总结)
- Mysql
- 《OpenCV学习笔记目录》
- ElasticSearch常见问题
- 实现登录概要监控的BashShell脚本
- 使用JSON.parse(JSON.stringify(test))对对象、数组的深度拷贝
- Java线程调试不进入方法的问题
- 【Learning】动态树分治
- django网站开发环境的搭建
- node vue 初探
- UE工作模式
- [bzoj2086][Poi2010]Blocks