YARN-1025. ResourceManager and NodeManager do not load native libraries on Windows. Contributed by Chris Nauroth.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1521670 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
220b21732b
commit
b5c6ff164a
|
@ -182,6 +182,9 @@ Release 2.1.1-beta - UNRELEASED
|
||||||
data structures thread safe to avoid RM crashing with
|
data structures thread safe to avoid RM crashing with
|
||||||
ArrayIndexOutOfBoundsException. (Zhijie Shen via vinodkv)
|
ArrayIndexOutOfBoundsException. (Zhijie Shen via vinodkv)
|
||||||
|
|
||||||
|
YARN-1025. ResourceManager and NodeManager do not load native libraries on
|
||||||
|
Windows. (cnauroth)
|
||||||
|
|
||||||
Release 2.1.0-beta - 2013-08-22
|
Release 2.1.0-beta - 2013-08-22
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -135,6 +135,10 @@ if "%1" == "--config" (
|
||||||
|
|
||||||
call :%yarn-command% %yarn-command-arguments%
|
call :%yarn-command% %yarn-command-arguments%
|
||||||
|
|
||||||
|
if defined JAVA_LIBRARY_PATH (
|
||||||
|
set YARN_OPTS=%YARN_OPTS% -Djava.library.path=%JAVA_LIBRARY_PATH%
|
||||||
|
)
|
||||||
|
|
||||||
set java_arguments=%JAVA_HEAP_MAX% %YARN_OPTS% -classpath %CLASSPATH% %CLASS% %yarn-command-arguments%
|
set java_arguments=%JAVA_HEAP_MAX% %YARN_OPTS% -classpath %CLASSPATH% %CLASS% %yarn-command-arguments%
|
||||||
call %JAVA% %java_arguments%
|
call %JAVA% %java_arguments%
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue