You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/10/09 23:59:05 UTC

[jira] [Commented] (HADOOP-12467) Windows Hadoop wrapper script shouldn't ignore an existing JAVA_LIBRARY_PATH

    [ https://issues.apache.org/jira/browse/HADOOP-12467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951274#comment-14951274 ] 

Hadoop QA commented on HADOOP-12467:
------------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |   0m  0s | Pre-patch trunk compilation is healthy. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any @author tags. |
| {color:red}-1{color} | release audit |   0m 13s | The applied patch generated 1 release audit warnings. |
| {color:green}+1{color} | whitespace |   0m  0s | The patch has no lines that end in whitespace. |
| | |   0m 18s | |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12765894/HADOOP-12467-v2.patch |
| Optional Tests |  |
| git revision | trunk / 4f6e842 |
| Release Audit | https://builds.apache.org/job/PreCommit-HADOOP-Build/7787/artifact/patchprocess/patchReleaseAuditProblems.txt |
| Java | 1.7.0_55 |
| uname | Linux asf903.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | https://builds.apache.org/job/PreCommit-HADOOP-Build/7787/console |


This message was automatically generated.

> 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
>         Attachments: HADOOP-12467-v2.patch
>
>
> 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 is the same fix that was done for *nix as part of HADOOP-6453.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)