Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EEAE311838 for ; Thu, 24 Jul 2014 16:22:39 +0000 (UTC) Received: (qmail 30029 invoked by uid 500); 24 Jul 2014 16:22:39 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 29891 invoked by uid 500); 24 Jul 2014 16:22:39 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 29629 invoked by uid 500); 24 Jul 2014 16:22:39 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 29597 invoked by uid 99); 24 Jul 2014 16:22:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2014 16:22:39 +0000 Date: Thu, 24 Jul 2014 16:22:38 +0000 (UTC) From: "Brock Noland (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-7497) HIVE_GLOBAL_INIT_FILE_LOCATION should default to ${system:HIVE_CONF_DIR} 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/HIVE-7497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073344#comment-14073344 ] Brock Noland commented on HIVE-7497: ------------------------------------ Good point Dong Chen! [~navis] what do you think. Shouldn't HIVEHWIWARFILE start with the env prefix? > HIVE_GLOBAL_INIT_FILE_LOCATION should default to ${system:HIVE_CONF_DIR} > ------------------------------------------------------------------------ > > Key: HIVE-7497 > URL: https://issues.apache.org/jira/browse/HIVE-7497 > Project: Hive > Issue Type: Task > Reporter: Brock Noland > Assignee: Dong Chen > Attachments: HIVE-7497.patch > > > HIVE-5160 resolves an env variable at runtime via calling System.getenv(). As long as the variable is not defined when you run the build null is returned and the path is not placed in the hive-default,template. However if it is defined it will populate hive-default.template with a path which will be different based on the user running the build. We should use $\{system:HIVE_CONF_DIR\} instead. -- This message was sent by Atlassian JIRA (v6.2#6252)