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 4BC4B200C68 for ; Wed, 3 May 2017 11:44:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4A69C160BB5; Wed, 3 May 2017 09:44:09 +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 8FDD8160BAA for ; Wed, 3 May 2017 11:44:08 +0200 (CEST) Received: (qmail 87064 invoked by uid 500); 3 May 2017 09:44:07 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 87053 invoked by uid 99); 3 May 2017 09:44:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2017 09:44:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 431121A7A07 for ; Wed, 3 May 2017 09:44:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ZIzcgAlG6wex for ; Wed, 3 May 2017 09:44:06 +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 BA3E95F665 for ; Wed, 3 May 2017 09:44:05 +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 F11D2E01A8 for ; Wed, 3 May 2017 09:44:04 +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 3F77921DE9 for ; Wed, 3 May 2017 09:44:04 +0000 (UTC) Date: Wed, 3 May 2017 09:44:04 +0000 (UTC) From: "Ming LI (JIRA)" To: dev@hawq.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HAWQ-1453) relation_close() report error at analyzeStmt(): is not owned by resource owner TopTransaction (resowner.c:814) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 03 May 2017 09:44:09 -0000 Ming LI created HAWQ-1453: ----------------------------- Summary: relation_close() report error at analyzeStmt(): is not owned by resource owner TopTransaction (resowner.c:814) Key: HAWQ-1453 URL: https://issues.apache.org/jira/browse/HAWQ-1453 Project: Apache HAWQ Issue Type: Bug Components: Core Reporter: Ming LI Assignee: Ed Espino Fix For: backlog I created a simple MapReduce map-only program (to simulate a Spark executor, like in the customer's environment) that uses JDBC through Postgresql Driver (like the customer is doing) and I executed the queries the customer is trying to execute. I can reproduce all the errors reported by customer. 2017-04-28 03:50:38.299276 IST,"gpadmin","gpadmin",p91745,th-609535712,"10.193.102.144","3228",2017-04-28 03:50:35 IST,156637,con4578,cmd36,seg-1,,,x156637,sx1,"ERROR","XX000","relcache reference e_event_1_0_102_1_prt_2 is not owned by resource owner TopTransaction (resowner.c:814)",,,,,,"ANALYZE mis_data_ig_account_details.e_event_1_0_102",0,,"resowner.c",814,"Stack trace: 1 0x8ce4a8 postgres errstart + 0x288 2 0x8d022b postgres elog_finish + 0xab 3 0x4ca654 postgres relation_close + 0x14 4 0x5e7508 postgres analyzeStmt + 0xd58 5 0x5e8b07 postgres analyzeStatement + 0x97 6 0x65c3bc postgres vacuum + 0x6c 7 0x7f61e2 postgres ProcessUtility + 0x542 8 0x7f1cae postgres + 0x7f1cae 9 0x7f348e postgres + 0x7f348e 10 0x7f51f5 postgres PortalRun + 0x465 11 0x7ee268 postgres PostgresMain + 0x1908 12 0x7a0560 postgres + 0x7a0560 13 0x7a3329 postgres PostmasterMain + 0x759 14 0x4a5319 postgres main + 0x519 15 0x3a1661ed1d libc.so.6 __libc_start_main + 0xfd 16 0x4a5399 postgres + 0x4a5399 " -- This message was sent by Atlassian JIRA (v6.3.15#6346)