geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diane Hardman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-2703) Improve error message that Lucene queries are not supported in the context of a transaction
Date Fri, 07 Apr 2017 18:29:41 GMT

     [ https://issues.apache.org/jira/browse/GEODE-2703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Diane Hardman updated GEODE-2703:
---------------------------------
    Description: 
We currently do not support Lucene queries in the context of a transaction. The exception
thrown, however, may be confusing to the user.

ERROR org.apache.geode.cache.TransactionException: Function inside a transaction cannot execute
on more than one node

org.apache.geode.cache.TransactionException: Function inside a transaction cannot execute
on more than one node
at org.apache.geode.internal.cache.execute.PartitionedRegionFunctionExecutor.validateExecution(PartitionedRegionFunctionExecutor.java:344)
at org.apache.geode.internal.cache.PartitionedRegion.executeOnAllBuckets(PartitionedRegion.java:3840)
at org.apache.geode.internal.cache.PartitionedRegion.executeFunction(PartitionedRegion.java:3353)
at org.apache.geode.internal.cache.execute.PartitionedRegionFunctionExecutor.executeFunction(PartitionedRegionFunctionExecutor.java:228)
at org.apache.geode.internal.cache.execute.AbstractExecution.execute(AbstractExecution.java:376)
at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findTopEntries(LuceneQueryImpl.java:115)
at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findPages(LuceneQueryImpl.java:95)
at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findResults(LuceneQueryImpl.java:81)
at lucene.LuceneTest.executeLuceneQuery(LuceneTest.java:154)
at parReg.ParRegTest.doEntryOperations(ParRegTest.java:2929)
at parReg.ParRegTest.doRROpsAndVerify(ParRegTest.java:1709)
at parReg.ParRegTest.HydraTask_doRROpsAndVerify(ParRegTest.java:958)
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 hydra.MethExecutor.execute(MethExecutor.java:182)
at hydra.MethExecutor.execute(MethExecutor.java:150)
at hydra.TestTask.execute(TestTask.java:192)
at hydra.RemoteTestModule$1.run(RemoteTestModule.java:212)

```


  was:
We currently do not support Lucene queries in the context of a transaction. The exception
thrown, however, may be confusing to the user.

CLIENT vm_0_thr_0_client1_rs-GEM1332-client-2_20970
TASK[0] parReg.ParRegTest.HydraTask_doRROpsAndVerify
ERROR org.apache.geode.cache.TransactionException: Function inside a transaction cannot execute
on more than one node

org.apache.geode.cache.TransactionException: Function inside a transaction cannot execute
on more than one node
at org.apache.geode.internal.cache.execute.PartitionedRegionFunctionExecutor.validateExecution(PartitionedRegionFunctionExecutor.java:344)
at org.apache.geode.internal.cache.PartitionedRegion.executeOnAllBuckets(PartitionedRegion.java:3840)
at org.apache.geode.internal.cache.PartitionedRegion.executeFunction(PartitionedRegion.java:3353)
at org.apache.geode.internal.cache.execute.PartitionedRegionFunctionExecutor.executeFunction(PartitionedRegionFunctionExecutor.java:228)
at org.apache.geode.internal.cache.execute.AbstractExecution.execute(AbstractExecution.java:376)
at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findTopEntries(LuceneQueryImpl.java:115)
at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findPages(LuceneQueryImpl.java:95)
at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findResults(LuceneQueryImpl.java:81)
at lucene.LuceneTest.executeLuceneQuery(LuceneTest.java:154)
at parReg.ParRegTest.doEntryOperations(ParRegTest.java:2929)
at parReg.ParRegTest.doRROpsAndVerify(ParRegTest.java:1709)
at parReg.ParRegTest.HydraTask_doRROpsAndVerify(ParRegTest.java:958)
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 hydra.MethExecutor.execute(MethExecutor.java:182)
at hydra.MethExecutor.execute(MethExecutor.java:150)
at hydra.TestTask.execute(TestTask.java:192)
at hydra.RemoteTestModule$1.run(RemoteTestModule.java:212)

```



> Improve error message that Lucene queries are not supported in the context of a transaction
> -------------------------------------------------------------------------------------------
>
>                 Key: GEODE-2703
>                 URL: https://issues.apache.org/jira/browse/GEODE-2703
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Diane Hardman
>
> We currently do not support Lucene queries in the context of a transaction. The exception
thrown, however, may be confusing to the user.
> ERROR org.apache.geode.cache.TransactionException: Function inside a transaction cannot
execute on more than one node
> org.apache.geode.cache.TransactionException: Function inside a transaction cannot execute
on more than one node
> at org.apache.geode.internal.cache.execute.PartitionedRegionFunctionExecutor.validateExecution(PartitionedRegionFunctionExecutor.java:344)
> at org.apache.geode.internal.cache.PartitionedRegion.executeOnAllBuckets(PartitionedRegion.java:3840)
> at org.apache.geode.internal.cache.PartitionedRegion.executeFunction(PartitionedRegion.java:3353)
> at org.apache.geode.internal.cache.execute.PartitionedRegionFunctionExecutor.executeFunction(PartitionedRegionFunctionExecutor.java:228)
> at org.apache.geode.internal.cache.execute.AbstractExecution.execute(AbstractExecution.java:376)
> at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findTopEntries(LuceneQueryImpl.java:115)
> at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findPages(LuceneQueryImpl.java:95)
> at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findResults(LuceneQueryImpl.java:81)
> at lucene.LuceneTest.executeLuceneQuery(LuceneTest.java:154)
> at parReg.ParRegTest.doEntryOperations(ParRegTest.java:2929)
> at parReg.ParRegTest.doRROpsAndVerify(ParRegTest.java:1709)
> at parReg.ParRegTest.HydraTask_doRROpsAndVerify(ParRegTest.java:958)
> 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 hydra.MethExecutor.execute(MethExecutor.java:182)
> at hydra.MethExecutor.execute(MethExecutor.java:150)
> at hydra.TestTask.execute(TestTask.java:192)
> at hydra.RemoteTestModule$1.run(RemoteTestModule.java:212)
> ```



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message