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 1EF28200B9D for ; Wed, 28 Sep 2016 20:14:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1BF79160AB8; Wed, 28 Sep 2016 18:14:22 +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 91A41160AD3 for ; Wed, 28 Sep 2016 20:14:21 +0200 (CEST) Received: (qmail 37838 invoked by uid 500); 28 Sep 2016 18:14:20 -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 37793 invoked by uid 99); 28 Sep 2016 18:14:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2016 18:14:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8F5202C044E for ; Wed, 28 Sep 2016 18:14:20 +0000 (UTC) Date: Wed, 28 Sep 2016 18:14:20 +0000 (UTC) From: "Jinfeng Ni (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (DRILL-4911) SimpleParallelizer should avoid plan serialization for logging purpose when debug logging is not enabled. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 28 Sep 2016 18:14:22 -0000 [ https://issues.apache.org/jira/browse/DRILL-4911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jinfeng Ni reassigned DRILL-4911: --------------------------------- Assignee: Jinfeng Ni > SimpleParallelizer should avoid plan serialization for logging purpose when debug logging is not enabled. > --------------------------------------------------------------------------------------------------------- > > Key: DRILL-4911 > URL: https://issues.apache.org/jira/browse/DRILL-4911 > Project: Apache Drill > Issue Type: Bug > Components: Query Planning & Optimization > Reporter: Jinfeng Ni > Assignee: Jinfeng Ni > Priority: Minor > > SimpleParallelizer and subclass have code to put serialized plan in debug log. However, in case when the physical plan fragment is very large (table is huge with large # of partitions, files, etc), the overhead of serialization is not negligible. The code seems to always do serialization, regardless whether the debug flag is turned on. > To reduce the overhead, SimpleParallelizer and subclass should only do plan serialization for logging purpose when debug logging is turned on. -- This message was sent by Atlassian JIRA (v6.3.4#6332)