elasticsearch5.2.2连接集群 报错 Unknown NamedWriteable
Elasticsearch | 作者 shwtz | 发布于2017年12月25日 | 阅读数:5926
在已经存在某一个服务器上的es主节点情况下,想要在另外一台服务器上启动几个节点加入既存的es集群,配置文件中指定了es集群名字,主节点ip地址,zen搜索的列表等,但是启动另外的节点尝试连接既存的es集群时报错:
[2017-12-25T09:52:15,051][INFO ][o.e.p.PluginsService ] [node-master-2nd] no plugins loaded
[2017-12-25T09:52:17,024][INFO ][o.e.n.Node ] [node-master-2nd] initialized
[2017-12-25T09:52:17,024][INFO ][o.e.n.Node ] [node-master-2nd] starting ...
[2017-12-25T09:52:17,110][WARN ][i.n.u.i.MacAddressUtil ] Failed to find a usable hardware address from the network interfaces; using random bytes: b2:e8:87:ba:ec:04:6a:fd
[2017-12-25T09:52:17,279][INFO ][o.e.t.TransportService ] [node-master-2nd] publish_address {10.10.2.120:9300}, bound_addresses {0.0.0.0:9300}
[2017-12-25T09:52:17,290][INFO ][o.e.b.BootstrapChecks ] [node-master-2nd] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2017-12-25T09:52:35,981][INFO ][o.e.d.z.ZenDiscovery ] [node-master-2nd] failed to send join request to master [{6TAEvB-}{6TAEvB-_TqKq-0uw3MZ85Q}{44LBDV2AQ4OF1Oq7qmo1NQ}{10.10.1.110}{10.10.1.110:9300}], reason [RemoteTransportException[[6TAEvB-][10.10.1.110:9300][internal:discovery/zen/join]]; nested: IllegalStateException[failure when sending a validation request to node]; nested: RemoteTransportException[[node-master-2nd][10.10.2.120:9300][internal:discovery/zen/join/validate]]; nested: IllegalArgumentException[Unknown NamedWriteable [org.elasticsearch.cluster.metadata.MetaData$Custom][licenses]]; ]
发现网上没有出现过类似的错误,不晓得从哪里下手解决,希望大神提供一下调查思路。或者有遇到过类似问题的,可以帮我解答一下。
[2017-12-25T09:52:15,051][INFO ][o.e.p.PluginsService ] [node-master-2nd] no plugins loaded
[2017-12-25T09:52:17,024][INFO ][o.e.n.Node ] [node-master-2nd] initialized
[2017-12-25T09:52:17,024][INFO ][o.e.n.Node ] [node-master-2nd] starting ...
[2017-12-25T09:52:17,110][WARN ][i.n.u.i.MacAddressUtil ] Failed to find a usable hardware address from the network interfaces; using random bytes: b2:e8:87:ba:ec:04:6a:fd
[2017-12-25T09:52:17,279][INFO ][o.e.t.TransportService ] [node-master-2nd] publish_address {10.10.2.120:9300}, bound_addresses {0.0.0.0:9300}
[2017-12-25T09:52:17,290][INFO ][o.e.b.BootstrapChecks ] [node-master-2nd] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2017-12-25T09:52:35,981][INFO ][o.e.d.z.ZenDiscovery ] [node-master-2nd] failed to send join request to master [{6TAEvB-}{6TAEvB-_TqKq-0uw3MZ85Q}{44LBDV2AQ4OF1Oq7qmo1NQ}{10.10.1.110}{10.10.1.110:9300}], reason [RemoteTransportException[[6TAEvB-][10.10.1.110:9300][internal:discovery/zen/join]]; nested: IllegalStateException[failure when sending a validation request to node]; nested: RemoteTransportException[[node-master-2nd][10.10.2.120:9300][internal:discovery/zen/join/validate]]; nested: IllegalArgumentException[Unknown NamedWriteable [org.elasticsearch.cluster.metadata.MetaData$Custom][licenses]]; ]
发现网上没有出现过类似的错误,不晓得从哪里下手解决,希望大神提供一下调查思路。或者有遇到过类似问题的,可以帮我解答一下。
2 个回复
[已注销]
赞同来自: shwtz
shwtz - 学物理想做演员的IT男
赞同来自: medcl
其实之前也有过一个类似的问题帖子,也出现了Unknown NamedWriteable的关键词。
好吧,我的原因和那个帖子的答主给出的一样,也是插件不一致。主节点有x-pack的插件,虽然已经禁用了。我一开始不知道主节点的配置,所以没有安装。
后来问清楚了,在其余节点上也安装了同样的插件,问题就自动解决了。
谢谢各位啦