HADOOP-9599. hadoop-config.cmd doesn't set JAVA_LIBRARY_PATH correctly. Contributed by Mostafa Elhemali.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1491030 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0b0be8d4dd
commit
74e88105c9
|
@ -754,6 +754,9 @@ Release 2.1.0-beta - UNRELEASED
|
|||
HADOOP-8982. TestSocketIOWithTimeout fails on Windows.
|
||||
(Chris Nauroth via suresh)
|
||||
|
||||
HADOOP-9599. hadoop-config.cmd doesn't set JAVA_LIBRARY_PATH correctly.
|
||||
(Mostafa Elhemali via ivanmi)
|
||||
|
||||
Release 2.0.5-alpha - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -183,13 +183,13 @@ set JAVA_PLATFORM=%JAVA_PLATFORM: =_%
|
|||
|
||||
@rem Check if we're running hadoop directly from the build
|
||||
set JAVA_LIBRARY_PATH=
|
||||
if exist %HADOOP_CORE_HOME%\target\bin (
|
||||
set JAVA_LIBRARY_PATH=%HADOOP_CORE_HOME%\target\bin
|
||||
if exist %HADOOP_COMMON_HOME%\target\bin (
|
||||
set JAVA_LIBRARY_PATH=%HADOOP_COMMON_HOME%\target\bin
|
||||
)
|
||||
|
||||
@rem For the distro case, check the bin folder
|
||||
if exist %HADOOP_CORE_HOME%\bin (
|
||||
set JAVA_LIBRARY_PATH=%JAVA_LIBRARY_PATH%;%HADOOP_CORE_HOME%\bin
|
||||
if exist %HADOOP_COMMON_HOME%\bin (
|
||||
set JAVA_LIBRARY_PATH=%JAVA_LIBRARY_PATH%;%HADOOP_COMMON_HOME%\bin
|
||||
)
|
||||
|
||||
@rem
|
||||
|
|
Loading…
Reference in New Issue