你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
发现
分享
文章
活动
登录
提问:布和纸怕什么?
elasticsearch启动报错,求大神看看
Elasticsearch
| 作者
a434935
| 发布于2017年01月15日 | 阅读数:
17638
分享到:
QQ空间
新浪微博
微信
QQ好友
印象笔记
有道云笔记
系统提示:这个人太懒了,什么问题描述都没有写!
没有找到相关结果
已邀请:
与内容相关的链接
提交
2 个回复
a434935
赞同来自:
$ ./elasticsearch
[2017-01-15T22:31:49,803][INFO ][o.e.n.Node ] [] initializing ...
[2017-01-15T22:31:50,846][INFO ][o.e.e.NodeEnvironment ] [HKKO5nk] using [1] data paths, mounts [[/ (/dev/sda1)]], net usable_space [30.7gb], net total_space [38.2gb], spins? [possibly], types [ext4]
[2017-01-15T22:31:50,849][INFO ][o.e.e.NodeEnvironment ] [HKKO5nk] heap size [1.9gb], compressed ordinary object pointers [true]
[2017-01-15T22:31:50,863][INFO ][o.e.n.Node ] node name [HKKO5nk] derived from node ID [HKKO5nkzSHWMEhojiWQK3g]; set [node.name] to override
[2017-01-15T22:31:50,950][INFO ][o.e.n.Node ] version[5.1.1], pid[3167], build[5395e21/2016-12-06T12:36:15.409Z], OS[Linux/3.13.0-24-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_111/25.111-b14]
[2017-01-15T22:32:04,168][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [aggs-matrix-stats]
[2017-01-15T22:32:04,168][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [ingest-common]
[2017-01-15T22:32:04,169][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [lang-expression]
[2017-01-15T22:32:04,169][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [lang-groovy]
[2017-01-15T22:32:04,169][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [lang-mustache]
[2017-01-15T22:32:04,169][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [lang-painless]
[2017-01-15T22:32:04,169][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [percolator]
[2017-01-15T22:32:04,170][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [reindex]
[2017-01-15T22:32:04,170][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [transport-netty3]
[2017-01-15T22:32:04,171][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [transport-netty4]
[2017-01-15T22:32:04,172][INFO ][o.e.p.PluginsService ] [HKKO5nk] no plugins loaded
[2017-01-15T22:32:10,411][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [http.cors.enable] did you mean [http.cors.enabled]?
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.cli.Command.main(Command.java:62) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:89) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:82) ~[elasticsearch-5.1.1.jar:5.1.1]
Caused by: java.lang.IllegalArgumentException: unknown setting [http.cors.enable] did you mean [http.cors.enabled]?
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:278) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:246) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:138) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.node.Node.<init>(Node.java:325) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.node.Node.<init>(Node.java:229) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Bootstrap$6.<init>(Bootstrap.java:214) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:214) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:306) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) ~[elasticsearch-5.1.1.jar:5.1.1]
... 6 more
leighton_buaa
赞同来自:
log说的很明白了
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [http.cors.enable] did you mean [http.cors.enabled]
5.0以后在启动时加入了参数检查,参数如果不合法会报错
要回复问题请先
登录
或
注册
发起人
a434935
活动推荐
Aug
15
2025 Zabbix 中国峰会
上海
·
8-15 周五
·
报名中
Oct
17
第27届 GOPS 全球运维大会暨研运数智化技术峰会 · 上海站
上海
·
10-17 周五
·
报名中
相关问题
elasticsearch scroll查询的原理没太懂
我来写第一个帖子-你们都是什么时候知道elasticsearch的?
怎么解决elasticsearch集群占用太多虚拟内存(VIRT)的问题?占用了几十个G,有什么可以对它进行限制的相关设置吗?
elasticsearch 设置 node.data: false 依然有数据
ElasticSearch-Hadoop的目標是什麼呢??
elasticsearch functionScoreQuery scriptFunction效率问题
如何清理Elasticsearch特定时间段数据?
Elasticsearch聚合操作的时间复杂度是O(n)吗?
请教elasticsearch出现unassigned shards根本原因
如何设置分配给elasticsearch的内存大小?
Elasticsearch查询时指定分词器
问题状态
最新活动:
2017-01-16 11:08
浏览:
17638
关注:
2
人
2 个回复
a434935
赞同来自:
[2017-01-15T22:31:49,803][INFO ][o.e.n.Node ] [] initializing ...
[2017-01-15T22:31:50,846][INFO ][o.e.e.NodeEnvironment ] [HKKO5nk] using [1] data paths, mounts [[/ (/dev/sda1)]], net usable_space [30.7gb], net total_space [38.2gb], spins? [possibly], types [ext4]
[2017-01-15T22:31:50,849][INFO ][o.e.e.NodeEnvironment ] [HKKO5nk] heap size [1.9gb], compressed ordinary object pointers [true]
[2017-01-15T22:31:50,863][INFO ][o.e.n.Node ] node name [HKKO5nk] derived from node ID [HKKO5nkzSHWMEhojiWQK3g]; set [node.name] to override
[2017-01-15T22:31:50,950][INFO ][o.e.n.Node ] version[5.1.1], pid[3167], build[5395e21/2016-12-06T12:36:15.409Z], OS[Linux/3.13.0-24-generic/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_111/25.111-b14]
[2017-01-15T22:32:04,168][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [aggs-matrix-stats]
[2017-01-15T22:32:04,168][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [ingest-common]
[2017-01-15T22:32:04,169][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [lang-expression]
[2017-01-15T22:32:04,169][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [lang-groovy]
[2017-01-15T22:32:04,169][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [lang-mustache]
[2017-01-15T22:32:04,169][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [lang-painless]
[2017-01-15T22:32:04,169][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [percolator]
[2017-01-15T22:32:04,170][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [reindex]
[2017-01-15T22:32:04,170][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [transport-netty3]
[2017-01-15T22:32:04,171][INFO ][o.e.p.PluginsService ] [HKKO5nk] loaded module [transport-netty4]
[2017-01-15T22:32:04,172][INFO ][o.e.p.PluginsService ] [HKKO5nk] no plugins loaded
[2017-01-15T22:32:10,411][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [http.cors.enable] did you mean [http.cors.enabled]?
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.cli.Command.main(Command.java:62) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:89) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:82) ~[elasticsearch-5.1.1.jar:5.1.1]
Caused by: java.lang.IllegalArgumentException: unknown setting [http.cors.enable] did you mean [http.cors.enabled]?
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:278) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:246) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:138) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.node.Node.<init>(Node.java:325) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.node.Node.<init>(Node.java:229) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Bootstrap$6.<init>(Bootstrap.java:214) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:214) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:306) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) ~[elasticsearch-5.1.1.jar:5.1.1]
... 6 more
leighton_buaa
赞同来自:
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [http.cors.enable] did you mean [http.cors.enabled]
5.0以后在启动时加入了参数检查,参数如果不合法会报错