You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2020/06/11 19:09:03 UTC
[GitHub] [geode] jdeppe-pivotal commented on pull request #5184: change more string commands to have CommandFunction support
jdeppe-pivotal commented on pull request #5184:
URL: https://github.com/apache/geode/pull/5184#issuecomment-642875100
I was trying some string OPs and saw this with `BITOP NOT`:
```
java.lang.ClassCastException: org.apache.geode.internal.cache.LocalDataSet cannot be cast to org.apache.geode.internal.cache.InternalRegion
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.internal.cache.execute.InternalFunctionExecutionServiceImpl.isClientRegion(InternalFunctionExecutionSe
rviceImpl.java:400)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.internal.cache.execute.InternalFunctionExecutionServiceImpl.onRegion(InternalFunctionExecutionServiceI
mpl.java:146)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.cache.execute.FunctionService.onRegion(FunctionService.java:76)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.redis.internal.executor.CommandFunction.execute(CommandFunction.java:52)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.redis.internal.executor.string.RedisStringCommandsFunctionExecutor.get(RedisStringCommandsFunctionExec
utor.java:57)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.redis.internal.data.RedisStringInRegion.bitop(RedisStringInRegion.java:177)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.redis.internal.executor.CommandFunction.lambda$compute$19(CommandFunction.java:177)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.redis.internal.executor.CommandFunction.compute(CommandFunction.java:335)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.redis.internal.executor.SingleResultRedisFunction.lambda$execute$0(SingleResultRedisFunction.java:51)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.internal.cache.PartitionedRegion.computeWithPrimaryLocked(PartitionedRegion.java:631)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.redis.internal.executor.SingleResultRedisFunction.computeWithPrimaryLocked(SingleResultRedisFunction.j
ava:71)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.redis.internal.executor.SingleResultRedisFunction.execute(SingleResultRedisFunction.java:55)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.internal.cache.PartitionedRegionDataStore.executeOnDataStore(PartitionedRegionDataStore.java:2996)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.internal.cache.partitioned.PartitionedRegionFunctionStreamingMessage.operateOnPartitionedRegion(PartitionedRegionFunctionStreamingMessage.java:101)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.internal.cache.partitioned.PartitionMessage.process(PartitionMessage.java:333)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:376)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:441)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.distributed.internal.ClusterOperationExecutors.runUntilShutdown(ClusterOperationExecutors.java:442)
at Remote Member '192.168.1.5(server2:78554)<v2>:41002' in org.apache.geode.distributed.internal.ClusterOperationExecutors.doFunctionExecutionThread(ClusterOperationExecutors.java:377)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org