I have trouble with TransportSerializationException that occurs within our 
maven junit test case. 

All the servers and clients have been recently upgraded to ES 1.0.0 and has 
identical version of JAVA 7. 

The unit test cases worked with out any problem before and it still works 
in our Eclipse IDE environment. 
It simply fails during our maven build test stage. 

Here is our log. 

[Log4jESLogger] - [Choice] loaded [], sites [] 
[Log4jESLogger] - [Choice] failed to get node info for 
[#transport#-1][test][inet[/127.0.0.1:9300]], disconnecting... 
org.elasticsearch.transport.RemoteTransportException: Failed to deserialize 
response of type 
[org.elasticsearch.action.admin.cluster.node.info.NodesInfoResponse] 
Caused by: org.elasticsearch.transport.TransportSerializationException: 
Failed to deserialize response of type 
[org.elasticsearch.action.admin.cluster.node.info.NodesInfoResponse] 
        at 
org.elasticsearch.transport.netty.MessageChannelHandler.handleResponse(MessageChannelHandler.java:148)
 
        at 
org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:125)
 
        at 
org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
 
        at 
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
 
        at 
org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
 
        at 
org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296)
 
        at 
org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)
 
        at 
org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)
 
        at 
org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)
 
        at 
org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
 
        at 
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
 
        at 
org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
 
        at 
org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)
 
        at 
org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)
 
        at 
org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
 
        at 
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
 
        at 
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
 
        at 
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
 
        at 
org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
 
        at 
org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
 
        at 
org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
 
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
        at java.lang.Thread.run(Thread.java:744) 
Caused by: java.lang.AssertionError 
        at 
org.elasticsearch.common.io.stream.StreamInput.readVLong(StreamInput.java:220) 
        at 
org.elasticsearch.common.io.stream.AdapterStreamInput.readVLong(AdapterStreamInput.java:117)
 
        at 
org.elasticsearch.common.unit.SizeValue.readFrom(SizeValue.java:205) 
        at 
org.elasticsearch.common.unit.SizeValue.readSizeValue(SizeValue.java:199) 
        at 
org.elasticsearch.threadpool.ThreadPool$Info.readFrom(ThreadPool.java:604) 
        at 
org.elasticsearch.threadpool.ThreadPoolInfo.readFrom(ThreadPoolInfo.java:65) 
        at 
org.elasticsearch.threadpool.ThreadPoolInfo.readThreadPoolInfo(ThreadPoolInfo.java:55)
 
        at 
org.elasticsearch.action.admin.cluster.node.info.NodeInfo.readFrom(NodeInfo.java:224)
 
        at 
org.elasticsearch.action.admin.cluster.node.info.NodeInfo.readNodeInfo(NodeInfo.java:194)
 
        at 
org.elasticsearch.action.admin.cluster.node.info.NodesInfoResponse.readFrom(NodesInfoResponse.java:54)
 
        at 
org.elasticsearch.transport.netty.MessageChannelHandler.handleResponse(MessageChannelHandler.java:146)
 
        ... 23 more 

This might be related to... 
http://elasticsearch-users.115913.n3.nabble.com/Issue-with-unit-testing-TransportClient-td4049573.html

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/0e942269-8e82-42f8-ad5b-482386c1be48%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to