elasticsearh 中每个节点中需要有相同的插件

elasticsearh 中每个节点中需要有相同的插件

[2016-09-13 19:25:24,049][INFO ][discovery.zen            ] [node02] failed to send join request to master [{node01}{QK57J4obTmukWlK3pa3cNg}{192.168.32.80}{192.168.32.80:9300}], reason [RemoteTransportException[[node01][192.168.32.80:9300][internal:discovery/zen/join]]; nested: IllegalStateException[failure when sending a validation request to node]; nested: RemoteTransportException[[node02][192.168.32.81:9300][internal:discovery/zen/join/validate]]; nested: IllegalArgumentException[No custom metadata prototype registered for type [licenses], node like missing plugins]; ]
[2016-09-13 19:25:27,059][WARN ][transport.netty          ] [node02] exception caught on transport layer [[id: 0xe58fa103, /192.168.32.80:39946 => /192.168.32.81:9300]], closing connection
java.lang.IllegalStateException: Message not fully read (request) for requestId [9740], action [internal:discovery/zen/join/validate], readerIndex [62299] vs expected [77815]; resetting
	at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:121)
	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)


node like missing plugins]


192.168.32.80:

[elk@zjtest7-redis bin]$ ./plugin  list
Installed plugins in /usr/local/elasticsearch-2.3.4/plugins:
    - marvel-agent
    - license
    - head
    - bigdesk

卸载:
zjtest7-redis:/usr/local/elasticsearch-2.3.4/bin# ./plugin remove license
-> Removing license...
Removed license
zjtest7-redis:/usr/local/elasticsearch-2.3.4/bin# ./plugin remove marvel-agent
-> Removing marvel-agent...
Removed marvel-agent
zjtest7-redis:/usr/local/elasticsearch-2.3.4/bin# ./plugin remove bigdesk
-> Removing bigdesk...
Removed bigdesk


192.168.32.81:
Installed plugins in /usr/local/elasticsearch-2.3.4/plugins:
    - head


[elk@zjtest7-haproxy bin]$ ./plugin  list
Installed plugins in /usr/local/elasticsearch-2.3.4/plugins:
    - head
    - bigdesk


注意 :

每个节点都需要有相同的插件

原文地址:https://www.cnblogs.com/zhaoyangjian724/p/6199211.html