org.elasticsearch.transport.TransportSerializationException: Failed to deserialize response of type [org.elasticsearch.action.admin.cluster.node.liveness.LivenessResponse]

Stack Overflow | goatshepard | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ElasticSearch TransportClient fails with Could not initialize class org.elasticsearch.common.lucene.Lucene

    Stack Overflow | 6 months ago | goatshepard
    org.elasticsearch.transport.TransportSerializationException: Failed to deserialize response of type [org.elasticsearch.action.admin.cluster.node.liveness.LivenessResponse]

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class org.elasticsearch.common.lucene.Lucene

      at org.elasticsearch.Version.fromId()
    2. ElasticSearch
      DiscoveryNode.readNode
      1. org.elasticsearch.Version.fromId(Version.java:568)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      2. org.elasticsearch.Version.readVersion(Version.java:310)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      3. org.elasticsearch.cluster.node.DiscoveryNode.readFrom(DiscoveryNode.java:339)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      4. org.elasticsearch.cluster.node.DiscoveryNode.readNode(DiscoveryNode.java:322)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      4 frames
    3. org.elasticsearch.action
      LivenessResponse.readFrom
      1. org.elasticsearch.action.admin.cluster.node.liveness.LivenessResponse.readFrom(LivenessResponse.java:52)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      1 frame
    4. ElasticSearch
      MessageChannelHandler.messageReceived
      1. org.elasticsearch.transport.netty.MessageChannelHandler.handleResponse(MessageChannelHandler.java:178)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      2. org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:138)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      2 frames
    5. Netty
      DeadLockProofWorker$1.run
      1. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      2. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      3. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      4. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      5. org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      6. org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      7. org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      8. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      9. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      10. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      11. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      12. org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      13. org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      14. org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      15. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      16. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      17. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      18. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      19. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      20. org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      21. org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      22. org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      23. org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      24. org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      25. org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      26. org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)[phoenix-1.0.0-SNAPSHOT-fat.jar:na]
      26 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_67]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_67]
      3. java.lang.Thread.run(Thread.java:745)[na:1.7.0_67]
      3 frames