Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-27658

elasticsearch ClassNotFoundException: org.elasticsearch.transport.RemoteTransportException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.0
    • Fix Version/s: 10.1, 11.0
    • Component/s: Search
    • Labels:
      None
    • 10 status:
      Resolved
    • Previous Issue Keys:
      SRCH-134

      Description

      elasticsearch configured in a cluster with

      elasticsearch.discovery.zen.ping.multicast.enabled=false
      elasticsearch.discovery.zen.ping.unicast.hosts=...

      Lots of errors like this, with the underlying cause appearing to be

      Caused by: java.lang.ClassNotFoundException: org.elasticsearch.transport.RemoteTransportException

      2014-07-12 11:51:14,436 WARN elasticsearch[vula3b][generic]T#8 org.elasticsearch.cluster.action.shard - [vula3b] [sakai_index][7] sending failed shard for [sakai_index][7], node[mQMddOFLQgCQ68bBtNidqg], relocating [djVmgLkoSwu8WMm-onPrGg], [P], s[INITIALIZING], indexUUID [T_SE_DmMSDur85x_9naLDg], reason [Failed to start shard, message [RecoveryFailedException[[sakai_index][7]: Recovery failed from [vula2a][djVmgLkoSwu8WMm-onPrGg][inet[/137.158.155.9:9300]]

      {local=false} into [vula3b][mQMddOFLQgCQ68bBtNidqg][inet[/137.158.155.16:9301]]{local=false}

      ]; nested: RemoteTransportException[Failed to deserialize exception response from stream]; nested: TransportSerializationException[Failed to deserialize exception response from stream]; nested: InvalidClassException[failed to read class descriptor]; nested: ClassNotFoundException[org.elasticsearch.transport.RemoteTransportException]; ]]
      2014-07-12 11:51:14,464 WARN elasticsearch[vula3b][transport_client_worker]T#1

      {New I/O worker #1}

      org.elasticsearch.transport.netty - [vula3b] Message not fully read (response) for [20961] handler future(org.elasticsearch.indices.recovery.RecoveryTarget$4@602b118f), error [true], resetting
      2014-07-12 11:51:14,464 WARN elasticsearch[vula3b][generic]T#8 org.elasticsearch.indices.cluster - [vula3b] [sakai_index][13] failed to start shard
      org.elasticsearch.indices.recovery.RecoveryFailedException: [sakai_index][13]: Recovery failed from [vula2a][djVmgLkoSwu8WMm-onPrGg][inet[/137.158.155.9:9300]]

      {local=false} into [vula3b][mQMddOFLQgCQ68bBtNidqg][inet[/137.158.155.16:9301]]{local=false}


      at org.elasticsearch.indices.recovery.RecoveryTarget.doRecovery(RecoveryTarget.java:303)
      at org.elasticsearch.indices.recovery.RecoveryTarget.access$300(RecoveryTarget.java:65)
      at org.elasticsearch.indices.recovery.RecoveryTarget$2.run(RecoveryTarget.java:171)
      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:745)
      Caused by: 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:169)
      at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:123)
      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:745)
      Caused by: java.io.InvalidClassException: failed to read class descriptor
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1603)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
      at org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:167)
      ... 23 more
      Caused by: java.lang.ClassNotFoundException: org.elasticsearch.transport.RemoteTransportException
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
      at org.elasticsearch.common.io.ThrowableObjectInputStream.loadClass(ThrowableObjectInputStream.java:93)
      at org.elasticsearch.common.io.ThrowableObjectInputStream.readClassDescriptor(ThrowableObjectInputStream.java:67)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1601)
      ... 28 more

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  smarquard Stephen Marquard
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration