Java code -
m.put("cluster.name", elasticclustername);
Settings s = ImmutableSettings.settingsBuilder().put(m).build();
client = new TransportClient(s).addTransportAddress(new
InetSocketTransportAddress(elastichost, elasticport));
issue on elasticsearch server log -
[2015-01-12 22:10:10,664][WARN ][river.rabbitmq ] [Hitman]
[rabbitmq][my_river] failed to created a connection / channel
java.net.ConnectException: Connection refused
*issue on production server - *
2015-01-12 22:20:53 DEBUG netty:94 - [Dansen Macabre] connected to node
[[#transport#-1][inet[/:9300]]]
2015-01-12 22:20:53 WARN netty:114 - [Dansen Macabre] Message not fully
read (response) for [10] handler
future(org.elasticsearch.client.transport.TransportClientNodesService$SimpleNodeSampler$1@3c08e293),
error [true], resetting
2015-01-12 22:20:53 INFO transport:109 - [Dansen Macabre] failed to get
node info for [#transport#-1][inet[/:9300]],
disconnecting...
org.elasticsearch.transport.RemoteTransportException: Failed to deserialize
exception response from stream
Caused by: org.elasticsearch.transport.TransportSerializationException:
Failed to deserialize exception response from stream
at
org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:171)
at
org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:125).......
as i am new to elasticsearch, i can't get where i am wrong.
any help will be appreciated.
m.put("cluster.name", elasticclustername);
Settings s = ImmutableSettings.settingsBuilder().put(m).build();
client = new TransportClient(s).addTransportAddress(new InetSocketTransportAddress(elastichost, elasticport));
issue on elasticsearch server log -
[2015-01-12 22:10:10,664][WARN ][river.rabbitmq ] [Hitman] [rabbitmq][my_river] failed to created a connection / channel
java.net.ConnectException: Connection refused
issue on production server -
2015-01-12 22:20:53 DEBUG netty:94 - [Dansen Macabre] connected to node [[#transport#-1][inet[/:9300]]]
2015-01-12 22:20:53 WARN netty:114 - [Dansen Macabre] Message not fully read (response) for [10] handler future(org.elasticsearch.client.transport.TransportClientNodesService$SimpleNodeSampler$1@3c08e293), error [true], resetting
2015-01-12 22:20:53 INFO transport:109 - [Dansen Macabre] failed to get node info for [#transport#-1][inet[/:9300]], disconnecting...
org.elasticsearch.transport.RemoteTransportException: Failed to deserialize exception response from stream
Caused by: org.elasticsearch.transport.TransportSerializationException: Failed to deserialize exception response from stream
at org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:171)
at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:125).......
as i am new to elasticsearch, i can't get where i am wrong.
any help will be appreciated.
changed the version of elasticsearch now i have same version of jvm
and elasticsearch on both server but now i have below issue
Issue on elasticsearch server* -
[2015-01-13 05:02:16,737][WARN ][cluster.metadata ]
[Blindside] [test005] failed to create
org.elasticsearch.indices.IndexCreationException: [test005] failed to
create index
at
org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:289)
....
On Tuesday, January 13, 2015 at 12:25:36 PM UTC+5:30, David Pilato wrote:
remove any plugin. Just try to make your Java client connecting to your
cluster.
Use exactly the same Java version and the same elasticsearch version on
both ends.
HTH
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 13 janv. 2015 à 07:43, Rikhi <rikh...@gmail.com <javascript:>> a
écrit :
Java code -
m.put("cluster.name", elasticclustername);
Settings s = ImmutableSettings.settingsBuilder().put(m).build();
client = new TransportClient(s).addTransportAddress(new
InetSocketTransportAddress(elastichost, elasticport));
issue on elasticsearch server log -
[2015-01-12 22:10:10,664][WARN ][river.rabbitmq ] [Hitman]
[rabbitmq][my_river] failed to created a connection / channel
java.net.ConnectException: Connection refused
*issue on production server - *
2015-01-12 22:20:53 DEBUG netty:94 - [Dansen Macabre] connected to node
[[#transport#-1][inet[/:9300]]]
2015-01-12 22:20:53 WARN netty:114 - [Dansen Macabre] Message not fully
read (response) for [10] handler
future(org.elasticsearch.client.transport.TransportClientNodesService$SimpleNodeSampler$1@3c08e293),
error [true], resetting
2015-01-12 22:20:53 INFO transport:109 - [Dansen Macabre] failed to get
node info for [#transport#-1][inet[/:9300]],
disconnecting...
org.elasticsearch.transport.RemoteTransportException: Failed to
deserialize exception response from stream
Caused by: org.elasticsearch.transport.TransportSerializationException:
Failed to deserialize exception response from stream
at
org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:171)
at
org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:125).......
as i am new to elasticsearch, i can't get where i am wrong.
any help will be appreciated.
changed the version of elasticsearch now i have same version of jvm and elasticsearch on both server but now i have below issue
Issue on elasticsearch server -
[2015-01-13 05:02:16,737][WARN ][cluster.metadata ] [Blindside] [test005] failed to create
org.elasticsearch.indices.IndexCreationException: [test005] failed to create index
at org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:289)
....
issue on production server -
2015-01-13 04:47:22 DEBUG RabbitMqRiverIndexer:46 - ::: createindexresponseactionGet :::
2015-01-13 04:47:22 ERROR RabbitMqRiverIndexer:121 - org.elasticsearch.indices.IndexCreationException: [test005] failed to create index
2015-01-13 04:47:22 ERROR BusinessLogic:141 - com.arosys.customexception.CustomException: Error ClassName--com.arosys.doqeap.esearch.RabbitMqRiverIndexer : : ErrorMessage-[test005] failed to create index
2015-01-13 04:47:22 DEBUG BusinessLogic:159 - map--{errormessage=Error ClassName--com.arosys.doqeap.esearch.RabbitMqRiverIndexer : : ErrorMessage-[test005] failed to create index, instanceid=null, processid=null, responseexchangename=exchange_LifeCycleProcess--2.0--8, responsemessageheader=elasticmessageheader, responsequeuename=null, responseroutekeyname=routekey_LifeCycleProcess--2.0--8, status=FAIL, taskid=null}
what should i do now please help.
On Tuesday, January 13, 2015 at 12:25:36 PM UTC+5:30, David Pilato wrote:
remove any plugin. Just try to make your Java client connecting to your cluster.
Use exactly the same Java version and the same elasticsearch version on both ends.
HTH
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 13 janv. 2015 à 07:43, Rikhi <rikh...@gmail.com <javascript:>> a écrit :
Java code -
m.put("cluster.name http://cluster.name/", elasticclustername);
Settings s = ImmutableSettings.settingsBuilder().put(m).build();
client = new TransportClient(s).addTransportAddress(new InetSocketTransportAddress(elastichost, elasticport));
issue on elasticsearch server log -
[2015-01-12 22:10:10,664][WARN ][river.rabbitmq ] [Hitman] [rabbitmq][my_river] failed to created a connection / channel
java.net.ConnectException: Connection refused
issue on production server -
2015-01-12 22:20:53 DEBUG netty:94 - [Dansen Macabre] connected to node [[#transport#-1][inet[/:9300]]]
2015-01-12 22:20:53 WARN netty:114 - [Dansen Macabre] Message not fully read (response) for [10] handler future(org.elasticsearch.client.transport.TransportClientNodesService$SimpleNodeSampler$1@3c08e293), error [true], resetting
2015-01-12 22:20:53 INFO transport:109 - [Dansen Macabre] failed to get node info for [#transport#-1][inet[/:9300]], disconnecting...
org.elasticsearch.transport.RemoteTransportException: Failed to deserialize exception response from stream
Caused by: org.elasticsearch.transport.TransportSerializationException: Failed to deserialize exception response from stream
at org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:171)
at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:125).......
as i am new to elasticsearch, i can't get where i am wrong.
any help will be appreciated.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.