0 Replies Latest reply on Aug 14, 2014 4:17 PM by Srinivas Narahari

    infinispan memcache issue with spy.memcached java client for large file load

    Srinivas Narahari Newbie

      I am getting  error loading a  file with 300,000 records into memcache using net.spy java memcached client. No issues with other memcache servers, but with infinispan  memcache  on standalone server  with default configuration , I see following error after very few ( 120) records are loaded in cache .

      I have tried different versions of infinispan with same error with MemcachedDecoder, Any idea if I have to tinker with tcp settings or startup properties file?

       

      3:31:12,188 ERROR [org.infinispan.server.memcached.MemcachedDecoder] (MemcachedServerWorker-5-1) ISPN005003: Exception reported: org.infinispan.server.core.UnknownOperationException: Unknown operation:

        at org.infinispan.server.memcached.RequestResolver$.toRequest(MemcachedDecoder.scala:688) [infinispan.jar:7.0.0.Beta1]

        at org.infinispan.server.memcached.MemcachedDecoder.readHeader(MemcachedDecoder.scala:80) [infinispan.jar:7.0.0.Beta1]

        at org.infinispan.server.core.AbstractProtocolDecoder.decodeHeader(AbstractProtocolDecoder.scala:134) [infinispan.jar:7.0.0.Beta1]

        at org.infinispan.server.core.AbstractProtocolDecoder.decodeDispatch(AbstractProtocolDecoder.scala:70) [infinispan.jar:7.0.0.Beta1]

        at org.infinispan.server.core.AbstractProtocolDecoder.decode(AbstractProtocolDecoder.scala:61) [infinispan.jar:7.0.0.Beta1]

        at org.infinispan.server.memcached.MemcachedDecoder.decode(MemcachedDecoder.scala:68) [infinispan.jar:7.0.0.Beta1]

        at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:362) [netty-all-4.0.20.Final.jar:4.0.20.Final]

        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149) [netty-all-4.0.20.Final.jar:4.0.20.Final]

        at org.infinispan.server.core.AbstractProtocolDecoder.channelRead(AbstractProtocolDecoder.scala:471) [infinispan.jar:7.0.0.Beta1]

        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332) [netty-all-4.0.20.Final.jar:4.0.20.Final]

        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318) [netty-all-4.0.20.Final.jar:4.0.20.Final]

        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) [netty-all-4.0.20.Final.jar:4.0.20.Final]

        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125) [netty-all-4.0.20.Final.jar:4.0.20.Final]

        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507) [netty-all-4.0.20.Final.jar:4.0.20.Final]

        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464) [netty-all-4.0.20.Final.jar:4.0.20.Final]

        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378) [netty-all-4.0.20.Final.jar:4.0.20.Final]

        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350) [netty-all-4.0.20.Final.jar:4.0.20.Final]

        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.20.Final.jar:4.0.20.Final]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]