From issues-return-50010-archive-asf-public=cust-asf.ponee.io@drill.apache.org Sat Feb 24 18:08:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 21FF3180656 for ; Sat, 24 Feb 2018 18:08:04 +0100 (CET) Received: (qmail 76940 invoked by uid 500); 24 Feb 2018 17:08:04 -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 76930 invoked by uid 99); 24 Feb 2018 17:08:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Feb 2018 17:08:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id AAF45C1485 for ; Sat, 24 Feb 2018 17:08:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id jd6NPjV7UaEg for ; Sat, 24 Feb 2018 17:08:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 2A5BF5F36B for ; Sat, 24 Feb 2018 17:08:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 50BB3E00D3 for ; Sat, 24 Feb 2018 17:08:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 100C6218FA for ; Sat, 24 Feb 2018 17:08:00 +0000 (UTC) Date: Sat, 24 Feb 2018 17:08:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-6068) Drill should support user/distribution specific configuration checks during startup 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-6068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16375676#comment-16375676 ] ASF GitHub Bot commented on DRILL-6068: --------------------------------------- Github user amansinha100 commented on the issue: https://github.com/apache/drill/pull/1081 @kkhatua since this was combined with #1082 which is merged, you can close this PR. > Drill should support user/distribution specific configuration checks during startup > ----------------------------------------------------------------------------------- > > Key: DRILL-6068 > URL: https://issues.apache.org/jira/browse/DRILL-6068 > Project: Apache Drill > Issue Type: New Feature > Affects Versions: 1.12.0 > Reporter: Kunal Khatua > Assignee: Kunal Khatua > Priority: Major > Labels: newbie, ready-to-commit > Fix For: 1.13.0 > > > This is an evolution of the problem stated in DRILL-5741. > Currently, Drill does not leverage any information about the host machine during start up and makes assumptions about the available resources (like memory). > Further more, it is, often, up to the user to define the individual parameters of memory for Drill: Heap, Direct and CodeCache. > The idea is to introduce a distribution and user specific configuration checking scripts (distrib-auto.sh and drill-auto.sh) which follow the same precedence as on the lines of distrib-env.sh and drill-env.sh. > A check for the existence of the `distrib-auto.sh` / `drill-auto.sh` scripts will be performed and executed only if there is any executable lines of code. Otherwise, the expected behaviour is that the startup functionality Drill will continue as previous versions. > In combination with the requirement described for DRILL-5741; it would be nice if a starting up Drillbit could be told upfront on the amount of memory it can assume to access and automatically perform the allocations for the individual parameters, while providing the ability for users to override (some or all of) those settings. -- This message was sent by Atlassian JIRA (v7.6.3#76005)