redis.clients.jedis.exceptions.JedisDataException: ERR unknown command 'SENTINEL'

这里写图片描述

Exception in thread "Thread-3" redis.clients.jedis.exceptions.JedisDataException: ERR unknown command 'SENTINEL'
    at redis.clients.jedis.Protocol.processError(Protocol.java:118)
    at redis.clients.jedis.Protocol.process(Protocol.java:152)
    at redis.clients.jedis.Protocol.read(Protocol.java:206)
    at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:266)
    at redis.clients.jedis.Connection.getRawObjectMultiBulkReply(Connection.java:232)
    at redis.clients.jedis.Connection.getObjectMultiBulkReply(Connection.java:237)
    at com.cares.sh.redis.Jredis.sentinelMasters(Jredis.java:72)
    at com.cares.sh.redis.RedisPool.run(RedisPool.java:37)

解决办法:可以重新部署 换个端口试一下!

你可能感兴趣的:(redis.clients.jedis.exceptions.JedisDataException: ERR unknown command 'SENTINEL')