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 5AADB200BF3 for ; Thu, 22 Dec 2016 02:02:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 59790160B3D; Thu, 22 Dec 2016 01:02:45 +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 D3D83160B26 for ; Thu, 22 Dec 2016 02:02:44 +0100 (CET) Received: (qmail 66966 invoked by uid 500); 22 Dec 2016 01:02:44 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 66924 invoked by uid 99); 22 Dec 2016 01:02:44 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2016 01:02:43 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E41002C1F5A for ; Thu, 22 Dec 2016 01:02:43 +0000 (UTC) Date: Thu, 22 Dec 2016 01:02:43 +0000 (UTC) From: "Chunhui Shi (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-5151) ConventionTraitDef.plannerConversionMap is not thread safe MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 22 Dec 2016 01:02:45 -0000 [ https://issues.apache.org/jira/browse/DRILL-5151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chunhui Shi updated DRILL-5151: ------------------------------- Priority: Major (was: Critical) > ConventionTraitDef.plannerConversionMap is not thread safe > ---------------------------------------------------------- > > Key: DRILL-5151 > URL: https://issues.apache.org/jira/browse/DRILL-5151 > Project: Apache Drill > Issue Type: Bug > Components: Query Planning & Optimization > Reporter: Chunhui Shi > Assignee: Chunhui Shi > > We are using static instance ConventionTraitDef.INSTANCE globally and plannerConversionMap(class WeakHashMap) defined in ConventionTraitDef class is not threadsafe. And the data in the map could corrupt and cause dead loop or other data error. > > private final WeakHashMap > plannerConversionMap = > new WeakHashMap(); -- This message was sent by Atlassian JIRA (v6.3.4#6332)