[ https://issues.apache.org/jira/browse/GEODE-9275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Smith resolved GEODE-9275. ------------------------------ Resolution: Won't Fix Closing this issue because geode-for-redis was removed in GEODE-10278 > Geode redis need to support memory usage command > ------------------------------------------------ > > Key: GEODE-9275 > URL: https://issues.apache.org/jira/browse/GEODE-9275 > Project: Geode > Issue Type: Bug > Components: redis > Reporter: Eric Shu > Priority: Major > > This is found when converting jedis client integrated test to use jedis > cluster cleint. > Native redis supports the memory usage command, but geode redis does not. > {noformat} > redis.clients.jedis.exceptions.JedisDataException: ERR unknown command > `MEMORY`, with args beginning with: `usage`, `key`, > at redis.clients.jedis.Protocol.processError(Protocol.java:132) > at redis.clients.jedis.Protocol.process(Protocol.java:166) > at redis.clients.jedis.Protocol.read(Protocol.java:220) > at > redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:283) > at redis.clients.jedis.Connection.getIntegerReply(Connection.java:225) > at redis.clients.jedis.Jedis.memoryUsage(Jedis.java:3911) > at redis.clients.jedis.JedisCluster$200.execute(JedisCluster.java:2275) > at redis.clients.jedis.JedisCluster$200.execute(JedisCluster.java:2272) > at > redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:104) > at > redis.clients.jedis.JedisClusterCommand.run(JedisClusterCommand.java:25) > at redis.clients.jedis.JedisCluster.memoryUsage(JedisCluster.java:2277) > at > org.apache.geode.redis.internal.executor.string.AbstractAppendIntegrationTest.testAppend_actuallyIncreasesBucketSize(AbstractAppendIntegrationTest.java:118) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) > at > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at > org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at > org.apache.geode.test.junit.rules.serializable.SerializableExternalResource$1.evaluate(SerializableExternalResource.java:38) > at org.junit.rules.RunRules.evaluate(RunRules.java:20) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > at org.junit.runner.JUnitCore.run(JUnitCore.java:137) > at > com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) > at > com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) > at > com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) > at > com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) > {noformat} -- This message was sent by Atlassian Jira (v8.20.7#820007)