Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0CAD4200D26 for ; Fri, 6 Oct 2017 01:04:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0AD45160BDA; Thu, 5 Oct 2017 23:04:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2B6D51609E2 for ; Fri, 6 Oct 2017 01:04:05 +0200 (CEST) Received: (qmail 10760 invoked by uid 500); 5 Oct 2017 23:04:04 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 10751 invoked by uid 99); 5 Oct 2017 23:04:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2017 23:04:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 77D67180915 for ; Thu, 5 Oct 2017 23:04:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id C5CVpyYWKaEm for ; Thu, 5 Oct 2017 23:04:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 479535FC80 for ; Thu, 5 Oct 2017 23:04:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 74533E04F4 for ; Thu, 5 Oct 2017 23:04:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2A61E2431F for ; Thu, 5 Oct 2017 23:04:00 +0000 (UTC) Date: Thu, 5 Oct 2017 23:04:00 +0000 (UTC) From: "Jason Huynh (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (GEODE-3736) CI failure: org.apache.geode.cache.query.dunit.CorruptedIndexIntegrationTest > rangeIndexCreationMustPassIfEntriesArePresentInDifferentBucketsAndQueriesMustUseThem fails with ClassCastException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 05 Oct 2017 23:04:06 -0000 [ 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)