You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/05 22:33:12 UTC
[jira] [Commented] (GEODE-3025) CI failure:
org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest.transactionWithLuceneQueriesShouldThrowException
[ https://issues.apache.org/jira/browse/GEODE-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037782#comment-16037782 ]
ASF GitHub Bot commented on GEODE-3025:
---------------------------------------
GitHub user nabarunnag opened a pull request:
https://github.com/apache/geode/pull/562
GEODE-3025: GET operation before Lucene query
* To allow Lucene queries in single hop with transaction enabled mode, the client must get the metadata about the regions.
* A Get operation will asynchronously fetch the metadata and the Lucene query will not throw an exception.
@jhuynh1
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
### For all changes:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?
- [ ] Has your PR been rebased against the latest commit within the target branch (typically `develop`)?
- [ ] Is your initial contribution a single, squashed commit?
- [ ] Does `gradlew build` run cleanly?
- [ ] Have you written or updated unit tests to verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
### Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to dev@geode.apache.org.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nabarunnag/incubator-geode feature/GEODE-3025
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/geode/pull/562.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #562
----
commit bb8e94ffa340a82fe3304959f0b4ddd20edaad85
Author: nabarun <nn...@pivotal.io>
Date: 2017-06-05T21:44:39Z
GEODE-3025: GET operation before Lucene query
* To allow Lucene queries in single hop with transaction enabled mode, the client must get the metadata about the regions.
* A Get operation will asynchronously fetch the metadata and the Lucene query will not throw an exception.
----
> CI failure: org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest.transactionWithLuceneQueriesShouldThrowException
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: GEODE-3025
> URL: https://issues.apache.org/jira/browse/GEODE-3025
> Project: Geode
> Issue Type: Bug
> Components: lucene
> Reporter: Jason Huynh
>
> The issue is that the client can sometimes execute in a transaction if single hop is enabled but not if single hop is disabled.
> org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest > transactionWithLuceneQueriesShouldThrowException(PARTITION_WITH_CLIENT) [0] FAILED
> org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest$$Lambda$57/2004630790.run in VM 3 running on Host priapus.apache.org with 4 VMs
> at org.apache.geode.test.dunit.VM.invoke(VM.java:377)
> at org.apache.geode.test.dunit.VM.invoke(VM.java:347)
> at org.apache.geode.test.dunit.VM.invoke(VM.java:292)
> at org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest.transactionWithLuceneQueriesShouldThrowException(LuceneQueriesClientDUnitTest.java:88)
> Caused by:
> org.apache.geode.cache.lucene.LuceneQueryException: Lucene Query cannot be executed within a transaction
> at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findTopEntries(LuceneQueryImpl.java:124)
> at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findPages(LuceneQueryImpl.java:98)
> at org.apache.geode.cache.lucene.internal.LuceneQueryImpl.findPages(LuceneQueryImpl.java:94)
> at org.apache.geode.cache.lucene.LuceneQueriesClientDUnitTest.lambda$transactionWithLuceneQueriesShouldThrowException$30c11d8e$1(LuceneQueriesClientDUnitTest.java:96)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)