Return-Path: X-Original-To: apmail-geode-issues-archive@minotaur.apache.org Delivered-To: apmail-geode-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0847E189B9 for ; Thu, 7 Apr 2016 02:18:29 +0000 (UTC) Received: (qmail 38115 invoked by uid 500); 7 Apr 2016 02:18:28 -0000 Delivered-To: apmail-geode-issues-archive@geode.apache.org Received: (qmail 38083 invoked by uid 500); 7 Apr 2016 02:18:28 -0000 Mailing-List: contact issues-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list issues@geode.incubator.apache.org Received: (qmail 38074 invoked by uid 99); 7 Apr 2016 02:18:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2016 02:18:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 48836C0D43 for ; Thu, 7 Apr 2016 02:18:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.016 X-Spam-Level: X-Spam-Status: No, score=-5.016 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.996] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id WD4KAD3z6l80 for ; Thu, 7 Apr 2016 02:18:27 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 868FE5F23E for ; Thu, 7 Apr 2016 02:18:26 +0000 (UTC) Received: (qmail 38013 invoked by uid 99); 7 Apr 2016 02:18:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2016 02:18:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 73F7A2C1F58 for ; Thu, 7 Apr 2016 02:18:25 +0000 (UTC) Date: Thu, 7 Apr 2016 02:18:25 +0000 (UTC) From: "Barry Oglesby (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (GEODE-1188) An IllegalStateException is thrown if Lucene indexes are defined on a PARTITION_REDUNDANT region MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Barry Oglesby created GEODE-1188: ------------------------------------ Summary: An IllegalStateException is thrown if Lucene indexes are defined on a PARTITION_REDUNDANT region Key: GEODE-1188 URL: https://issues.apache.org/jira/browse/GEODE-1188 Project: Geode Issue Type: Bug Components: lucene Reporter: Barry Oglesby The following {{IllegalStateException}} is thrown if {{Lucene}} indexes are defined on a {{PARTITION_REDUNDANT}} region: {noformat} [error 2016/04/06 13:03:21.130 PDT
tid=0x1] java.lang.IllegalStateException: Current PartitionedRegion's redundancy should be same as the redundancy of colocated PartitionedRegion Exception in thread "main" java.lang.IllegalStateException: Current PartitionedRegion's redundancy should be same as the redundancy of colocated PartitionedRegion at com.gemstone.gemfire.internal.cache.PartitionAttributesImpl.validateColocation(PartitionAttributesImpl.java:713) at com.gemstone.gemfire.internal.cache.PartitionRegionConfigValidator.validateColocation(PartitionRegionConfigValidator.java:315) at com.gemstone.gemfire.internal.cache.PartitionedRegion.initPRInternals(PartitionedRegion.java:995) at com.gemstone.gemfire.internal.cache.PartitionedRegion.initialize(PartitionedRegion.java:1192) at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.createVMRegion(GemFireCacheImpl.java:3173) at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.basicCreateRegion(GemFireCacheImpl.java:3065) at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.createRegion(GemFireCacheImpl.java:3054) at com.gemstone.gemfire.cache.RegionFactory.create(RegionFactory.java:847) at com.gemstone.gemfire.cache.lucene.internal.LuceneIndexForPartitionedRegion.initialize(LuceneIndexForPartitionedRegion.java:93) at com.gemstone.gemfire.cache.lucene.internal.LuceneServiceImpl.afterDataRegionCreated(LuceneServiceImpl.java:166) at com.gemstone.gemfire.cache.lucene.internal.xml.LuceneIndexCreation.onCreate(LuceneIndexCreation.java:100) at com.gemstone.gemfire.internal.cache.extension.SimpleExtensionPoint.fireCreate(SimpleExtensionPoint.java:81) at com.gemstone.gemfire.internal.cache.xmlcache.RegionCreation.fillIn(RegionCreation.java:180) at com.gemstone.gemfire.internal.cache.xmlcache.RegionCreation.createRoot(RegionCreation.java:272) at com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.initializeRegions(CacheCreation.java:581) at com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.create(CacheCreation.java:554) at com.gemstone.gemfire.internal.cache.xmlcache.CacheXmlParser.create(CacheXmlParser.java:354) at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:4387) at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.initializeDeclarativeCache(GemFireCacheImpl.java:1364) at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.initialize(GemFireCacheImpl.java:1176) at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.basicCreate(GemFireCacheImpl.java:796) at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:784) at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:178) at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:228) at TestBase.initializeServerCache(TestBase.java:22) at TestServer.main(TestServer.java:9) {noformat} {{LuceneIndexForPartitionedRegion.initialize}} needs to add a line like this when the {{fileRegion}} and {{chunkRegion}} regions are being created: {noformat} .setRedundantCopies(partitionAttributes.getRedundantCopies()) {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)