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 B0617200B53 for ; Tue, 21 Jun 2016 21:03:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AF296160A4F; Tue, 21 Jun 2016 19:03:59 +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 2C07D160A60 for ; Tue, 21 Jun 2016 21:03:59 +0200 (CEST) Received: (qmail 10082 invoked by uid 500); 21 Jun 2016 19:03:58 -0000 Mailing-List: contact dev-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 dev@drill.apache.org Received: (qmail 10036 invoked by uid 99); 21 Jun 2016 19:03:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2016 19:03:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DCE0C2C1F61 for ; Tue, 21 Jun 2016 19:03:57 +0000 (UTC) Date: Tue, 21 Jun 2016 19:03:57 +0000 (UTC) From: "Paul Rogers (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-4741) sqlline scripts should differentiate embedded vs remote config MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 21 Jun 2016 19:03:59 -0000 Paul Rogers created DRILL-4741: ---------------------------------- Summary: sqlline scripts should differentiate embedded vs remo= te config Key: DRILL-4741 URL: https://issues.apache.org/jira/browse/DRILL-4741 Project: Apache Drill Issue Type: Improvement Affects Versions: 1.8.0 Reporter: Paul Rogers Priority: Minor $DRILL_HOME/bin contains four sqlline-related scripts: sqlline -- main script for running sqlline drill-conf =E2=80=94 Wrapper for sqlline, uses drill config to find Drill. = Seems this one needs fixing to use a config other than the hard-coded $DRIL= L_HOME/conf location. drill-embedded =E2=80=94 Starts a drill =E2=80=9Cembedded=E2=80=9D in SqlLi= ne, using a local ZK. drill-localhost =E2=80=94 Wrapper for sqlline, uses a local ZK. The last three turn around and call sqlline. Behind the scenes, the script call drill-config.sh and drill-env.sh to do s= etup. Note, however that we run Sqlline and Drill in three distinct configuration= s: sqlline as client: should run with light memory drillbit as daemon: should run with full memory use sqline with embedded drillbit: sqlline needs to run with Drillbit memory op= tions. Today, sqlline always uses the Drillbit memory options (and VM options) whi= ch results in too much memory and port conflicts when running client-only. Provide sqlline specific VM and memory options. Then, the tricky bit, use t= hem only when Drill is not embedded. -- This message was sent by Atlassian JIRA (v6.3.4#6332)