geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Huynh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GEODE-3736) CI failure: org.apache.geode.cache.query.dunit.CorruptedIndexIntegrationTest > rangeIndexCreationMustPassIfEntriesArePresentInDifferentBucketsAndQueriesMustUseThem fails with ClassCastException
Date Thu, 05 Oct 2017 23:04:00 GMT

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

Jason Huynh resolved GEODE-3736.
--------------------------------
       Resolution: Fixed
         Assignee: Jason Huynh
    Fix Version/s: 1.3.0

This test was showing a problem with geode index size estimation when determining which index
to use.  getSizeEstimate in CompactRangeIndex should not throw a ClassCastException.


> CI failure: org.apache.geode.cache.query.dunit.CorruptedIndexIntegrationTest > rangeIndexCreationMustPassIfEntriesArePresentInDifferentBucketsAndQueriesMustUseThem
fails with ClassCastException
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-3736
>                 URL: https://issues.apache.org/jira/browse/GEODE-3736
>             Project: Geode
>          Issue Type: Bug
>          Components: querying
>            Reporter: Shelley Lynn Hughes-Godfrey
>            Assignee: Jason Huynh
>             Fix For: 1.3.0
>
>
> {noformat}
> org.apache.geode.cache.query.dunit.CorruptedIndexIntegrationTest > rangeIndexCreationMustPassIfEntriesArePresentInDifferentBucketsAndQueriesMustUseThem
FAILED
>     java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
>         at java.lang.String.compareTo(String.java:111)
>         at org.apache.geode.cache.query.internal.types.ExtendedNumericComparator.compare(ExtendedNumericComparator.java:46)
>         at java.util.concurrent.ConcurrentSkipListMap.cpr(ConcurrentSkipListMap.java:655)
>         at java.util.concurrent.ConcurrentSkipListMap.findPredecessor(ConcurrentSkipListMap.java:682)
>         at java.util.concurrent.ConcurrentSkipListMap.doGet(ConcurrentSkipListMap.java:781)
>         at java.util.concurrent.ConcurrentSkipListMap.get(ConcurrentSkipListMap.java:1546)
>         at org.apache.geode.cache.query.internal.index.MemoryIndexStore.size(MemoryIndexStore.java:550)
>         at org.apache.geode.cache.query.internal.index.CompactRangeIndex.getSizeEstimate(CompactRangeIndex.java:299)
>         at org.apache.geode.cache.query.internal.index.AbstractMapIndex.getSizeEstimate(AbstractMapIndex.java:281)
>         at org.apache.geode.cache.query.internal.CompiledComparison.getSizeEstimate(CompiledComparison.java:316)
>         at org.apache.geode.cache.query.internal.AbstractGroupOrRangeJunction.getCondtionsSortedOnIncreasingEstimatedIndexResultSize(AbstractGroupOrRangeJunction.java:226)
>         at org.apache.geode.cache.query.internal.AbstractGroupOrRangeJunction.auxFilterEvaluate(AbstractGroupOrRangeJunction.java:257)
>         at org.apache.geode.cache.query.internal.AbstractGroupOrRangeJunction.filterEvaluate(AbstractGroupOrRangeJunction.java:169)
>         at org.apache.geode.cache.query.internal.CompiledJunction.filterEvaluate(CompiledJunction.java:187)
>         at org.apache.geode.cache.query.internal.CompiledSelect.evaluate(CompiledSelect.java:536)
>         at org.apache.geode.cache.query.internal.CompiledSelect.evaluate(CompiledSelect.java:54)
>         at org.apache.geode.cache.query.internal.DefaultQuery.executeUsingContext(DefaultQuery.java:558)
>         at org.apache.geode.internal.cache.PRQueryProcessor.executeQueryOnBuckets(PRQueryProcessor.java:382)
>         at org.apache.geode.internal.cache.PRQueryProcessor.executeSequentially(PRQueryProcessor.java:347)
>         at org.apache.geode.internal.cache.PRQueryProcessor.executeQuery(PRQueryProcessor.java:138)
>         at org.apache.geode.internal.cache.PartitionedRegionQueryEvaluator.executeQueryOnLocalNode(PartitionedRegionQueryEvaluator.java:909)
>         at org.apache.geode.internal.cache.PartitionedRegionQueryEvaluator.executeQueryOnRemoteAndLocalNodes(PartitionedRegionQueryEvaluator.java:327)
>         at org.apache.geode.internal.cache.PartitionedRegionQueryEvaluator.queryBuckets(PartitionedRegionQueryEvaluator.java:445)
>         at org.apache.geode.internal.cache.PartitionedRegion.doExecuteQuery(PartitionedRegion.java:1888)
>         at org.apache.geode.internal.cache.PartitionedRegion.executeQuery(PartitionedRegion.java:1817)
>         at org.apache.geode.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:361)
>         at org.apache.geode.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:319)
>         at org.apache.geode.cache.query.dunit.CorruptedIndexIntegrationTest.rangeIndexCreationMustPassIfEntriesArePresentInDifferentBucketsAndQueriesMustUseThem(CorruptedIndexIntegrationTest.java:281)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message