djveremix / redis

Automatically exported from code.google.com/p/redis
0 stars 0 forks source link

ERR invalid bulk write count -hget 1241120 201006261621381053 -version 1.3.16 #295

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
-hget 1241120 201006261621381053 

What is the expected output? What do you see instead?
ERR invalid bulk write count  

What version of the product are you using? On what operating system?
-v 1.3.16 ubuntu-server 10.04

Please provide any additional information below.

Original issue reported on code.google.com by shianli...@gmail.com on 27 Jul 2010 at 2:48

GoogleCodeExporter commented 8 years ago
You should read the protocol spec: 
http://code.google.com/p/redis/wiki/ProtocolSpecification
With HGET being a bulk command, your way of calling it is incorrect. For bulk 
commands, the last argument needs to be a stream of data. This allows Redis to 
work with binary data. See the spec on how to format your commands.

For next issues: it is helpful if you have problems on the client-side that you 
specify which client you are using (such as telnet in this case I assume).

Original comment by pcnoordh...@gmail.com on 27 Jul 2010 at 7:11