Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-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 F374617FF9 for ; Sat, 31 Jan 2015 00:16:33 +0000 (UTC) Received: (qmail 3956 invoked by uid 500); 31 Jan 2015 00:16:34 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 3919 invoked by uid 500); 31 Jan 2015 00:16:34 -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 3903 invoked by uid 99); 31 Jan 2015 00:16:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Jan 2015 00:16:34 +0000 Date: Sat, 31 Jan 2015 00:16:34 +0000 (UTC) From: "Hanifi Gunes (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2126) Make JDBC connection honor a configuration option for disabling embedded web server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hanifi Gunes updated DRILL-2126: -------------------------------- Attachment: DRILL-2126.1.patch.txt > Make JDBC connection honor a configuration option for disabling embedded web server > ----------------------------------------------------------------------------------- > > Key: DRILL-2126 > URL: https://issues.apache.org/jira/browse/DRILL-2126 > Project: Apache Drill > Issue Type: Improvement > Components: Client - JDBC > Affects Versions: 0.7.0 > Reporter: Hanifi Gunes > Assignee: Hanifi Gunes > Priority: Minor > Attachments: DRILL-2126.1.patch.txt > > > Current implementation of Drill's jdbc connection does not honor nor handle parameters passed from jdbc connection string(except the local mode flag). The proposal is to make the implementation recognize a bag of configuration options passed by user(specifically the one for disabling the embedded web server). > A typical use case for this feature would be in unit tests. Some jdbc unit tests instantiates an individual DrillBit per test case in local mode that in turn starts an embedded web server. This prevents us from parallelizing the tests due to the fact that port assigned for the web server is currently in use by the former bit. This also impairs the test runtime as starting the web server takes from 1-2 seconds/test case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)