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 3AA42200B11 for ; Mon, 13 Jun 2016 21:03:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 392E1160A3C; Mon, 13 Jun 2016 19:03:34 +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 87D73160A1A for ; Mon, 13 Jun 2016 21:03:33 +0200 (CEST) Received: (qmail 8862 invoked by uid 500); 13 Jun 2016 19:03:32 -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 8853 invoked by uid 99); 13 Jun 2016 19:03:32 -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; Mon, 13 Jun 2016 19:03:32 +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 5A98EC3BBC for ; Mon, 13 Jun 2016 19:03:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.446 X-Spam-Level: X-Spam-Status: No, score=-5.446 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=-1.426] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id g93Nuuh7EWPA for ; Mon, 13 Jun 2016 19:03:31 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id 309895F253 for ; Mon, 13 Jun 2016 19:03:31 +0000 (UTC) Received: (qmail 8301 invoked by uid 99); 13 Jun 2016 19:03:30 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2016 19:03:30 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5F38C2C1F61 for ; Mon, 13 Jun 2016 19:03:30 +0000 (UTC) Date: Mon, 13 Jun 2016 19:03:30 +0000 (UTC) From: "nabarun (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (GEODE-1543) Not using the the correct log level when exceptions are thrown while creating indexes. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 13 Jun 2016 19:03:34 -0000 nabarun created GEODE-1543: ------------------------------ Summary: Not using the the correct log level when exceptions are thrown while creating indexes. Key: GEODE-1543 URL: https://issues.apache.org/jira/browse/GEODE-1543 Project: Geode Issue Type: Bug Reporter: nabarun When two or more peers join the cluster concurrently, only the first one that joins will distribute the index creation while reading its cache.xml file, the rest will create the index locally due to the distributed message and log an error afterwards, while trying to create the index from its own cache.xml file. This error message is currently being registered under "ERROR" log level, and it should be registered under "WARNING", or even not be registered at all since this "exception" is expected during startup (we could easily cache the indexes created locally by other distributed members) {noformat} [fine 2016/05/12 09:37:01.744 BST host1-server2 tid=0x44] Index creation message got the pr Partitioned Region @57fd91c9 [path='/ClientSessionRegionPosSrv'; dataPolicy=PARTITION; gatewayEnabled=false; prId=1; isDestroyed=false; isClosed=false; retryTimeout=3600000; serialNumber=7; partition attributes=PartitionAttributes@1828508781[redundantCopies=1;localMaxMemory=5;totalMaxMemory=2147483647;totalNumBuckets=47;partitionResolver=null;colocatedWith=null;recoveryDelay=300000;startupRecoveryDelay=60000;FixedPartitionAttributes=null;partitionListeners=null]; on VM 10.69.252.112(host1-server2:21655):34609] [fine 2016/05/12 09:37:01.744 BST host1-server2
tid=0x1] LocalRegion.createOQLIndexes on region /ClientSessionRegionPosSrv [fine 2016/05/12 09:37:01.744 BST host1-server2 tid=0x44] Processing index creation message on this remote partitioned region vm for indexes: ClientSessionRegionPosSrv.byUser [fine 2016/05/12 09:37:01.744 BST host1-server2 tid=0x44] Started creating index with Index Name :ClientSessionRegionPosSrv.byUser On PartitionedRegion /ClientSessionRegionPosSrv, Indexfrom caluse=/ClientSessionRegionPosSrv, Remote Request: true [fine 2016/05/12 09:37:01.744 BST host1-server2
tid=0x1] QueryService Index creation process for {}ClientSessionRegionPosSrv.byUser [fine 2016/05/12 09:37:01.750 BST host1-server2 tid=0x44] Completed creating index with Index Name :ClientSessionRegionPosSrv.byUser On PartitionedRegion /ClientSessionRegionPosSrv, Remote Request: true [fine 2016/05/12 09:37:01.751 BST host1-server2 tid=0x44] Multi Index creation completed on remote host and has sent the reply to the originating vm. [fine 2016/05/12 09:37:01.769 BST host1-server2
tid=0x1] Started creating index with Index Name :ClientSessionRegionPosSrv.byUser On PartitionedRegion /ClientSessionRegionPosSrv, Indexfrom caluse=/ClientSessionRegionPosSrv, Remote Request: false [error 2016/05/12 09:37:01.770 BST host1-server2
tid=0x1] Failed to create index ClientSessionRegionPosSrv.byUser on region /ClientSessionRegionPosSrv with exception: com.gemstone.gemfire.cache.query.IndexNameConflictException: Index named ' ClientSessionRegionPosSrv.byUser ' already exists. {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)