CLIENT_ERROR bad data chunk

Todd Berman tberman at off.net
Fri Dec 15 23:28:05 UTC 2006


On Fri, 2006-12-15 at 17:13 -0500, Alex Jeannopoulos wrote:
> Does this make any sense. I am using memcached 1.2.1 also tested with
> 1.2.0, with the Java api 1.3.2. JDK 1.4.2_09 on windows. Memcache is on
> ubuntu linux libevent-1.2a, memcached launched with no args.
> 
> I have tested with complex structures no problem. I store two string and I
> have a wierd issue of CLIENT_ERROR bad data chunk
> 
> Below is the java snippet, java log and memcached output. Does anyone have
> an ideas. Thanks
> 
> Alex
> 
> Here is the java code
> 
> MemCachedClient mc = new MemCachedClient();
> mc.setCompressEnable(false);
> mc.setCompressThreshold(0);
> mc.set("XXSNick_Eternal Knightppp", "39584687");

You can't have spaces in keys.

--Todd



More information about the memcached mailing list