nightdomain / jmemcache-daemon

Automatically exported from code.google.com/p/jmemcache-daemon
Apache License 2.0
0 stars 0 forks source link

memslap 1.0 fails when using -B (binary) protocol #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install memslap from libmemcached 0.37 (or from bzr)
2. run with the -B flag against jmemcached

What is the expected output? What do you see instead?

Expected output should be complete benchmark; actual result is:

Client side:

Failed to write, and not due to blocking.
Failed to write, and not due to blocking.

Server side:

SEVERE: error
com.thimbleware.jmemcached.protocol.exceptions.MalformedCommandException: 
binary request payload is invalid, magic byte incorrect
    at 
com.thimbleware.jmemcached.protocol.binary.MemcachedBinaryCommandDecoder.dec
ode(MemcachedBinaryCommandDecoder.java:102)

Original issue reported on code.google.com by ryan.daum on 8 Feb 2010 at 1:44

GoogleCodeExporter commented 9 years ago
This is the full log:
Feb 13, 2011 9:44:26 AM 
com.thimbleware.jmemcached.protocol.binary.MemcachedBinaryResponseEncoder 
exceptionCaught
SEVERE: error
com.thimbleware.jmemcached.protocol.exceptions.MalformedCommandException: 
binary request payload is invalid, magic byte incorrect
    at com.thimbleware.jmemcached.protocol.binary.MemcachedBinaryCommandDecoder.decode(MemcachedBinaryCommandDecoder.java:106)
    at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:282)
    at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:214)
    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)
    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)
    at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:350)
    at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:281)
    at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:201)
    at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)

Original comment by harel.e...@gmail.com on 13 Feb 2011 at 2:46