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 CB422200B36 for ; Tue, 21 Jun 2016 20:13:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C9F5C160A4F; Tue, 21 Jun 2016 18:13: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 21676160A63 for ; Tue, 21 Jun 2016 20:13:58 +0200 (CEST) Received: (qmail 29522 invoked by uid 500); 21 Jun 2016 18:13:58 -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 29281 invoked by uid 99); 21 Jun 2016 18:13: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 18:13:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 03F342C1F6C for ; Tue, 21 Jun 2016 18:13:58 +0000 (UTC) Date: Tue, 21 Jun 2016 18:13:58 +0000 (UTC) From: "Paul Rogers (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-4737) Adjust drill-env.sh instructions to reflect config/site directories MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 21 Jun 2016 18:13:59 -0000 [ https://issues.apache.org/jira/browse/DRILL-4737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Rogers updated DRILL-4737: ------------------------------- Issue Type: Improvement (was: Bug) > Adjust drill-env.sh instructions to reflect config/site directories > ------------------------------------------------------------------- > > Key: DRILL-4737 > URL: https://issues.apache.org/jira/browse/DRILL-4737 > Project: Apache Drill > Issue Type: Improvement > Components: Documentation > Affects Versions: 1.8.0 > Reporter: Paul Rogers > Priority: Minor > > See https://drill.apache.org/docs/starting-drill-in-distributed-mode/ > Requires a number of changes to reflect Drill's support of a configuration directory as specified by: > drillbit.sh --config /path/to/config/dir cmd > "The default memory for a Drillbit is 8G, but Drill prefers 16G" The default *direct* memory for Drill is 8G. The default total memory for Drill is 12G. (Included 4G heap.) > "Drillbit startup script located in /conf/drill- > env.sh." The location is $SITE_DIR/drill-env.sh. $SITE_DIR is either: > 1. $DRILL_HOME/conf by default (as stated in the docs), or > 2. Specified by the --config option to drillbit.sh > "edit the XX:MaxDirectMemorySize parameter". Please show how to do this. The correct form (to work with YARN) is: > export DRILL_MAX_DIRECT_MEMORY=${DRILL_MAX_DIRECT_MEMORY:-"8G"} > Where the new value replaces the "8G". (This is different than the pre-1.8 form.) > "If this parameter is not set, the limit depends on the amount of available system memory." This has never turned out to be true as the script always provides a default value. > Another point: Drill assumes all nodes have the same amount of memory. Relying on system memory will not, in general, work as some Drillbits (with less system memory) will die with OOM errors. I suspect this is why a default setting is always provided. > "After you edit /conf/drill-env.sh" change to "After you edit drill-env.sh" to avoid repeating the path. -- This message was sent by Atlassian JIRA (v6.3.4#6332)