Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3015218AF4 for ; Thu, 8 Oct 2015 22:27:27 +0000 (UTC) Received: (qmail 55112 invoked by uid 500); 8 Oct 2015 22:27:26 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 55064 invoked by uid 500); 8 Oct 2015 22:27:26 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 54888 invoked by uid 99); 8 Oct 2015 22:27:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Oct 2015 22:27:26 +0000 Date: Thu, 8 Oct 2015 22:27:26 +0000 (UTC) From: "Radhey (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-12467) Windows Hadoop wrapper script shouldn't ignore an existing JAVA_LIBRARY_PATH 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/HADOOP-12467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Radhey updated HADOOP-12467: ---------------------------- Description: Currently, on Windows the hadoop wrapper script (hadoop-config.cmd) assumes its the only place that uses JAVA_LIBRARY_PATH and initializes it to a blank line. set JAVA_LIBRARY_PATH= This prevents anyone from setting this outside of the hadoop wrapper (say hadoop-config.cmd) for their own native libraries. The fix is pretty simple. Don't initialize it to '' and append the native libs like normal. was: Currently the hadoop wrapper script assumes its the only place that uses JAVA_LIBRARY_PATH and initializes it to a blank line. JAVA_LIBRARY_PATH='' This prevents anyone from setting this outside of the hadoop wrapper (say hadoop-config.sh) for their own native libraries. The fix is pretty simple. Don't initialize it to '' and append the native libs like normal. > Windows Hadoop wrapper script shouldn't ignore an existing JAVA_LIBRARY_PATH > ---------------------------------------------------------------------------- > > Key: HADOOP-12467 > URL: https://issues.apache.org/jira/browse/HADOOP-12467 > Project: Hadoop Common > Issue Type: Bug > Components: scripts > Affects Versions: 2.6.0 > Reporter: Radhey > Assignee: Radhey > Priority: Minor > Labels: JAVA_LIBRARY_PATH, Windows > > Currently, on Windows the hadoop wrapper script (hadoop-config.cmd) assumes its the only place that uses JAVA_LIBRARY_PATH and initializes it to a blank line. > set JAVA_LIBRARY_PATH= > This prevents anyone from setting this outside of the hadoop wrapper (say hadoop-config.cmd) for their own native libraries. > The fix is pretty simple. Don't initialize it to '' and append the native libs like normal. -- This message was sent by Atlassian JIRA (v6.3.4#6332)