博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
elasticsearch 5.0安装使用的那些坑
阅读量:5324 次
发布时间:2019-06-14

本文共 1976 字,大约阅读时间需要 6 分钟。

1. 不能以root用户来启动ES

[esadmin@master bin]$ ./elasticsearch

[2016-11-16 11:11:41,017][WARN ][bootstrap ] unable to install syscall filter: seccomp unavailable: requires kernel 3.5+ with CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER compiled in
[2016-11-16 11:11:41,250][INFO ][node ] [es-node-1] version[2.4.1], pid[3560], build[c67dc32/2016-09-27T18:57:55Z]
[2016-11-16 11:11:41,250][INFO ][node ] [es-node-1] initializing ...
[2016-11-16 11:11:42,213][INFO ][plugins ] [es-node-1] modules [reindex, lang-expression, lang-groovy], plugins [], sites []
[2016-11-16 11:11:42,246][INFO ][env ] [es-node-1] using [1] data paths, mounts [[/ (/dev/mapper/VolGroup-lv_root)]], net usable_space [26.4gb], net total_space [34.9gb], spins? [possibly], types [ext4]
[2016-11-16 11:11:42,246][INFO ][env ] [es-node-1] heap size [989.8mb], compressed ordinary object pointers [true]
[2016-11-16 11:11:42,246][WARN ][env ] [es-node-1] max file descriptors [4096] for elasticsearch process likely too low, consider increasing to at least [65536]
[2016-11-16 11:11:44,705][INFO ][node ] [es-node-1] initialized
[2016-11-16 11:11:44,705][INFO ][node ] [es-node-1] starting ...
[2016-11-16 11:11:44,822][INFO ][transport ] [es-node-1] publish_address {172.17.42.1:9300}, bound_addresses {[::]:9300}
[2016-11-16 11:11:44,833][INFO ][discovery ] [es-node-1] es-cluster/ld5PBeIJQ1K9ADfxMPxI-g
[2016-11-16 11:11:47,912][INFO ][cluster.service ] [es-node-1] new_master {es-node-1}{ld5PBeIJQ1K9ADfxMPxI-g}{172.17.42.1}{172.17.42.1:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
[2016-11-16 11:11:47,940][INFO ][http ] [es-node-1] publish_address {172.17.42.1:9200}, bound_addresses {[::]:9200}
[2016-11-16 11:11:47,941][INFO ][node ] [es-node-1] started
[2016-11-16 11:11:48,024][INFO ][gateway ] [es-node-1] recovered [0] indices into cluster_state

解决办法:新建一个ES用户,具体请参考:https://my.oschina.net/topeagle/blog/591451?fromerr=mzOr2qzZ

 

转载于:https://www.cnblogs.com/zhengchunhao/p/6068944.html

你可能感兴趣的文章
ERROR: duplicate key value violates unique constraint "xxx"
查看>>
激活office 365 的启动文件
查看>>
无法根据中文查找
查看>>
[简讯]phpMyAdmin项目已迁移至GitHub
查看>>
转载 python多重继承C3算法
查看>>
【题解】 bzoj1597: [Usaco2008 Mar]土地购买 (动态规划+斜率优化)
查看>>
css文本溢出显示省略号
查看>>
git安装和简单配置
查看>>
面向对象:反射,双下方法
查看>>
鼠标悬停提示文本消息最简单的做法
查看>>
课后作业-阅读任务-阅读提问-2
查看>>
面向对象设计中private,public,protected的访问控制原则及静态代码块的初始化顺序...
查看>>
fat32转ntfs ,Win7系统提示对于目标文件系统文件过大解决教程
查看>>
Awesome Adb——一份超全超详细的 ADB 用法大全
查看>>
shell cat 合并文件,合并数据库sql文件
查看>>
Android 将drawable下的图片转换成bitmap、Drawable
查看>>
介绍Win7 win8 上Java环境的配置
查看>>
移动、联通和电信,哪家的宽带好,看完你就知道该怎么选了!
查看>>
Linux设置环境变量的方法
查看>>
构建自己的项目管理方案
查看>>