JedisDataException: ERR unknown command 'CONFIG'

1,507 views
Skip to first unread message

Toshihiro Oe

unread,
Dec 4, 2014, 3:06:33 AM12/4/14
to jedis...@googlegroups.com
Hi.
JedisDataException occurs in "configResetStat()".

redis.clients.jedis.exceptions.JedisDataException: ERR unknown command 'CONFIG'
at redis.clients.jedis.Protocol.processError(Protocol.java:104) ~[jedis-2.4.2.jar:na]
at redis.clients.jedis.Protocol.process(Protocol.java:122) ~[jedis-2.4.2.jar:na]
at redis.clients.jedis.Protocol.read(Protocol.java:191) ~[jedis-2.4.2.jar:na]
at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:175) ~[jedis-2.4.2.jar:na]
at redis.clients.jedis.BinaryJedis.configResetStat(BinaryJedis.java:2982) ~[jedis-2.4.2.jar:na]

Jedis jedis = new Jedis(hap.getHost(), hap.getPort());
jedis.configResetStat();

redis_version:2.8.13

임정택

unread,
Dec 4, 2014, 7:29:09 AM12/4/14
to jedis...@googlegroups.com
Could you please turn on "monitor" from redis-cli to check what command is really sended?
It seems that current master branch is fine.

Toshihiro Oe

unread,
Dec 5, 2014, 4:39:47 AM12/5/14
to jedis...@googlegroups.com
It was my mistake. 
I was to send a command to the Sentinel server. 
sorry...

2014年12月4日木曜日 21時29分09秒 UTC+9 임정택:

임정택

unread,
Dec 5, 2014, 8:36:45 PM12/5/14
to jedis...@googlegroups.com
Never mind. :) We're human and we have been made a lot of mistakes. This is a trivial sort of things. :)

2014년 12월 5일 금요일 오후 6시 39분 47초 UTC+9, Toshihiro Oe 님의 말:
Reply all
Reply to author
Forward
0 new messages