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 ACFBA200BF5 for ; Fri, 2 Dec 2016 19:02:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id ABCBC160B24; Fri, 2 Dec 2016 18:02:01 +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 ED004160B27 for ; Fri, 2 Dec 2016 19:02:00 +0100 (CET) Received: (qmail 89745 invoked by uid 500); 2 Dec 2016 18:02:00 -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 89659 invoked by uid 99); 2 Dec 2016 18:02:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2016 18:02:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0DC862C2A6A for ; Fri, 2 Dec 2016 18:02:00 +0000 (UTC) Date: Fri, 2 Dec 2016 18:02:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-5085) Add / update description for dynamic UDFs directories in drill-env.sh and drill-module.conf MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 02 Dec 2016 18:02:01 -0000 [ https://issues.apache.org/jira/browse/DRILL-5085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15715825#comment-15715825 ] ASF GitHub Bot commented on DRILL-5085: --------------------------------------- Github user paul-rogers commented on a diff in the pull request: https://github.com/apache/drill/pull/672#discussion_r90689224 --- Diff: exec/java-exec/src/main/resources/drill-module.conf --- @@ -45,11 +45,13 @@ drill.client: { supports-complex-types: true } -// Directory is used as base for temporary storage of Dynamic UDF jars. -// Set this property if you want to have custom temporary directory, instead of generated at runtime. -// By default ${DRILL_TMP_DIR} is used if set. -// drill.tmp-dir: "/tmp" -// drill.tmp-dir: ${?DRILL_TMP_DIR} +// Location Drill uses for temporary files, such as downloaded dynamic UDFs jars. --- End diff -- Can we leave it that, if blank, it will use the system-generated directory as you have in 1.9? This means we'll still need your getTmpDir method. To do the check for blank. Also, as it turns out, we already have a temp dir setting used elsewhere. Look in drill-override-example.conf under drill.sys.store.provider.local.path. It uses "/tmp/drill". Then it adds subdirs for storage plugins and what-not. Can we use "/tmp/drill/udf" as the base temp storage location for udfs to be consistent? Then we'd add the cluster-id, etc. as in your "cluster-temp-dir" below. And, yes, we have lots of places where we specify the temp file system (UDFs, the one cited above, the (unused) cache.hazel, the temp dirs for spilling, ...). We do need to create a project (later) to rationalize all of this... > Add / update description for dynamic UDFs directories in drill-env.sh and drill-module.conf > ------------------------------------------------------------------------------------------- > > Key: DRILL-5085 > URL: https://issues.apache.org/jira/browse/DRILL-5085 > Project: Apache Drill > Issue Type: Improvement > Affects Versions: 1.9.0 > Reporter: Arina Ielchiieva > Assignee: Paul Rogers > Priority: Minor > Fix For: 1.10.0 > > > 1. Add description for $DRILL_TMP_DIR in drill-env.sh > 2. Update description for dynamic UDFs directories in drill-module.conf -- This message was sent by Atlassian JIRA (v6.3.4#6332)