I am attempting to configure a unicast (probably TCP) cluster instead
of auto discovery with multicast. I am not familiar with JGroups at
all so this is all new to me. I've probably got it completely wrong
but I've pasted my configurations below. I also pasted the error I am
receiving trying this configuration. What would the proper
configuration look like to setup a unicast cluster with a preset list
of nodes?
Thanks for your help and for this great project!
Node 1:
network:
bindHost: 10.16.253.138
discovery:
jgroups:
config: tcp
tcpping:
initial_hosts: 10.20.124.107[9200]
Node 2:
network:
bindHost: 10.20.124.107
discovery:
jgroups:
config: tcp
tcpping:
initial_hosts: 10.16.253.138[9200]
[12:27:58,295][INFO ][server ] [Wind Dancer]
{ElasticSearch/0.4.0}: Initializing ...
[12:27:59,336][WARN ][jgroups.stack.Configurator] TCP property
skip_suspected_members was deprecated and is ignored
[12:27:59,699][INFO ][server ] [Wind Dancer]
{ElasticSearch/0.4.0}: Initialized
[12:27:59,699][INFO ][server ] [Wind Dancer]
{ElasticSearch/0.4.0}: Starting ...
[12:27:59,751][INFO ][transport ] [Wind Dancer]
boundAddress [inet[/10.20.124.107:9300]], publishAddress [inet[/
10.20.124.107:9300]]
[12:28:02,825][INFO ][cluster ] [Wind Dancer] New
Master [Wind Dancer][node2-41060][data][inet[/10.20.124.107:9300]]
[12:28:02,825][INFO ][discovery ] [Wind Dancer]
elasticsearch/node2-41060
[12:28:02,877][INFO ][http ] [Wind Dancer]
boundAddress [inet[/10.20.124.107:9200]], publishAddress [inet[/
10.20.124.107:9200]]
[12:28:58,575][WARN ][http.netty ] [Wind Dancer] Caught
exception while handling client http trafic
java.lang.IllegalArgumentException: empty text
at
org.jboss.netty.handler.codec.http.HttpVersion.(HttpVersion.java:
90)
at
org.jboss.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:
68)
at
org.jboss.netty.handler.codec.http.HttpRequestDecoder.createMessage(HttpRequestDecoder.java:
81)
at
org.jboss.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:
169)
at
org.jboss.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:
78)
at
org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:
454)
at
org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:
427)
at
org.jboss.netty.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:
156)
at
org.elasticsearch.http.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:
49)
at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
345)
at
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
332)
at
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:323)
at
org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:
275)
at
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
at
org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:
46)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1110)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)